Skip to content

Test Fork Transition

Documentation for tests/amsterdam/eip7843_slotnum/test_fork_transition.py@c17999c0.

Generate fixtures for these test cases for Amsterdam with:

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

Tests for EIP-7843 fork transition behavior.

Test Functions Overview

Name Type Cases (Amsterdam) Description
test_invalid_post_fork_block_without_slot_number blockchain_test 1 Reject an activation block whose header lacks the slot_number
test_invalid_pre_fork_block_with_slot_number blockchain_test 1 Reject a pre-fork block that carries the slot number field in its
test_slotnum_at_fork_transition blockchain_test 1 Test SLOTNUM behavior across the EIP-7843 fork transition.