Skip to content

Commit

Permalink
Merge branch 'topic/hardfork-v4' into feature/composable-transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
kroggen committed Jan 30, 2024
2 parents 51d81fc + 60c5f75 commit 345092f
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions tests/test-contract-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ ret=$(cat receipt.json | jq .ret | sed 's/"//g')
gasUsed=$(cat receipt.json | jq .gasUsed | sed 's/"//g')

assert_equals "$status" "SUCCESS"
#assert_equals "$ret" "{}"
#assert_equals "$ret" ""
#assert_equals "$gasUsed" "117861"


Expand All @@ -74,7 +74,7 @@ ret=$(cat receipt.json | jq .ret | sed 's/"//g')
gasUsed=$(cat receipt.json | jq .gasUsed | sed 's/"//g')

assert_equals "$status" "SUCCESS"
#assert_equals "$ret" "{}"
#assert_equals "$ret" ""
#assert_equals "$gasUsed" "117861"


Expand All @@ -91,7 +91,7 @@ ret=$(cat receipt.json | jq .ret | sed 's/"//g')
gasUsed=$(cat receipt.json | jq .gasUsed | sed 's/"//g')

assert_equals "$status" "SUCCESS"
#assert_equals "$ret" "{}"
#assert_equals "$ret" ""
#assert_equals "$gasUsed" "117861"


Expand All @@ -108,7 +108,7 @@ ret=$(cat receipt.json | jq .ret | sed 's/"//g')
gasUsed=$(cat receipt.json | jq .gasUsed | sed 's/"//g')

assert_equals "$status" "SUCCESS"
#assert_equals "$ret" "{}"
#assert_equals "$ret" ""
#assert_equals "$gasUsed" "117861"


Expand All @@ -125,5 +125,5 @@ ret=$(cat receipt.json | jq .ret | sed 's/"//g')
gasUsed=$(cat receipt.json | jq .gasUsed | sed 's/"//g')

assert_equals "$status" "SUCCESS"
#assert_equals "$ret" "{}"
#assert_equals "$ret" ""
#assert_equals "$gasUsed" "117861"
2 changes: 1 addition & 1 deletion tests/test-gas-bf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ret=$(cat receipt.json | jq .ret | sed 's/"//g')
gasUsed=$(cat receipt.json | jq .gasUsed | sed 's/"//g')

assert_equals "$status" "SUCCESS"
#assert_equals "$ret" "{}"
#assert_equals "$ret" ""

if [ "$fork_version" -eq "4" ]; then
assert_equals "$gasUsed" "57105265"
Expand Down
2 changes: 1 addition & 1 deletion tests/test-gas-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ret=$(cat receipt.json | jq .ret | sed 's/"//g')
gasUsed=$(cat receipt.json | jq .gasUsed | sed 's/"//g')

assert_equals "$status" "SUCCESS"
#assert_equals "$ret" "{}"
#assert_equals "$ret" ""

if [ "$fork_version" -eq "4" ]; then
assert_equals "$gasUsed" "118350"
Expand Down
2 changes: 1 addition & 1 deletion tests/test-gas-op.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ret=$(cat receipt.json | jq .ret | sed 's/"//g')
gasUsed=$(cat receipt.json | jq .gasUsed | sed 's/"//g')

assert_equals "$status" "SUCCESS"
#assert_equals "$ret" "{}"
#assert_equals "$ret" ""

if [ "$fork_version" -eq "4" ]; then
assert_equals "$gasUsed" "130048"
Expand Down
2 changes: 1 addition & 1 deletion tests/test-gas-per-function-v4.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ status=$(cat receipt.json | jq .status | sed 's/"//g')
ret=$(cat receipt.json | jq .ret | sed 's/"//g')

assert_equals "$status" "SUCCESS"
assert_equals "$ret" "{}"
assert_equals "$ret" ""


echo "-- get account's nonce --"
Expand Down
4 changes: 2 additions & 2 deletions tests/test-gas-verify-proof.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ret=$(cat receipt.json | jq .ret | sed 's/"//g')
gasUsed=$(cat receipt.json | jq .gasUsed | sed 's/"//g')

assert_equals "$status" "SUCCESS"
#assert_equals "$ret" "{}"
#assert_equals "$ret" ""

if [ "$fork_version" -eq "4" ]; then
assert_equals "$gasUsed" "160281"
Expand All @@ -51,7 +51,7 @@ ret=$(cat receipt.json | jq .ret | sed 's/"//g')
gasUsed=$(cat receipt.json | jq .gasUsed | sed 's/"//g')

assert_equals "$status" "SUCCESS"
#assert_equals "$ret" "{}"
#assert_equals "$ret" ""

if [ "$fork_version" -eq "4" ]; then
assert_equals "$gasUsed" "108404"
Expand Down

0 comments on commit 345092f

Please sign in to comment.