Skip to content

Test Block Access Lists EIP-4788

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

Generate fixtures for these test cases for Amsterdam with:

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

Tests for the effects of EIP-4788 beacon roots on EIP-7928.

Test Functions Overview

Name Type Cases (Amsterdam) Description
test_bal_4788_empty_block blockchain_test 1 Ensure BAL captures beacon root storage writes in empty block.
test_bal_4788_invalid_calldata_size blockchain_test 6 Ensure BAL correctly handles EIP-4788 queries with invalid calldata size.
test_bal_4788_query blockchain_test 6 Ensure BAL captures storage reads when querying beacon root.
test_bal_4788_selfdestruct_to_beacon_root blockchain_test 1 Ensure BAL captures SELFDESTRUCT to beacon root address alongside
test_bal_4788_simple blockchain_test 1 Ensure BAL captures beacon root storage writes during pre-execution