Expand description
Β§foundry-evm-core
Generic execution, environment, fork, backend, and state abstractions shared by Foundry tools.
evm::FoundryEvmNetwork binds an Alloy network to an evm::FoundryEvmFactory. The factory
owns the concrete execution types and constructs a Foundry-compatible EVM context, while
foundry-evm-networks owns runtime family selection. Keeping those responsibilities separate
allows one compiled binary to dispatch to different execution families at runtime.
Re-exportsΒ§
pub(crate) use crate::constants::DEFAULT_CREATE2_DEPLOYER;πpub(crate) use op_alloy_rpc_types as _;πoptimismpub(crate) use Address;πpub(crate) use map::HashMap;πpub(crate) use auto_impl::auto_impl;πpub(crate) use foundry_evm_networks::NetworkConfigs;πpub(crate) use Inspector;πpub(crate) use inspector::NoOpInspector;πpub(crate) use interpreter::CreateInputs;πpub(crate) use revm_inspectors::access_list::AccessListInspector;πpub use env::*;
ModulesΒ§
- abi
- backend
- Foundryβs main executor backend abstraction and implementation.
- buffer
- bytecode
- constants
- decode
- Various utilities to decode test results.
- eip2935
- EIP-2935 history storage helpers.
- env
- Execution environment mutation, context access, and RPC transaction conversion.
- evm
- Shared EVM traits, associated types, and execution helpers.
- fork
- hardfork
- ic
- opts
- precompiles
- state_
snapshot - Support for snapshotting different states
- tempo
- Tempo precompile and contract initialization for Foundry.
- utils
TraitsΒ§
- Foundry
Inspector Ext - A combined inspector trait that integrates revmβs [
Inspector] with Foundry-specific extensions. Automatically implemented for any type that implements both [Inspector<CTX>] andInspectorExt. - Inspector
Ext - Foundry-specific inspector methods, decoupled from any particular EVM context type.
Type AliasesΒ§
- Breakpoints
- Map keyed by breakpoints char to their location (contract address, pc)