Skip to content

Test Opcodes In Legacy

Documentation for tests/prague/eip7692_eof_v1/eip3540_eof_v1/test_opcodes_in_legacy.py@verkle@v0.0.4.

Generate fixtures for these test cases for Pragueeip7692 with:

Pragueeip7692 only:

fill -v tests/prague/eip7692_eof_v1/eip3540_eof_v1/test_opcodes_in_legacy.py --fork=PragueEIP7692 --evm-bin=/path/to/evm-tool-dev-version

For all forks up to and including Pragueeip7692:

fill -v tests/prague/eip7692_eof_v1/eip3540_eof_v1/test_opcodes_in_legacy.py --until=PragueEIP7692

Tests all EOF-only opcodes in legacy contracts and expects failure.

Test Functions Overview

Name Type Cases Description
test_opcodes_in_legacy state_test 36 Test all EOF only opcodes in legacy contracts and expects failure.
test_opcodes_in_create_tx state_test 36 Test all EOF only opcodes in legacy contracts and expects failure.
test_opcodes_in_create_operation state_test 72 Test all EOF only opcodes in legacy contracts and expects failure.
test_opcodes_in_eof_calling_legacy state_test 108 Test all EOF only opcodes in legacy contracts and expects failure.