Available on crate features
__fuzzing only.Structsยง
- DefBlock
- DefCfg
- DefEnv
- Default test environment struct for test expected values.
- DefTx
- MemDisplay ๐
- Test
Case - Test
Host - Test host that implements [
Host] trait for testing.
Constantsยง
- ACTION_
WHAT_ INTERPRETER_ SAYS - DEF_
ADDR - Default code address.
- DEF_BN
- DEF_
CALLER - DEF_
GAS_ LIMIT - DEF_
GAS_ LIMIT_ U256 - DEF_
SPEC - DEF_
VALUE - GAS_
WHAT_ INTERPRETER_ SAYS - MEMORY_
WHAT_ INTERPRETER_ SAYS - OTHER_
ADDR - RETURN_
WHAT_ INTERPRETER_ SAYS - STACK_
WHAT_ INTERPRETER_ SAYS
Staticsยง
Functionsยง
- assert_
actions ๐ - def_
codemap - def_env
- Returns the default test environment.
- def_
storage - init_
tracing - Initializes
tracing_subscriberfor tests. Safe to call multiple times. - insert_
call_ outcome_ test - Insert a call outcome into the interpreter state (for testing call_with_interpreter).
- memory_
gas_ cost - Memory gas calculation:
num_words * 3 + num_words**2 / 512. - run_
compiled_ ๐test_ case - run_
test_ case - set_
test_ dump - with_
evm_ context