Skip to content

Commit b9a867b

Browse files
committed
chore(tests): 8037 rebase test fixes
1 parent 49159a8 commit b9a867b

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

tests/constantinople/eip1052_extcodehash/test_extcodehash.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1617,7 +1617,7 @@ def extcode_checks(target: Address | Bytecode) -> Bytecode:
16171617
tx = Transaction(
16181618
sender=pre.fund_eoa(),
16191619
to=code_address,
1620-
gas_limit=500_000,
1620+
gas_limit=1_000_000,
16211621
)
16221622

16231623
# Pre-Cancun, CALLCODE/DELEGATECALL executes SELFDESTRUCT in A's

tests/osaka/eip7825_transaction_gas_limit_cap/test_tx_gas_limit.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
from typing import Callable, List
1313

1414
import pytest
15+
from execution_testing.forks import Osaka
1516
from execution_testing import (
1617
AccessList,
1718
Account,
@@ -391,7 +392,9 @@ def test_tx_gas_limit_cap_full_calldata(
391392
data=byte_data * num_of_bytes,
392393
gas_limit=tx_gas_limit,
393394
sender=pre.fund_eoa(),
394-
error=TransactionException.GAS_LIMIT_EXCEEDS_MAXIMUM
395+
error=TransactionException.INTRINSIC_GAS_BELOW_FLOOR_GAS_COST
396+
if exceed_tx_gas_limit and fork > Osaka
397+
else TransactionException.GAS_LIMIT_EXCEEDS_MAXIMUM
395398
if correct_intrinsic_cost_in_transaction_gas_limit
396399
and exceed_tx_gas_limit
397400
else TransactionException.INTRINSIC_GAS_BELOW_FLOOR_GAS_COST

0 commit comments

Comments
 (0)