Module block
Available on crate feature
evm
only.Expand description
Block execution abstraction.
Modules§
- calc
- Helpers to perform common calculations.
Structs§
- Block
Execution Result - The result of executing a block.
- Noop
Hook - An
OnStateHook
that does nothing. - System
Caller - An ephemeral helper type for executing system calls.
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 - State
Change Post Block Source - Source of the post-block state change
- State
Change PreBlock Source - Source of the pre-block state change
- State
Change Source - Source of the state change
Traits§
- Block
Executor - A type that knows how to execute a single block.
- Block
Executor Factory - A factory that can create
BlockExecutor
s. - Block
Executor For - A helper trait encapsulating the constraints on
BlockExecutor
produced by theBlockExecutorFactory
to avoid duplicating them in every implementation. - OnState
Hook - A hook that is called after each state change.