Test Push¶
Documentation for tests/frontier/opcodes/test_push.py@5e6a38e0
.
Generate fixtures for these test cases for Prague with:
fill -v tests/frontier/opcodes/test_push.py --fork Prague
A State test for the set of PUSH*
opcodes.
Ported from: https://github.com/ethereum/tests/blob/4f65a0a7cbecf4442415c226c65e089acaaf6a8b/src/GeneralStateTestsFiller/VMTests/vmTests/pushFiller.yml.
Test Functions Overview¶
Name | Type | Cases (Prague) | Description |
---|---|---|---|
test_push |
state_test | 32 | The set of PUSH* opcodes pushes data onto the stack. |
test_stack_overflow |
state_test | 64 | A test to ensure that the stack overflows when the stack limit of 1024 is exceeded. |