Skip to content

Commit 00dc3c1

Browse files
authored
Merge pull request #26 from spencer-tb/main
Update Shanghai tests to use solely fork name instead of EIP numbers.
2 parents 5d350d8 + 4104046 commit 00dc3c1

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

fillers/eips/eip3651.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from ethereum_test_tools.vm.opcode import Opcodes as Op
2222

2323

24-
@test_from(fork="merged")
24+
@test_from(fork="shanghai")
2525
def test_warm_coinbase_call_out_of_gas(fork):
2626
"""
2727
Test warm coinbase.
@@ -155,7 +155,7 @@ def test_warm_coinbase_call_out_of_gas(fork):
155155
yield StateTest(env=env, pre=pre, post=post, txs=[tx])
156156

157157

158-
@test_from(fork="merged")
158+
@test_from(fork="shanghai")
159159
def test_warm_coinbase_gas_usage(fork):
160160
"""
161161
Test gas usage of different opcodes assuming warm coinbase.

fillers/eips/eip3855.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from ethereum_test_tools.vm.opcode import Opcodes as Op
1919

2020

21-
@test_from(fork="shanghai", eips=[3855])
21+
@test_from(fork="shanghai")
2222
def test_push0(fork):
2323
"""
2424
Test push0 opcode.

fillers/eips/eip3860.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def generate_tx_initcode_limit_test_cases(
229229
)
230230

231231

232-
@test_from(fork="shanghai", eips=[3860])
232+
@test_from(fork="shanghai")
233233
def test_initcode_limit_contract_creating_tx(fork):
234234
"""
235235
Test creating a contract using a transaction using an initcode that is
@@ -392,7 +392,7 @@ def generate_gas_cost_test_cases(
392392
)
393393

394394

395-
@test_from(fork="shanghai", eips=[3860])
395+
@test_from(fork="shanghai")
396396
def test_initcode_limit_contract_creating_tx_gas_usage(fork):
397397
"""
398398
Test EIP-3860 Limit Initcode Gas Usage for a contract
@@ -570,7 +570,7 @@ def generate_create_opcode_initcode_test_cases(
570570
)
571571

572572

573-
@test_from(fork="shanghai", eips=[3860])
573+
@test_from(fork="shanghai")
574574
def test_initcode_limit_create_opcode(fork):
575575
"""
576576
Test creating a contract using the CREATE opcode with an initcode that is
@@ -637,7 +637,7 @@ def test_initcode_limit_create_opcode(fork):
637637
)
638638

639639

640-
@test_from(fork="shanghai", eips=[3860])
640+
@test_from(fork="shanghai")
641641
def test_initcode_limit_create2_opcode(fork):
642642
"""
643643
Test creating a contract using the CREATE2 opcode with an initcode that is

0 commit comments

Comments
 (0)