Skip to content

Test Block Access Lists EIP-8282

Documentation for tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists_eip8282.py@26332146.

Generate fixtures for these test cases for Amsterdam with:

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

Tests for the effects of EIP-8282 builder requests on EIP-7928.

Pin the block access list produced by the builder deposit and exit predeploys: the enqueuing transactions grow the count and queue tail slots, and the post-execution system call dequeues the records, resetting or advancing the bus slots depending on whether the sweep is clean or partial.

Test Functions Overview

Name Type Cases (Amsterdam) Description
test_bal_builder_deposits_and_exits_same_block blockchain_test 1 Ensure BAL tracks both builder predeploys when a single block
test_bal_builder_request_dequeue blockchain_test 6 Ensure BAL tracks a builder request predeploy across a clean sweep, a
test_bal_builder_request_invalid blockchain_test 2 Ensure BAL records only reads on a builder predeploy when the request