File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
tests/cancun/eip1153_tstore Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,6 @@ def test_tstore_clear_after_deployment_tx(
80
80
def test_tstore_clear_after_tx (
81
81
blockchain_test : BlockchainTestFiller ,
82
82
pre : Alloc ,
83
- evm_code_type : EVMCodeType ,
84
83
):
85
84
"""
86
85
This test first SSTOREs the TLOAD value of key 1 in slot 1. Then, it TSTOREs 1 in slot 1.
@@ -89,14 +88,7 @@ def test_tstore_clear_after_tx(
89
88
"""
90
89
env = Environment ()
91
90
92
- runtime_code = Op .SSTORE (1 , Op .TLOAD (1 )) + Op .TSTORE (1 , 1 )
93
-
94
- code : Optional [Container | Bytecode ] = None
95
- if evm_code_type == EVMCodeType .EOF_V1 :
96
- code = Container .Code (runtime_code )
97
- else :
98
- code = runtime_code
99
-
91
+ code = Op .SSTORE (1 , Op .TLOAD (1 )) + Op .TSTORE (1 , 1 )
100
92
account = pre .deploy_contract (code )
101
93
102
94
sender = pre .fund_eoa ()
You can’t perform that action at this time.
0 commit comments