-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Splits out the executor in the client program into its own crate, so that it may be used downstream by other backends more easily. It is not coupled to any of the `kona-preimage` platforms, so teams like succinct can implement their own backends for the trie traits.
- Loading branch information
Showing
19 changed files
with
101 additions
and
43 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
//! Contains the L2-specifc contstructs of the client program, such as the | ||
//! [StatelessL2BlockExecutor] | ||
//! Contains the L2-specifc contstructs of the client program. | ||
mod executor; | ||
pub use executor::{StatelessL2BlockExecutor, TrieDBHintWriter}; | ||
mod trie_hinter; | ||
pub use trie_hinter::TrieDBHintWriter; | ||
|
||
mod chain_provider; | ||
pub use chain_provider::OracleL2ChainProvider; |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[package] | ||
name = "kona-executor" | ||
description = "An no_std implementation of a stateless L2 block executor for the OP Stack." | ||
version = "0.0.1" | ||
edition.workspace = true | ||
authors.workspace = true | ||
license.workspace = true | ||
repository.workspace = true | ||
homepage.workspace = true | ||
|
||
[dependencies] | ||
# workspace | ||
anyhow.workspace = true | ||
tracing.workspace = true | ||
alloy-primitives = { workspace = true, features = ["rlp"] } | ||
alloy-rlp.workspace = true | ||
alloy-eips.workspace = true | ||
alloy-consensus.workspace = true | ||
op-alloy-consensus.workspace = true | ||
revm = { workspace = true, features = ["optimism"] } | ||
|
||
# local | ||
kona-mpt = { path = "../mpt", version = "0.0.1" } | ||
kona-derive = { path = "../derive", version = "0.0.1" } | ||
|
||
[dev-dependencies] | ||
serde = { version = "1.0.197", features = ["derive"] } | ||
serde_json = "1.0.117" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# `kona-executor` | ||
|
||
A `no_std` implementation of a stateless block executor for the OP stack, backed by [`kona-mpt`](../mpt)'s `TrieDB`. |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.