Expand description
Shared EVM traits, associated types, and execution helpers.
Each network module owns its network marker and concrete EVM implementations.
Re-exports§
Modules§
Traits§
- Foundry
EvmFactory - Foundry
EvmNetwork - Foundry’s compatibility trait associating a [
Network] with aFoundryEvmFactory. - Into
Instruction Result - Converts a network-specific halt reason into an [
InstructionResult]. - Nested
Evm - Object-safe EVM operations used by nested execution and fork replay.
Functions§
- get_
create2_ factory_ call_ inputs - Get the call inputs for the CREATE2 factory.
- merge_
child_ state - Merges a child’s returned account state into its suspended parent.
- prepare_
child_ state - Prepares account state for execution across a synthetic transaction boundary.
- run_
inspected_ 🔒frame - Runs a nested frame with inspection and settles its gas into the parent frame.
- with_
inherited_ evm - Runs a child operation with the parent’s environment, journal, and native chain state.
Type Aliases§
- Block
EnvFor - Block
Response For - Chain
For - EvmEnv
For - EvmFactory
For - Convenience type aliases for accessing associated types through
FoundryEvmNetwork. - Foundry
Context For - Halt
Reason For - Nested
EvmClosure - Closure type used by
CheatcodesExecutormethods that run nested EVM operations. - Nested
EvmClosure For - Nested EVM closure for a Foundry EVM network.
- Nested
EvmFor - Boxed nested EVM produced by a Foundry EVM factory.
- Network
For - Precompiles
For - SpecFor
- Transaction
Request For - Transaction
Response For - TxEnv
For - TxEnvelope
For