Skip to content

Commit 608a439

Browse files
Update tests/zkevm/test_worst_bytecode.py
Co-authored-by: Mario Vega <marioevz@gmail.com>
1 parent a14cb3d commit 608a439

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/zkevm/test_worst_bytecode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def test_worst_bytecode_single_opcode(
6868
# able to pay for the contract deposit. This has to take into account the 200 gas per byte,
6969
# but also the quadratic memory expansion costs which have to be paid each time the
7070
# memory is being setup
71-
attack_gas_limit = 100_000_000
71+
attack_gas_limit = Environment().gas_limit
7272
max_contract_size = fork.max_code_size()
7373

7474
gas_costs = fork.gas_costs()

0 commit comments

Comments
 (0)