test_slotnum_stack_overflow()¶
Documentation for tests/amsterdam/eip7843_slotnum/test_slotnum.py::test_slotnum_stack_overflow@ffe48572.
Generate fixtures for these test cases for Bogota with:
Test that SLOTNUM aborts when pushing past the 1024-item stack limit.
The callee executes push_count consecutive SLOTNUM opcodes: 1024
pushes fill the stack exactly and succeed, while the 1025th push
aborts the frame exceptionally. The caller stores the call's success
flag over a nonzero canary.
Source code in tests/amsterdam/eip7843_slotnum/test_slotnum.py
Parametrized Test Cases¶
This test generates 2 parametrized test cases across 2 forks.