Skip to content

Commit f88b604

Browse files
committed
fix: issues after rebase
1 parent 9db4347 commit f88b604

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists_eip7702.py

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,8 @@ def test_bal_7702_delegation_update(
191191
BalBalanceChange(tx_index=2, post_balance=20),
192192
]
193193
),
194-
# Both delegation targets must not be present in BAL - the account is never accessed
194+
# Both delegation targets must not be present in BAL
195+
# the account is never accessed
195196
oracle1: None,
196197
oracle2: None,
197198
}
@@ -308,7 +309,8 @@ def test_bal_7702_delegation_clear(
308309
BalBalanceChange(tx_index=2, post_balance=20),
309310
]
310311
),
311-
# Both delegation targets must not be present in BAL - the account is never accessed
312+
# Both delegation targets must not be present in BAL
313+
# the account is never accessed
312314
oracle: None,
313315
abyss: None,
314316
}
@@ -351,7 +353,10 @@ def test_bal_7702_delegated_storage_access(
351353
pre: Alloc,
352354
blockchain_test: BlockchainTestFiller,
353355
):
354-
"""Ensure BAL captures storage operations when calling a delegated EIP-7702 account."""
356+
"""
357+
Ensure BAL captures storage operations when calling a delegated
358+
EIP-7702 account.
359+
"""
355360
# Oracle contract that reads from slot 0x01 and writes to slot 0x02
356361
oracle = pre.deploy_contract(code=Op.SLOAD(0x01) + Op.PUSH1(0x42) + Op.PUSH1(0x02) + Op.SSTORE)
357362
bob = pre.fund_eoa()
@@ -384,7 +389,8 @@ def test_bal_7702_delegated_storage_access(
384389
bob: BalAccountExpectation(
385390
nonce_changes=[BalNonceChange(tx_index=1, post_nonce=1)],
386391
),
387-
# Oracle appears in BAL due to account access (delegation target)
392+
# Oracle appears in BAL due to account access
393+
# (delegation target)
388394
oracle: BalAccountExpectation(),
389395
}
390396
),
@@ -446,7 +452,8 @@ def test_bal_7702_invalid_nonce_authorization(
446452
relayer: BalAccountExpectation(
447453
nonce_changes=[BalNonceChange(tx_index=1, post_nonce=1)],
448454
),
449-
# Oracle must NOT be present - authorization failed so account never accessed
455+
# Oracle must NOT be present - authorization failed so
456+
# account is never accessed
450457
oracle: None,
451458
}
452459
),
@@ -504,7 +511,8 @@ def test_bal_7702_invalid_chain_id_authorization(
504511
relayer: BalAccountExpectation(
505512
nonce_changes=[BalNonceChange(tx_index=1, post_nonce=1)],
506513
),
507-
# Oracle must NOT be present - authorization failed so account never accessed
514+
# Oracle must NOT be present - authorization failed so
515+
# account never accessed
508516
oracle: None,
509517
}
510518
),

0 commit comments

Comments
 (0)