Skip to main content

Module evm

Module evm 

Source
Available on crate feature evm only.
Expand description

Re-exported evm types

Modules§

factory
Ethereum block executor and EVM factory implementations.
primitives
Traits for configuring EVM specifics.

Structs§

CompilationEventjit
Event emitted after a compilation attempt completes.
CompileTimingsjit
Per-phase timing breakdown from a compilation.
EthBigBlockExecutor
Block executor for merged payloads that switches the EVM context at block boundaries.
EthBigBlockExecutorFactory
Executor factory for merged payloads that switch block context at segment boundaries.
EthBigBlockPlan
Execution plan for a merged big-block payload.
EthBigBlockSegment
One block execution segment inside a merged big-block payload.
EthBlockAssembler
Block builder for Ethereum.
EthBlockExecutionCtx
Ethereum block execution context.
EthBlockExecutor
Configured Ethereum block executor backed by evm2.
EthBlockExecutorFactory
Ethereum block executor factory.
EthEvmConfig
Ethereum-related EVM configuration.
EthEvmEnv
Configured Ethereum EVM environment.
EthTransactionResultWithState
Detached Ethereum transaction result with the metadata needed for canonical receipt commit.
ExecutableRecoveredTx
Recovered Ethereum transaction paired with its cached transaction environment.
JitBackendjit
JIT compilation backend with O(1) compiled-function lookup.
JitMetricsjit
Prometheus metrics for evm2 JIT runtime stats.
RethEvmFactoryjit
Reth EVM factory configuration.
RethReceiptBuilder
A builder that produces Reth Receipt values from evm2 transaction results.
RuntimeConfigjit
Runtime configuration.
RuntimeStatsSnapshotjit
A point-in-time snapshot of runtime stats.
RuntimeTuningjit
Tuning knobs for the runtime.

Enums§

CompilationKindjit
The kind of compilation that was performed.
JitModejit
Where JIT compilation work runs.

Traits§

EvmFactory
Factory used to construct an evm2-backed EVM.

Functions§

maybe_run_jit_helperjit
Runs the out-of-process JIT helper if this process was launched as one.
recover_authorizations
Recovers EIP-7702 authorizations, using parallel recovery for large lists.
spec_id_by_timestamp_and_block_number
Map the latest active Ethereum hardfork at timestamp or block_number to a [SpecId].

Type Aliases§

MockEvmConfigtest-utils
Mock for EVM config.
MockExecutorProvidertest-utils
A helper type alias for mocked block executor provider.