Expand description
Traits for execution.
Structs§
- Basic
Batch Executor - A generic batch executor that uses a
BlockExecutionStrategy
to execute batches. - Basic
Block Executor - A generic block executor that uses a
BlockExecutionStrategy
to execute blocks. - Basic
Block Executor Provider - A generic block executor provider that can create executors using a strategy factory.
- Block
Execution Input - A helper type for ethereum block inputs that consists of a block and the total difficulty.
- Block
Execution Output - The output of an ethereum block.
- Execute
Output - Helper type for the output of executing a block.
- Execution
Outcome - Represents the outcome of block execution, including post-execution changes and reverts.
Enums§
- Block
Execution Error BlockExecutor
Errors- Block
Validation Error - Transaction validation errors
- Internal
Block Execution Error - Internal (i.e., not validation or consensus related)
BlockExecutor
Errors - Provider
Error - Bundled errors variants thrown by various providers.
Traits§
- Batch
Executor - A general purpose executor that can execute multiple inputs in sequence, validate the outputs, and keep track of the state over the entire batch.
- Block
Execution Strategy - Defines the strategy for executing a single block.
- Block
Execution Strategy Factory - A strategy factory that can create block execution strategies.
- Block
Executor Provider - A type that can create a new executor for block execution.
- Executor
- A general purpose executor trait that executes an input (e.g. block) and produces an output (e.g. state changes and receipts).
Functions§
- balance_
increment_ state - Creates an
EvmState
from a map of balance increments and the current state to load accounts from. No balance increment is done in the function. Zero balance increments are ignored and won’t create state entries.