Skip to content

Test Block Access Lists EIP-2935

Documentation for tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists_eip2935.py@892e6d1e.

Generate fixtures for these test cases for Amsterdam with:

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

Tests for the effects of EIP-2935 historical block hashes on EIP-7928.

Test Functions Overview

Name Type Cases (Amsterdam) Description
test_bal_2935_empty_block blockchain_test 1 Ensure BAL captures history storage writes in empty block.
test_bal_2935_invalid_calldata_size blockchain_test 6 Ensure BAL correctly handles EIP-2935 queries with invalid calldata size.
test_bal_2935_query blockchain_test 4 Ensure BAL captures storage reads when querying historical block hashes.
test_bal_2935_selfdestruct_to_history_storage blockchain_test 1 Ensure BAL captures SELFDESTRUCT to history storage address alongside
test_bal_2935_simple blockchain_test 1 Ensure BAL captures history storage writes during system call.