Skip to content

Test Fork Transition

Documentation for tests/amsterdam/eip7928_block_level_access_lists/test_fork_transition.py@87aba1a3.

Generate fixtures for these test cases for Amsterdam with:

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

Fork-transition tests for EIP-7928 (Block-level Access Lists).

Test Functions Overview

Name Type Cases (Amsterdam) Description
test_bal_fork_transition_happy_path blockchain_test 1 Verify that a BAL is produced at the Amsterdam activation block.
test_fork_transition_bal_size_constraint blockchain_test 2 Verify the BAL size constraint applies only on/after Amsterdam.
test_invalid_post_fork_block_without_bal_hash_field blockchain_test 1 Reject an Amsterdam activation block whose header is missing
test_invalid_pre_fork_block_with_bal_hash_field blockchain_test 1 Reject a pre-Amsterdam block whose header carries