Skip to content

fix(static_tests): adjusted gasLimit to only allow gasLimit of up to 30mil as enforced in eip-7825 #1587

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ transStorageOK:
- :label static_call :abi staticCall()

gasLimit:
- 80000000
- 30000000
gasPrice: 10
nonce: 1
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ transStorageReset:


gasLimit:
- 80000000
- 30000000
gasPrice: 10
nonce: 1
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ add:
- :label add_0_0 :abi f(uint) 3
- :label add_1_neg1 :abi f(uint) 4
gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ addmod:
- :label addmod_1_0_0 :abi f(uint) 0x0e
- :label addmod_0_0_0_min_1 :abi f(uint) 0x0f
gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ arith:
data:
- :raw 0x00
gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ divByZero:


gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ div:
- :label div_2_0 :abi f(uint) 6
- :label div_0_add :abi f(uint) 7
gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ exp:
- :label exp_2_big :abi f(uint) 9
- :label exp_2_15 :abi f(uint) 0x0a
gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ expPower256:
data:
- :abi f(uint) 0
gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ expPower256Of256:
data:
- :abi f(uint) 0
gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ expPower2:
data:
- :abi f(uint) 0
gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ fib:
data:
- :raw 0x01
gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ mod:
- :label mod_neg2_3 :abi f(uint) 4
- :label mod_16_0 :abi f(uint) 5
gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ mul:
- :label big_pow_3 :abi f(uint) 7
- :label stack_underflow :abi f(uint) 8
gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ mulmod:
- :label one_minus_mm_0_0_0 :abi f(uint) 0x0e
- :label mm_5_1_0 :abi f(uint) 0x0d
gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ not:
data:
- :abi f(uint) 0
gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ sdiv:


gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ signextend:
- :label byte31_neg :abi f(uint) 0x0E

gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ smod:
- :label smod_neg2_3 :abi f(uint) 4
- :label smod_16_0 :abi f(uint) 5
gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ sub:
- :label sub_0_neg1 :abi f(uint) 3
- :label sub_neg1_0 :abi f(uint) 4
gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1189,7 +1189,7 @@ twoOps:
data:
- :raw 0x00
gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ and:
- :label and_allones_bignum :abi f(uint) 3
- :label and_allones_eefee :abi f(uint) 4
gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ byte:
# A test for all possible byte positions
- :label byte_all :abi f(uint) 0x200
gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ eq:
- :label eq_0_0 :abi f(uint) 1
- :label eq_neg1_neg1 :abi f(uint) 2
gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ gt:
- :label gt_neg1_0 :abi f(uint) 2
- :label gt_0_neg1 :abi f(uint) 3
gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ iszero:
- :label iszero_0 :abi f(uint) 1
- :label iszero_neg2 :abi f(uint) 2
gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ lt:
- :label lt_neg1_0 :abi f(uint) 2
- :label lt_0_neg1 :abi f(uint) 3
gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ not:
- :label not_neg_2_pow_256 :abi f(uint) 4
- :label not_neg0 :abi f(uint) 5
gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ or:
- :label or_allones_1110s :abi f(uint) 4
- :label or_allones_eefee :abi f(uint) 5
gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ sgt:
- :label sgt_neg1_0 :abi f(uint) 2
- :label sgt_0_neg1 :abi f(uint) 3
gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ slt:
- :label slt_neg1_0 :abi f(uint) 2
- :label slt_0_neg1 :abi f(uint) 3
gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ xor:
- :label xor_allones_1110s :abi f(uint) 4
- :label xor_allones_eefee :abi f(uint) 5
gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ codecopy:


gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ gas:
- :label gas1 :abi f(uint) 0
- :label gas2 :abi f(uint) 1
gasLimit:
- '80000000'
- '1000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand All @@ -93,7 +93,7 @@ gas:
result:
cccccccccccccccccccccccccccccccccccccccc:
storage:
0x00: 0x04b1457b
0x00: 960898



Expand All @@ -107,4 +107,4 @@ gas:
result:
cccccccccccccccccccccccccccccccccccccccc:
storage:
0x00: 0x04b1458d
0x00: 960916
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ jump:


gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1834,7 +1834,7 @@ jumpToPush:
- :label jump-fail :abi f(uint) 0x20C

gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ jumpi:


gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ loop_stacklimit:
- :label loop_1021 :abi f(uint) 0
- :label loop_1020 :abi f(uint) 1
gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ loopsConditionals:
- :label for_loop1 :abi f(uint) 9
- :label for_loop2 :abi f(uint) 10
gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ mload:
- :label mloadOOG :abi f(uint) 1
- :label mloadOOG :abi f(uint) 2
gasLimit:
- '80000000'
- '30000000'
gasPrice: '10'
nonce: '0'
to: cccccccccccccccccccccccccccccccccccccccc
Expand Down
Loading
Loading