Crate core
Expand description
§foundry-evm-core
Core EVM abstractions.
Modules§
- abi
- backend
- Foundry’s main executor backend abstraction and implementation.
- buffer
- bytecode
- constants
- decode
- Various utilities to decode test results.
- either_
evm - env
- evm
- fork
- hardfork
- ic
- opts
- precompiles
- state_
snapshot - Support for snapshotting different states
- utils
Structs§
- EvmEnv
- Container type that holds both the configuration and block environment for EVM execution.
Traits§
- EthCheat
Ctx - Temporary bound alias used during the transition to a fully generic foundry-evm and foundry-cheatcodes.
- EthInspector
Ext - Combined trait:
Inspector<Context<...>>+FoundryInspectorExt. - Foundry
Block - Extension of
Blockwith mutable setters, allowing EVM-agnostic mutation of block fields. - Foundry
Cfg - Marker trait for Foundry’s
CfgEnvtype, abstractingSpectype. - Foundry
Context Ext - Extension trait providing mutable field access to block, tx, and cfg environments.
- Foundry
Inspector Ext - Foundry-specific inspector methods, decoupled from any particular EVM context type.
- Foundry
Transaction - Extension of
Transactionwith mutable setters, allowing EVM-agnostic mutation of transaction fields.
Type Aliases§
- Breakpoints
- Map keyed by breakpoints char to their location (contract address, pc)