@@ -191,7 +191,8 @@ def test_bal_7702_delegation_update(
191
191
BalBalanceChange (tx_index = 2 , post_balance = 20 ),
192
192
]
193
193
),
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
195
196
oracle1 : None ,
196
197
oracle2 : None ,
197
198
}
@@ -308,7 +309,8 @@ def test_bal_7702_delegation_clear(
308
309
BalBalanceChange (tx_index = 2 , post_balance = 20 ),
309
310
]
310
311
),
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
312
314
oracle : None ,
313
315
abyss : None ,
314
316
}
@@ -351,7 +353,10 @@ def test_bal_7702_delegated_storage_access(
351
353
pre : Alloc ,
352
354
blockchain_test : BlockchainTestFiller ,
353
355
):
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
+ """
355
360
# Oracle contract that reads from slot 0x01 and writes to slot 0x02
356
361
oracle = pre .deploy_contract (code = Op .SLOAD (0x01 ) + Op .PUSH1 (0x42 ) + Op .PUSH1 (0x02 ) + Op .SSTORE )
357
362
bob = pre .fund_eoa ()
@@ -384,7 +389,8 @@ def test_bal_7702_delegated_storage_access(
384
389
bob : BalAccountExpectation (
385
390
nonce_changes = [BalNonceChange (tx_index = 1 , post_nonce = 1 )],
386
391
),
387
- # Oracle appears in BAL due to account access (delegation target)
392
+ # Oracle appears in BAL due to account access
393
+ # (delegation target)
388
394
oracle : BalAccountExpectation (),
389
395
}
390
396
),
@@ -446,7 +452,8 @@ def test_bal_7702_invalid_nonce_authorization(
446
452
relayer : BalAccountExpectation (
447
453
nonce_changes = [BalNonceChange (tx_index = 1 , post_nonce = 1 )],
448
454
),
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
450
457
oracle : None ,
451
458
}
452
459
),
@@ -504,7 +511,8 @@ def test_bal_7702_invalid_chain_id_authorization(
504
511
relayer : BalAccountExpectation (
505
512
nonce_changes = [BalNonceChange (tx_index = 1 , post_nonce = 1 )],
506
513
),
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
508
516
oracle : None ,
509
517
}
510
518
),
0 commit comments