Crate kona_executor

Source
Expand description

§kona-executor

CI Kona Stateless Executor License Codecov

A no_std implementation of a stateless block executor for the OP stack, backed by kona-mpt’s TrieDB.

Structs§

ExecutionArtifacts
The ExecutionArtifacts holds the produced block header and receipts from the execution of a block.
NoopTrieDBProvider
The default, no-op implementation of the TrieDBProvider trait, used for testing.
StatelessL2BlockExecutor
The block executor for the L2 client program. Operates off of a TrieDB backed State, allowing for stateless block execution of OP Stack blocks.
StatelessL2BlockExecutorBuilder
The builder pattern for the StatelessL2BlockExecutor.
TrieDB
A Trie DB that caches open state in-memory.

Enums§

ExecutorError
The error type for the StatelessL2BlockExecutor.
TrieDBError
An error type for TrieDB operations.

Traits§

TrieDBProvider
The TrieDBProvider trait defines the synchronous interface for fetching EVM bytecode hash preimages as well as Header preimages.

Type Aliases§

ExecutorResult
A Result type for the ExecutorError enum.
KonaHandleRegister
A type alias for the revm::handler::register::HandleRegister for kona’s block executor.
TrieDBResult
A Result type alias where the error is TrieDBError.