-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(host): Support multiple entrypoints
- Loading branch information
Showing
15 changed files
with
561 additions
and
458 deletions.
There are no files selected for viewing
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
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,10 @@ | ||
//! Ethereum utilities for the host binary. | ||
mod blobs; | ||
pub use blobs::{ | ||
APIConfigResponse, APIGenesisResponse, OnlineBlobProvider, ReducedConfigData, | ||
ReducedGenesisData, | ||
}; | ||
|
||
mod precompiles; | ||
pub(crate) use precompiles::execute; |
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,11 @@ | ||
//! Fetcher trait definition. | ||
use kona_preimage::{HintRouter, PreimageFetcher}; | ||
|
||
/// The Fetcher trait is used to define the interface for fetching data from the preimage oracle, | ||
/// by [PreimageKey], and routing hints. | ||
/// | ||
/// [PreimageKey]: kona_preimage::PreimageKey | ||
pub trait Fetcher: PreimageFetcher + HintRouter {} | ||
|
||
impl<T> Fetcher for T where T: PreimageFetcher + HintRouter {} |
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
Oops, something went wrong.