Skip to content

Commit 75911e3

Browse files
fix(tests): fixes EXTCODECOPY bench test (#1865)
1 parent 7f1a99f commit 75911e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/benchmark/test_worst_bytecode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def test_worst_bytecode_single_opcode(
182182

183183
attack_call = Bytecode()
184184
if opcode == Op.EXTCODECOPY:
185-
attack_call = Op.EXTCODECOPY(address=Op.SHA3(32 - 20 - 1, 85), dest_offset=85, size=1000)
185+
attack_call = Op.EXTCODECOPY(address=Op.SHA3(32 - 20 - 1, 85), dest_offset=96, size=1000)
186186
else:
187187
# For the rest of the opcodes, we can use the same generic attack call
188188
# since all only minimally need the `address` of the target.

0 commit comments

Comments
 (0)