Skip to content

Commit d3deb14

Browse files
committed
lints
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
1 parent c35f259 commit d3deb14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/zkevm/test_worst_compute.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ def test_worst_keccak(
7474
# Now calculate available gas for [attack iteration]:
7575
# Numerator = MAX_CODE_SIZE-3. The -3 is for the JUMPDEST, PUSH0 and JUMP.
7676
# Denominator = (PUSHN + PUSH1 + KECCAK256 + POP) + PUSH1_DATA + PUSHN_DATA
77-
# TODO: the testing framework uses PUSH1(0) instead of PUSH0 which is suboptimal for the attack,
78-
# whenever this is fixed adjust accordingly.
77+
# TODO: the testing framework uses PUSH1(0) instead of PUSH0 which is suboptimal for the
78+
# attack, whenever this is fixed adjust accordingly.
7979
max_iters_loop = (MAX_CODE_SIZE - 3) // (4 + 1 + (optimal_input_length.bit_length() + 7) // 8)
8080
code = (
8181
Op.JUMPDEST

0 commit comments

Comments
 (0)