File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1457,7 +1457,7 @@ def test_worst_binop_simple(
14571457
14581458 setup = Op .CALLDATALOAD (0 ) + Op .CALLDATALOAD (32 ) + Op .DUP2 + Op .DUP2
14591459 attack_block = Op .DUP2 + opcode
1460- cleanup = Op .POP + Op .POP
1460+ cleanup = Op .POP + Op .POP + Op . DUP2 + Op . DUP2
14611461 tx = JumpLoopGenerator (
14621462 setup = setup , attack_block = attack_block , cleanup = cleanup
14631463 ).generate_transaction (pre , gas_benchmark_value , fork )
@@ -1483,9 +1483,7 @@ def test_worst_unop(
14831483 benchmark_test (
14841484 pre = pre ,
14851485 post = {},
1486- code_generator = JumpLoopGenerator (
1487- setup = Op .PUSH0 , attack_block = opcode , cleanup = Op .POP + Op .PUSH0
1488- ),
1486+ code_generator = JumpLoopGenerator (setup = Op .PUSH0 , attack_block = opcode ),
14891487 )
14901488
14911489
You can’t perform that action at this time.
0 commit comments