Skip to content

Test Block Access Lists INVALID

Documentation for tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists_invalid.py@21507778.

Generate fixtures for these test cases for Amsterdam with:

fill -v tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists_invalid.py --fork Amsterdam

Test cases for invalid Block Access Lists.

These tests verify that clients properly reject blocks with corrupted BALs.

Test Functions Overview

Name Type Cases (Amsterdam) Description
test_bal_invalid_account blockchain_test 1 Test that clients reject blocks where BAL contains accounts that don't
test_bal_invalid_account_order blockchain_test 1 Test that clients reject blocks where BAL has incorrect account ordering.
test_bal_invalid_balance_value blockchain_test 1 Test that clients reject blocks where BAL contains incorrect balance value.
test_bal_invalid_coinbase_balance_value blockchain_test 1 Test that clients reject blocks where BAL contains an incorrect
test_bal_invalid_complex_corruption blockchain_test 1 Test complex BAL corruption with multiple transformations.
test_bal_invalid_duplicate_account blockchain_test 1 Test that clients reject blocks where BAL contains duplicate account
test_bal_invalid_duplicate_entries blockchain_test 7 Test that clients reject blocks where BAL contains duplicate entries.
test_bal_invalid_extraneous_coinbase blockchain_test 2 Test that clients reject blocks where BAL contains a spurious
test_bal_invalid_extraneous_entries blockchain_test 24 Test that clients reject blocks where BAL contains extraneous entries.
test_bal_invalid_field_entries blockchain_test 4 Test that clients reject blocks with missing or incorrect
test_bal_invalid_hash_mismatch blockchain_test 1 Test that clients reject blocks where the BAL hash in the header
test_bal_invalid_missing_account blockchain_test 2 Test that clients reject blocks where BAL omits an account that was
test_bal_invalid_missing_coinbase blockchain_test 1 Test that clients reject blocks where BAL is missing the
test_bal_invalid_missing_nonce blockchain_test 1 Test that clients reject blocks where BAL is missing required nonce
test_bal_invalid_missing_withdrawal_account blockchain_test 1 Test that clients reject blocks where BAL is missing an account
test_bal_invalid_missing_withdrawal_account_empty_block blockchain_test 1 Test that clients reject blocks where BAL is missing an account
test_bal_invalid_nonce_value blockchain_test 1 Test that clients reject blocks where BAL contains incorrect nonce value.
test_bal_invalid_storage_value blockchain_test 1 Test that clients reject blocks where BAL contains incorrect storage
test_bal_invalid_surplus_system_address_from_system_call blockchain_test 1 Test that clients reject a BAL that includes SYSTEM_ADDRESS solely because
test_bal_invalid_tx_order blockchain_test 1 Test that clients reject blocks where BAL has incorrect transaction
test_bal_invalid_withdrawal_balance_value blockchain_test 1 Test that clients reject blocks where BAL contains an incorrect