Skip to content

Test Opcodes In Legacy

Documentation for tests/osaka/eip7692_eof_v1/eip3540_eof_v1/test_opcodes_in_legacy.py@b19b4ca1.

Generate fixtures for these test cases for Osaka with:

fill -v tests/osaka/eip7692_eof_v1/eip3540_eof_v1/test_opcodes_in_legacy.py --fork Osaka

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

Test Functions Overview

Name Type Cases (Osaka) Description
test_opcodes_in_legacy state_test 18 Test all EOF only opcodes in legacy contracts and expects failure.
test_opcodes_in_create_tx state_test 18 Test all EOF only opcodes in create tx and expects failure.
test_opcodes_in_create_operation state_test 36 Test opcodes in create operation.
test_opcodes_in_eof_calling_legacy state_test 54 Test all opcodes in eof calling legacy and expects failure.