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 op_alloy_rpc_types as _;🔒optimismpub(crate) use Address;🔒pub(crate) use map::HashMap;🔒
Modules§
- abi
- backend
- Foundry’s executor backend: RPC forks, persistent accounts, snapshots and cheatcode policy over evm2.
- buffer
- bytecode
- constants
- decode
- Various utilities to decode test results.
- edgecov
- Compiler-instrumented edge coverage and comparison logging through the
EDGECOVandCMPLOGopcodes. - eip2935
- EIP-2935 history storage helpers.
- evm
- Foundry’s execution stack on evm2.
- fork
- hardfork
- ic
- opts
- precompiles
- state_
snapshot - Support for snapshotting different states
- tempo
- Tempo precompile and contract initialization for Foundry.
- utils
Type Aliases§
- Breakpoints
- Map keyed by breakpoints char to their location (contract address, pc)