Module execute

Source
Expand description

Traits for execution.

Structs§

BasicBatchExecutor
A generic batch executor that uses a BlockExecutionStrategy to execute batches.
BasicBlockExecutor
A generic block executor that uses a BlockExecutionStrategy to execute blocks.
BasicBlockExecutorProvider
A generic block executor provider that can create executors using a strategy factory.
BlockExecutionInput
A helper type for ethereum block inputs that consists of a block and the total difficulty.
BlockExecutionOutput
The output of an ethereum block.
ExecuteOutput
Helper type for the output of executing a block.
ExecutionOutcome
Represents the outcome of block execution, including post-execution changes and reverts.

Enums§

BlockExecutionError
BlockExecutor Errors
BlockValidationError
Transaction validation errors
InternalBlockExecutionError
Internal (i.e., not validation or consensus related) BlockExecutor Errors
ProviderError
Bundled errors variants thrown by various providers.

Traits§

BatchExecutor
A general purpose executor that can execute multiple inputs in sequence, validate the outputs, and keep track of the state over the entire batch.
BlockExecutionStrategy
Defines the strategy for executing a single block.
BlockExecutionStrategyFactory
A strategy factory that can create block execution strategies.
BlockExecutorProvider
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.