Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

WIP: Adding a script to fetch data from a RPC provider & then verify the EVM STF inside a zkVM program #1

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
408 changes: 398 additions & 10 deletions Cargo.lock

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ members = [
"testing/ef-tests/",
"testing/testing-utils",
"testing/zkvm",
"testing/zkvm-script"
]
default-members = ["bin/reth"]

Expand Down Expand Up @@ -300,13 +301,14 @@ alloy-rpc-types-beacon = { git = "https://github.com/alloy-rs/alloy", rev = "f1d
alloy-genesis = { git = "https://github.com/alloy-rs/alloy", rev = "f1d7085" }
alloy-node-bindings = { git = "https://github.com/alloy-rs/alloy", rev = "f1d7085" }
alloy-provider = { git = "https://github.com/alloy-rs/alloy", rev = "f1d7085", default-features = false, features = [
"reqwest",
"reqwest"
] }
alloy-eips = { git = "https://github.com/alloy-rs/alloy", default-features = false, rev = "f1d7085" }
alloy-signer = { git = "https://github.com/alloy-rs/alloy", rev = "f1d7085" }
alloy-signer-wallet = { git = "https://github.com/alloy-rs/alloy", rev = "f1d7085" }
alloy-network = { git = "https://github.com/alloy-rs/alloy", rev = "f1d7085" }
alloy-consensus = { git = "https://github.com/alloy-rs/alloy", rev = "f1d7085" }
alloy-transport-http = { git = "https://github.com/alloy-rs/alloy", rev = "f1d7085" }

# misc
auto_impl = "1"
Expand Down
2 changes: 2 additions & 0 deletions crates/storage/provider/src/providers/state/latest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ use reth_primitives::{
use reth_trie::{proof::Proof, updates::TrieUpdates, HashedPostState};
use revm::db::BundleState;

// TODO: impl StateProviderRef::new(alloy_provider::Provider)

/// State provider over latest state that takes tx reference.
#[derive(Debug)]
pub struct LatestStateProviderRef<'b, TX: DbTx> {
Expand Down
Loading
Loading