Skip to content

Commit

Permalink
Update cmp script
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianGCalderon committed Jan 31, 2025
1 parent 5b77f74 commit 1b278a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/cmp_state_dumps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ for vm_dump in state_dumps/vm/*/*.json; do
block=${block_name//block/}

if ! cmp -s \
<(sed '/"reverted": /d' "$native_dump") \
<(sed '/"reverted": /d' "$vm_dump")
<(sed '/"revert_error": /d' "$native_dump") \
<(sed '/"revert_error": /d' "$vm_dump")
then
echo "Diff at block $block, tx $tx"
diffing=$((diffing+1))
Expand Down

0 comments on commit 1b278a4

Please sign in to comment.