Skip to content

Commit 04b9614

Browse files
committed
refactor: rebase and fix conflicts
1 parent e293535 commit 04b9614

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists.py

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,6 @@ def test_bal_code_changes(
287287
)
288288

289289

290-
@pytest.mark.valid_from("Amsterdam")
291290
@pytest.mark.parametrize("self_destruct_in_same_tx", [True, False], ids=["same_tx", "new_tx"])
292291
@pytest.mark.parametrize("pre_funded", [True, False], ids=["pre_funded", "not_pre_funded"])
293292
def test_bal_self_destruct(
@@ -478,7 +477,10 @@ def test_bal_call_with_value_transfer(
478477
pre: Alloc,
479478
blockchain_test: BlockchainTestFiller,
480479
):
481-
"""Ensure BAL captures balance changes from CALL opcode with value transfer."""
480+
"""
481+
Ensure BAL captures balance changes from CALL opcode with
482+
value transfer.
483+
"""
482484
alice = pre.fund_eoa()
483485
bob = pre.fund_eoa(amount=0)
484486

@@ -512,7 +514,10 @@ def test_bal_callcode_with_value_transfer(
512514
pre: Alloc,
513515
blockchain_test: BlockchainTestFiller,
514516
):
515-
"""Ensure BAL captures balance changes from CALLCODE opcode with value transfer."""
517+
"""
518+
Ensure BAL captures balance changes from CALLCODE opcode with
519+
value transfer.
520+
"""
516521
alice = pre.fund_eoa()
517522
bob = pre.fund_eoa(amount=0)
518523

@@ -563,14 +568,18 @@ def test_bal_delegated_storage_writes(
563568
blockchain_test: BlockchainTestFiller,
564569
delegated_opcode,
565570
):
566-
"""Ensure BAL captures delegated storage writes via DELEGATECALL and CALLCODE."""
571+
"""
572+
Ensure BAL captures delegated storage writes via
573+
DELEGATECALL and CALLCODE.
574+
"""
567575
alice = pre.fund_eoa()
568576

569577
# TargetContract that writes 0x42 to slot 0x01
570578
target_code = Op.SSTORE(0x01, 0x42)
571579
target_contract = pre.deploy_contract(code=target_code)
572580

573-
# Oracle contract that uses delegated opcode to execute TargetContract's code
581+
# Oracle contract that uses delegated opcode to execute
582+
# TargetContract's code
574583
oracle_code = delegated_opcode(target_contract)
575584
oracle_contract = pre.deploy_contract(code=oracle_code)
576585

@@ -619,7 +628,10 @@ def test_bal_delegated_storage_reads(
619628
blockchain_test: BlockchainTestFiller,
620629
delegated_opcode,
621630
):
622-
"""Ensure BAL captures delegated storage reads via DELEGATECALL and CALLCODE."""
631+
"""
632+
Ensure BAL captures delegated storage reads via
633+
DELEGATECALL and CALLCODE.
634+
"""
623635
alice = pre.fund_eoa()
624636

625637
# TargetContract that reads from slot 0x01

0 commit comments

Comments
 (0)