test_slotnum_distinct_per_block()¶
Documentation for tests/amsterdam/eip7843_slotnum/test_slotnum.py::test_slotnum_distinct_per_block@ffe48572.
Generate fixtures for these test cases for Bogota with:
Test that SLOTNUM returns each block's own slot number.
Runs four consecutive blocks with deliberately non-monotonic slot
numbers to disprove any caching or ordering assumption in the opcode
implementation. Each block runs the same contract, which keys storage
by block NUMBER so every block's outcome is independently visible
in the final post-state.
Source code in tests/amsterdam/eip7843_slotnum/test_slotnum.py
Parametrized Test Cases¶
This test generates 1 parametrized test case across 2 forks.