Expand description
Traits for configuring EVM specifics.
Re-exports§
pub use execute::BlockAssembler;pub use execute::BlockAssemblerInput;pub use execute::BlockBuilder;pub use execute::BlockBuilderOutcome;pub use execute::BlockExecutor;pub use execute::BlockExecutorFactory;pub use execute::Evm;pub use execute::ExecutableTxFor;pub use execute::ExecutableTxParts;pub use execute::Executor;pub use execute::ExecutorTx;pub use execute::FromRecoveredTx;pub use execute::FromTxWithEncoded;pub use execute::IntoTxEnv;pub use execute::ReceiptBuilder;pub use execute::RecoveredTx;pub use execute::TransactionEnvMut;pub use execute::WithTxEnv;
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
Execution Output - [
BlockExecutionResult] combined 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.
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
Transaction Result - A detached block transaction output containing its raw execution result.
- Configure
Engine Evm std ConfigureEvmextension providing methods for executing payloads.- Configure
Evm - A complete configuration of EVM for Reth.
- Convert
Tx std - 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]. - EvmEnv
- Resolved EVM environment data needed by the EVM execution path.
- Executable
TxIterator std - Iterator over executable transactions.
- Executable
TxTuple std - 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.
- 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.
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.