Skip to content

Commit 996efd8

Browse files
committed
fix: issues after refactor; rename test file
1 parent edee4d8 commit 996efd8

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed
Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
Hash,
1212
Transaction,
1313
)
14-
from ethereum_test_tools.vm.opcode import Opcodes as Op
14+
from ethereum_test_tools import Opcodes as Op
1515
from ethereum_test_types.block_access_list import (
1616
BalAccountExpectation,
1717
BalNonceChange,
@@ -86,11 +86,14 @@ def test_bal_2930_slot_listed_and_unlisted_writes(
8686
blockchain_test: BlockchainTestFiller,
8787
fork,
8888
):
89-
"""Ensure BAL includes storage writes regardless of access list presence."""
89+
"""
90+
Ensure BAL includes storage writes regardless of access list presence.
91+
"""
9092
alice = pre.fund_eoa()
9193
storage_writer = pre.deploy_contract(code=Op.SSTORE(0x01, 0x42) + Op.SSTORE(0x02, 0x43))
9294

93-
# Access list only includes slot 0x01, but contract writes to both 0x01 and 0x02
95+
# Access list only includes slot 0x01, but contract writes to both
96+
# 0x01 and 0x02
9497
access_list = AccessList(
9598
address=storage_writer,
9699
storage_keys=[Hash(0x01)],
@@ -155,7 +158,8 @@ def test_bal_2930_slot_listed_and_unlisted_reads(
155158
storage={0x01: 0x42, 0x02: 0x43}, # Pre-populate storage with values
156159
)
157160

158-
# Access list only includes slot 0x01, but contract reads from both 0x01 and 0x02
161+
# Access list only includes slot 0x01, but contract reads from both
162+
# 0x01 and 0x02
159163
access_list = AccessList(
160164
address=storage_reader,
161165
storage_keys=[Hash(0x01)],

0 commit comments

Comments
 (0)