test_invalid_pre_fork_block_with_slot_number()¶
Documentation for tests/amsterdam/eip7843_slotnum/test_fork_transition.py::test_invalid_pre_fork_block_with_slot_number@26332146.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip7843_slotnum/test_fork_transition.py::test_invalid_pre_fork_block_with_slot_number --fork Amsterdam
Reject a pre-fork block that carries the slot number field in its
header or its engine newPayload.
The field must not be present before the fork activates: the extra header field changes the header shape, while in the payload case the block is otherwise valid, so clients that silently drop unknown payload fields would answer VALID and must fail this test.
Source code in tests/amsterdam/eip7843_slotnum/test_fork_transition.py
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.