Skip to content

Commit d53e674

Browse files
committed
linter
Signed-off-by: Ignacio Hagopian <[email protected]>
1 parent ddf0c89 commit d53e674

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/zkevm/test_worst_compute.py

+3
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ def test_worst_ecrecover(
135135

136136

137137
def code_loop_precompile_call(calldata: Bytecode, attack_block: Bytecode):
138+
"""
139+
Create a code loop that calls a precompile with the given calldata.
140+
"""
138141
# The attack contract is: JUMPDEST + [attack_block]* + PUSH0 + JUMP
139142
jumpdest = Op.JUMPDEST
140143
jump_back = Op.JUMP(len(calldata))

0 commit comments

Comments
 (0)