66
77import pytest
88
9- from ethereum_test_tools import Alloc , Environment , StateTestFiller , Transaction
9+ from ethereum_test_tools import Alloc , Block , BlockchainTestFiller , Transaction
1010
1111from .spec import Spec , ref_spec_7951
1212
1313REFERENCE_SPEC_GIT_PATH = ref_spec_7951 .git_path
1414REFERENCE_SPEC_VERSION = ref_spec_7951 .version
1515
16- pytestmark = pytest .mark .valid_at_transition_to ("Osaka" , subsequent_forks = True )
16+ pytestmark = pytest .mark .valid_at_transition_to ("Osaka" )
1717
1818
1919@pytest .mark .parametrize (
2626 ),
2727 ],
2828)
29- @pytest .mark .parametrize ("expected_output,call_succeeds" , [pytest .param (b"" , True , id = "" )])
29+ @pytest .mark .parametrize (
30+ "expected_output,call_succeeds" , [pytest .param (b"" , True , id = pytest .HIDDEN_PARAM )]
31+ )
3032@pytest .mark .eip_checklist ("precompile/test/fork_transition/before/invalid_input" )
3133def test_precompile_before_fork (
32- state_test : StateTestFiller ,
34+ blockchain_test : BlockchainTestFiller ,
3335 pre : Alloc ,
3436 post : dict ,
3537 tx : Transaction ,
@@ -39,9 +41,8 @@ def test_precompile_before_fork(
3941
4042 The call must succeed but the output must be empty.
4143 """
42- state_test (
43- env = Environment (),
44+ blockchain_test (
4445 pre = pre ,
45- tx = tx ,
46+ blocks = [ Block ( txs = [ tx ])] ,
4647 post = post ,
4748 )
0 commit comments