Module block

Available on crate feature evm only.
Expand description

Block execution abstraction.

Modules§

calc
Helpers to perform common calculations.

Structs§

BlockExecutionResult
The result of executing a block.
NoopHook
An OnStateHook that does nothing.
SystemCaller
An ephemeral helper type for executing system calls.

Enums§

BlockExecutionError
BlockExecutor Errors
BlockValidationError
Block validation error.
InternalBlockExecutionError
Internal (i.e., not validation or consensus related) BlockExecutor Errors
StateChangePostBlockSource
Source of the post-block state change
StateChangePreBlockSource
Source of the pre-block state change
StateChangeSource
Source of the state change

Traits§

BlockExecutor
A type that knows how to execute a single block.
BlockExecutorFactory
A factory that can create BlockExecutors.
BlockExecutorFor
A helper trait encapsulating the constraints on BlockExecutor produced by the BlockExecutorFactory to avoid duplicating them in every implementation.
OnStateHook
A hook that is called after each state change.