Available on crate feature
evm only.Expand description
Traits for configuring EVM specifics.
Modules§
- cached
- Cached database adapters for payload building. Database adapters for payload building.
- database
- Database adapters for EVM execution. State provider database adapter used by EVM execution.
- either
- Helper type that represents one of two possible executor types
- execute
- EVM environment configuration. Traits for execution.
- metrics
metrics - Executor metrics.
- noop
- Helpers for testing.
- precompile_
cache std - precompile cache provider. Precompile cache for payload prewarming.
- witness
witness - Helper types for execution witness generation.
Macros§
- debug_
unreachable - Marks a branch as unreachable in optimized builds while checking it in debug builds.
Structs§
- Block
Assembler Input - Input for block assembly.
- Block
Builder Outcome - Output of block building.
- Block
Execution Output BlockExecutionResultcombined with state.- Bundle
State - Bundle state contain only values that got changed
- EvmTransaction
Validation Gas - Transaction validation gas resolved for a transaction.
- EvmTransaction
Validation GasRules - Transaction validation gas rules resolved for an EVM environment.
- EvmTransaction
Validation Limits - Transaction validation limits resolved for an EVM environment.
- GasOutput
- Gas used by a successfully executed transaction.
- Next
Block EnvAttributes - Represents additional attributes required to configure the next block.
- Receipt
Builder Ctx - Context for building a transaction receipt from an execution result.
- Sender
Recovery Cache - Shared cache of recovered transaction senders.
- State
Update - Per-transaction state changes streamed to execution state hooks.
- With
TxEnv - A transaction stored together with its
TxEnv.
Enums§
- Block
Execution Error - Block executor errors.
- Block
Validation Error - Block validation error.
- Commit
Changes - Whether a block executor commits an executed transaction.
- Internal
Block Execution Error - Internal, i.e. not validation or consensus related, block executor errors.
Traits§
- Block
Assembler - A type that assembles a block from execution output.
- Block
Builder - A type that knows how to execute transactions and assemble a block.
- Block
Executor - A configured block executor.
- Block
Executor Factory - A type that creates configured block executors.
- Block
Transaction Result - A detached block transaction output containing its raw execution result.
- Configure
Engine Evm ConfigureEvmextension providing methods for executing payloads.- Configure
Evm - A complete configuration of EVM for Reth.
- Convert
Tx - Converts a raw transaction into an executable transaction.
- Database
- Backing database implementation with a concrete error type.
- DynDatabase
- Backing database view used to initialize mutable [
super::State]. - Evm
- A configured EVM instance.
- EvmEnv
- Resolved EVM environment data needed by the EVM execution path.
- Executable
TxFor - A helper trait marking a type that can be converted into an
ExecutableTxPartsfor block executor. - Executable
TxIterator - Iterator over executable transactions.
- Executable
TxParts - Helper trait to split an executable transaction into an EVM transaction environment and its recovered transaction accessor.
- Executable
TxTuple - A helper trait representing a pair of a “raw” transactions iterator and a closure that can be used to convert them to an executable transaction. This tuple is used in the engine to parallelize heavy work like decoding or recovery.
- Executor
- A type that knows how to execute blocks over a database.
- Executor
Tx - Executable transaction consumed by a block executor.
- From
Recovered Tx - Converts a recovered transaction into the configured transaction environment.
- From
TxWith Encoded - Converts a recovered transaction with its encoded bytes into the configured transaction environment.
- Into
TxEnv - Converts transaction wrappers into the configured transaction environment.
- Invalid
TxError - Abstraction over transaction validation errors.
- JitBackend
- JIT backend controls exposed by an EVM configuration.
- OnState
Hook - Receives per-transaction state changes streamed from block execution.
- Receipt
Builder - Builds chain-specific receipts from raw transaction execution results.
- Recovered
Tx - Helper trait to abstract over different
Recovered<T>implementations. - Transaction
EnvMut - Transaction environment that can be adjusted in place, e.g. by RPC simulations that re-execute a prepared transaction with a different gas limit or access list.
Type Aliases§
- Block
Executor For std - Helper to access the configured block executor.
- EvmEnv
For - Type alias for the configured EVM environment.
- EvmFactory
For - Helper to access the configured EVM factory state.
- EvmFor
std - Type alias for the configured EVM instance.
- EvmTypes
For - Type alias for the configured runtime EVM type family.
- Execution
CtxFor - Helper to access the configured execution context.
- SpecFor
- Type alias for the configured runtime specification identifier.
- TxEnv
For - Type alias for the configured transaction environment.
- TxExecution
Result For std - Detached transaction result accepted by the configured block executor.
- TxResult
With State For - Type alias for a configured EVM transaction result with detached state changes.