Skip to content

Commit d982125

Browse files
committed
simplify
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
1 parent 0bb59f5 commit d982125

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/zkevm/test_worst_bytecode.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ def test_worst_bytecode(
4040

4141
contract_addrs = []
4242
for i in range(num_called_contracts):
43-
code = Op.JUMPDEST * (MAX_CONTRACT_SIZE - 1 - 10) + Op.PUSH10(i)
44-
contract_addrs.append(pre.deploy_contract(code=code))
43+
contract_addrs.append(
44+
pre.deploy_contract(code=Op.JUMPDEST * (MAX_CONTRACT_SIZE - 1 - 10) + Op.PUSH10(i))
45+
)
4546

4647
attack_code = sum(
4748
[(Op.EXTCODESIZE(contract_addrs[i]) + Op.POP) for i in range(num_called_contracts)]

0 commit comments

Comments
 (0)