Skip to content

Test Push

Documentation for tests/frontier/opcodes/test_push.py@8db70f93.

Generate fixtures for these test cases for Amsterdam with:

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

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 (Amsterdam) Description
test_stack_overflow state_test 64 Test that the stack overflows when the stack limit of 1024 is exceeded.
test_push state_test 32 The set of PUSH* opcodes pushes data onto the stack.