Module execute
Available on crate feature
evm
only.Expand description
EVM environment configuration. Traits for execution.
Structs§
- Basic
Block Executor - A generic block executor that uses a
BlockExecutor
to execute blocks. - Basic
Block Executor Provider - A generic block executor provider that can create executors using a strategy factory.
- Block
Assembler Input - Input for block building. Consumed by
BlockAssembler
. - Block
Builder Outcome - Output of block building.
- Block
Execution Output BlockExecutionResult
combined with state.- 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 - Block validation error.
- Internal
Block Execution Error - Internal (i.e., not validation or consensus related)
BlockExecutor
Errors - Provider
Error - Bundled errors variants thrown by various providers.
Traits§
- Block
Assembler - A type that knows how to assemble a block.
- Block
Builder - A type that knows how to execute and build a block.
- Block
Executor - A type that knows how to execute a single block.
- Block
Executor Factory - A factory that can create
BlockExecutor
s. - Block
Executor Provider - A type that can create a new executor for block execution.
- Executor
- A type that knows how to execute a block. It is assumed to operate on a
crate::Evm
internally and use [State
] as database.