Skip to content

Test All Opcodes

Documentation for tests/frontier/opcodes/test_all_opcodes.py@49c766fb.

Generate fixtures for these test cases for Prague with:

fill -v tests/frontier/opcodes/test_all_opcodes.py --fork Prague

Call every possible opcode and test that the subcall is successful if the opcode is supported by the fork supports and fails otherwise.

Test Functions Overview

Name Type Cases (Prague) Description
test_all_opcodes state_test 1 Test each possible opcode on the fork with a single contract that
test_cover_revert state_test 1 Cover state revert from original tests for the coverage script