|
11 | 11 | Hash, |
12 | 12 | Transaction, |
13 | 13 | ) |
14 | | -from ethereum_test_tools.vm.opcode import Opcodes as Op |
| 14 | +from ethereum_test_tools import Opcodes as Op |
15 | 15 | from ethereum_test_types.block_access_list import ( |
16 | 16 | BalAccountExpectation, |
17 | 17 | BalNonceChange, |
@@ -86,11 +86,14 @@ def test_bal_2930_slot_listed_and_unlisted_writes( |
86 | 86 | blockchain_test: BlockchainTestFiller, |
87 | 87 | fork, |
88 | 88 | ): |
89 | | - """Ensure BAL includes storage writes regardless of access list presence.""" |
| 89 | + """ |
| 90 | + Ensure BAL includes storage writes regardless of access list presence. |
| 91 | + """ |
90 | 92 | alice = pre.fund_eoa() |
91 | 93 | storage_writer = pre.deploy_contract(code=Op.SSTORE(0x01, 0x42) + Op.SSTORE(0x02, 0x43)) |
92 | 94 |
|
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 |
94 | 97 | access_list = AccessList( |
95 | 98 | address=storage_writer, |
96 | 99 | storage_keys=[Hash(0x01)], |
@@ -155,7 +158,8 @@ def test_bal_2930_slot_listed_and_unlisted_reads( |
155 | 158 | storage={0x01: 0x42, 0x02: 0x43}, # Pre-populate storage with values |
156 | 159 | ) |
157 | 160 |
|
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 |
159 | 163 | access_list = AccessList( |
160 | 164 | address=storage_reader, |
161 | 165 | storage_keys=[Hash(0x01)], |
|
0 commit comments