Skip to content

Commit 899728c

Browse files
refactor(tests): use dynamic max stack height
1 parent 7f26a74 commit 899728c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/zkevm/test_worst_compute.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1919,7 +1919,7 @@ def test_worst_push(
19191919
env = Environment()
19201920

19211921
op = opcode[1] if opcode.has_data_portion() else opcode
1922-
opcode_sequence = op * fork.max_stack_height
1922+
opcode_sequence = op * fork.max_stack_height()
19231923
target_contract_address = pre.deploy_contract(code=opcode_sequence)
19241924

19251925
calldata = Bytecode()

0 commit comments

Comments
 (0)