Skip to main content

Module execute

Module execute 

Source
Available on crate feature evm only.
Expand description

EVM environment configuration. Traits for execution.

Structs§

BasicBlockBuilder
A block builder backed by a configured BlockExecutor.
BasicBlockExecutorstd
Generic block executor backed by a ConfigureEvm implementation.
BlockAssemblerInput
Input for block assembly.
BlockBuilderOutcome
Output of block building.
BlockExecutionOutput
BlockExecutionResult combined with state.
ExecutionOutcome
Represents the outcome of block execution, including post-execution changes and reverts.
GasOutput
Gas used by a successfully executed transaction.
ReceiptBuilderCtx
Context for building a transaction receipt from an execution result.
WithTxEnv
A transaction stored together with its TxEnv.

Enums§

BlockExecutionError
Block executor errors.
BlockValidationError
Block validation error.
CommitChanges
Whether a block executor commits an executed transaction.
InternalBlockExecutionError
Internal, i.e. not validation or consensus related, block executor errors.

Traits§

BlockAssembler
A type that assembles a block from execution output.
BlockBuilder
A type that knows how to execute transactions and assemble a block.
BlockExecutor
A configured block executor.
BlockExecutorFactory
A type that creates configured block executors.
BlockTransactionResult
A detached block transaction output containing its raw execution result.
Evm
A configured EVM instance.
ExecutableTxFor
A helper trait marking a type that can be converted into an ExecutableTxParts for block executor.
ExecutableTxParts
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.
ExecutorTx
Executable transaction consumed by a block executor.
FromRecoveredTx
Converts a recovered transaction into the configured transaction environment.
FromTxWithEncoded
Converts a recovered transaction with its encoded bytes into the configured transaction environment.
IntoTxEnv
Converts transaction wrappers into the configured transaction environment.
InvalidTxError
Abstraction over transaction validation errors.
ReceiptBuilder
Builds chain-specific receipts from raw transaction execution results.
RecoveredTx
Helper trait to abstract over different Recovered<T> implementations.
TransactionEnvMut
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.