Test All Opcodes¶
Documentation for tests/frontier/opcodes/test_all_opcodes.py@f6ab9733
.
Generate fixtures for these test cases for Frontier with:
Frontier only:
fill -v tests/frontier/opcodes/test_all_opcodes.py --fork=Frontier --evm-bin=/path/to/evm-tool-dev-version
For all forks up to and including Frontier:
fill -v tests/frontier/opcodes/test_all_opcodes.py --until=Frontier
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 | 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 |