File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
osaka/eip7825_transaction_gas_limit_cap Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2828REFERENCE_SPEC_GIT_PATH = "EIPS/eip-7825.md"
2929REFERENCE_SPEC_VERSION = "47cbfed315988c0bd4d10002c110ae402504cd94"
3030
31- TX_GAS_LIMIT = 30_000_000
31+ TX_GAS_LIMIT = 2 ** 24 # 16,777,216
3232BLOB_COMMITMENT_VERSION_KZG = 1
3333
3434
@@ -125,8 +125,8 @@ def test_transaction_gas_limit_cap_at_transition(
125125 """
126126 Test transaction gas limit cap behavior at the Osaka transition.
127127
128- Before timestamp 15000: No gas limit cap (transactions with gas > 30M are valid)
129- At/after timestamp 15000: Gas limit cap of 30M is enforced
128+ Before timestamp 15000: No gas limit cap (transactions with gas > 2^24 are valid)
129+ At/after timestamp 15000: Gas limit cap of 2^24 is enforced
130130 """
131131 sender = pre .fund_eoa ()
132132 contract_address = pre .deploy_contract (
@@ -137,7 +137,7 @@ def test_transaction_gas_limit_cap_at_transition(
137137 if pre_cap is None :
138138 pre_cap = TX_GAS_LIMIT
139139
140- # Transaction with gas limit above 30M
140+ # Transaction with gas limit above the cap before transition
141141 high_gas_tx = Transaction (
142142 ty = 0 , # Legacy transaction
143143 to = contract_address ,
You can’t perform that action at this time.
0 commit comments