Skip to content

Commit a4794a2

Browse files
jsignmarioevz
andcommitted
Update tests/zkevm/test_worst_compute.py
Co-authored-by: Mario Vega <marioevz@gmail.com>
1 parent df8f2ad commit a4794a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/zkevm/test_worst_compute.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ def test_worst_modexp(
131131

132132
# MODEXP calldata
133133
calldata = (
134-
Op.MSTORE(0 * 32, 32)
135-
+ Op.MSTORE(1 * 32, 32)
136-
+ Op.MSTORE(2 * 32, 32)
134+
Op.MSTORE(0 * 32, base_mod_length)
135+
+ Op.MSTORE(1 * 32, exp_length)
136+
+ Op.MSTORE(2 * 32, base_mod_length)
137137
+ Op.MSTORE(3 * 32, base)
138138
+ Op.MSTORE(4 * 32, exp)
139139
+ Op.MSTORE(5 * 32, mod)

0 commit comments

Comments
 (0)