We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9aac490 commit f37e985Copy full SHA for f37e985
1 file changed
tests/monad_eight/reserve_balance/test_transfers.py
@@ -1639,7 +1639,13 @@ def test_contract_unrestricted_with_selfdestruct(
1639
factory_address: Account(
1640
storage={} if same_tx else storage,
1641
balance=create_balance + call_balance if same_tx else 0,
1642
- )
+ ),
1643
+ # Delegated account retains its prefunded balance on revert
1644
+ delegated_address: Account(balance=prefund_balance)
1645
+ if through_delegation and prefund_balance > 0
1646
+ else None,
1647
+ # SELFDESTRUCT target should not receive value on revert
1648
+ selfdestruct_target: None,
1649
},
1650
blocks=[Block(txs=txs)],
1651
)
0 commit comments