Skip to main content

Crate foundry_evm

Crate foundry_evm 

Source
Expand description

§foundry-evm

Main Foundry EVM backend abstractions.

Re-exports§

pub use foundry_evm_core as core;
pub use foundry_evm_coverage as coverage;
pub use foundry_evm_fuzz as fuzz;
pub use foundry_evm_hardforks as hardforks;
pub use foundry_evm_traces as traces;

Modules§

backend
Foundry’s executor backend: RPC forks, persistent accounts, snapshots and cheatcode policy over evm2.
constants
decode
Various utilities to decode test results.
executors
EVM executor abstractions, which can execute calls.
fork
hardfork
inspectors
EVM inspectors.
opts
utils

Macros§

call_inspectors
Helper macro to call the same method on multiple inspectors without resorting to dynamic dispatch.

Structs§

EvmEnv
The spec, runtime version and block an EVM is built with.

Constants§

EVM_THREAD_STACK_SIZE
Stack size of the threads that run EVM executions.