Test Block Access Lists EIP-4895¶
Documentation for tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists_eip4895.py@892e6d1e.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists_eip4895.py --fork Amsterdam
Test Functions Overview¶
| Name | Type | Cases (Amsterdam) | Description |
|---|---|---|---|
test_bal_multiple_withdrawals_same_address |
blockchain_test | 1 | Ensure BAL accumulates multiple withdrawals to same address. |
test_bal_withdrawal_and_new_contract |
blockchain_test | 1 | Ensure BAL captures withdrawal to newly created contract. |
test_bal_withdrawal_and_selfdestruct |
blockchain_test | 1 | Ensure BAL captures withdrawal to self-destructed contract address. |
test_bal_withdrawal_and_state_access_same_account |
blockchain_test | 1 | Ensure BAL captures both state access and withdrawal to same address. |
test_bal_withdrawal_and_transaction |
blockchain_test | 1 | Ensure BAL captures both transaction and withdrawal balance changes. |
test_bal_withdrawal_and_value_transfer_same_address |
blockchain_test | 1 | Ensure BAL captures both value transfer and withdrawal to same address. |
test_bal_withdrawal_empty_block |
blockchain_test | 1 | Ensure BAL captures withdrawal balance changes in empty block. |
test_bal_withdrawal_largest_amount |
blockchain_test | 1 | Ensure BAL captures withdrawal with largest amount. |
test_bal_withdrawal_no_evm_execution |
blockchain_test | 1 | Ensure BAL captures withdrawal without triggering EVM execution. |
test_bal_withdrawal_to_coinbase |
blockchain_test | 1 | Ensure BAL captures withdrawal to coinbase address. |
test_bal_withdrawal_to_coinbase_empty_block |
blockchain_test | 1 | Ensure BAL captures withdrawal to coinbase when there are no transactions. |
test_bal_withdrawal_to_nonexistent_account |
blockchain_test | 1 | Ensure BAL captures withdrawal to non-existent account. |
test_bal_withdrawal_to_precompiles |
blockchain_test | 18 | Ensure BAL captures withdrawal to precompile addresses. |
test_bal_zero_withdrawal |
blockchain_test | 2 | Ensure BAL handles zero-amount withdrawal correctly. |