Skip to main content

Module executors

Module executors 

Source
Expand description

EVM executor abstractions, which can execute calls.

Used for running tests, scripts, and interacting with the inner backend which holds the state.

Modules§

ITest
Module containing a contract’s types and functions.
fuzz
invariant

Structs§

CallResult
The result of a call.
DeployResult
The result of a deployment.
DynamicTargetCtx
Refs used during corpus replay to register contracts deployed mid-sequence as fuzz targets, mirroring the campaign loop so follow-up calls into them aren’t dropped by can_replay_tx.
EarlyExit
Helper struct to enable early exit behavior: when one test fails or run is interrupted, all other tests stop early.
ExecutionErr
Represents the context after an execution error occurred.
Executor
EVM executor.
ExecutorBuilder
The builder that allows to configure an evm Executor which a stack of optional revm::Inspectors, such as Cheatcodes.
FuzzTestTimer
Timer for a fuzz test.
FuzzedExecutor
Wrapper around an Executor which provides fuzzing support using [proptest].
InvariantExecutor
Wrapper around any Executor implementer which provides fuzzing support using [proptest].
RawCallResult
The result of a raw call.
ShowmapOpts
Per-replay options.
ShowmapStats
Stats returned from a single trial replay.
TracingExecutor
A default executor with tracing enabled

Enums§

EvmError
ShowmapDomain
Which coverage bitmap(s) to dump.

Functions§

replay_corpus_to_showmap
Replay every corpus entry under corpus_dir and emit showmap files.