Expand description
Ethereum state tests for revmc JIT compiler.
Runs tests from ethereum/tests against the JIT compiler and compares results with the revm interpreter.
Structsยง
- Compiled
Contracts - JIT-compiled bytecode cache
- Execution
Result - Result from executing a test
- Test
Result - Test result from running a single test case
Constantsยง
- DEFAULT_
ETHTESTS_ ๐PATH - Default path to ethereum/tests repository
Functionsยง
- build_
pre_ state - Build pre-state database from TestUnit
- build_
tx_ env - Build transaction environment from test indices
- call_
jit_ ๐with_ resume - Call JIT function with explicit resume_at tracking.
- call_
jit_ ๐with_ resume_ nested - Call JIT function with explicit resume_at tracking for nested frames. This is similar to call_jit_with_resume but accepts a generic Host.
- compile_
contracts - Compile all contracts in pre-state using JIT
- execute_
frame ๐ - Execute a nested call or create frame using JIT-compiled code.
- execute_
frame_ ๐interpreter - Execute a nested call frame using the interpreter.
- find_
json_ tests - Find all JSON test files in a directory
- get_
ethtests_ path - Get the path to ethereum/tests
- insert_
call_ ๐outcome - Insert call outcome into interpreter state.
- load_
test_ suite - Load a test suite from a JSON file
- run_
general_ state_ tests - Run all GeneralStateTests
- run_
single_ ๐test - Run a single test case comparing JIT vs interpreter
- run_
test_ unit - Run a single test unit with the JIT compiler
- run_
with_ ๐interpreter - Run test with standard revm interpreter at bytecode level.
- run_
with_ ๐jit - Run test with JIT-compiled bytecode
- spec_
name_ to_ spec_ id - Convert SpecName to SpecId