Expand description
EVM environment configuration. Traits for execution.
Structs§
- Basic
Block Builder - A block builder backed by a configured
BlockExecutor. - Basic
Block Executor std - Generic block executor backed by a
ConfigureEvmimplementation. - Block
Assembler Input - Input for block assembly.
- Block
Builder Outcome - Output of block building.
- Block
Execution Output - [
BlockExecutionResult] combined with state. - Execution
Outcome - Represents the outcome of block execution, including post-execution changes and reverts.
- GasOutput
- Gas used by a successfully executed transaction.
- Receipt
Builder Ctx - Context for building a transaction receipt from an execution result.
- 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.
- Evm
- A configured EVM instance.
- Executable
TxFor - A helper trait marking a type that can be converted into an
ExecutableTxPartsfor block executor. - Executable
TxParts - Helper trait to split an executable transaction into an EVM transaction environment and its recovered transaction accessor.
- 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.
- 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.
Functions§
- map_
database_ error - Converts an owned database error using its internal-failure classification.
- map_
handler_ error - Converts a handler error into a block error without transaction hash context. Validation errors retain the original handler error for downstream classification.