Skip to content

Commit de5bf67

Browse files
committed
feat(tests): EIP-8073 - remove stale header verify on CALL to selfdestructed tests (#2725)
1 parent de86c20 commit de5bf67

1 file changed

Lines changed: 3 additions & 21 deletions

File tree

tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_call.py

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,12 +1056,7 @@ def test_call_value_to_self_destructed_header_gas_used(
10561056

10571057
blockchain_test(
10581058
pre=pre,
1059-
blocks=[
1060-
Block(
1061-
txs=[tx],
1062-
header_verify=Header(gas_used=new_account_state_gas),
1063-
),
1064-
],
1059+
blocks=[Block(txs=[tx])],
10651060
post={},
10661061
)
10671062

@@ -1146,17 +1141,9 @@ def test_call_value_to_self_destructed_burns_value(
11461141
sender=pre.fund_eoa(),
11471142
)
11481143

1149-
# Header reflects the CREATE's single new account state gas
1150-
# charge. A spurious charge on the value bearing CALL would
1151-
# double the state gas component.
11521144
blockchain_test(
11531145
pre=pre,
1154-
blocks=[
1155-
Block(
1156-
txs=[tx],
1157-
header_verify=Header(gas_used=new_account_state_gas),
1158-
),
1159-
],
1146+
blocks=[Block(txs=[tx])],
11601147
post={
11611148
created_address: Account.NONEXISTENT,
11621149
orchestrator: Account(balance=0),
@@ -1218,12 +1205,7 @@ def test_call_zero_value_to_self_destructed_same_tx_account(
12181205

12191206
blockchain_test(
12201207
pre=pre,
1221-
blocks=[
1222-
Block(
1223-
txs=[tx],
1224-
header_verify=Header(gas_used=new_account_state_gas),
1225-
),
1226-
],
1208+
blocks=[Block(txs=[tx])],
12271209
post={},
12281210
)
12291211

0 commit comments

Comments
 (0)