Skip to content

Test Push

Documentation for tests/frontier/opcodes/[email protected].

Generate fixtures for these test cases for Osaka with:

fill -v tests/frontier/opcodes/test_push.py --fork Osaka

A State test for the set of PUSH* opcodes.

Ported from: https://github.com/ethereum/tests/blob/ 4f65a0a/src/ GeneralStateTestsFiller/VMTests/vmTests/pushFiller.yml.

Test Functions Overview

Name Type Cases (Osaka) Description
test_push state_test 32 The set of PUSH* opcodes pushes data onto the stack.
test_stack_overflow state_test 64 A test the stack overflows when the stack limit of 1024 is exceeded.