Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rlukata committed Feb 24, 2025
1 parent 8e5663a commit 0b947c7
Show file tree
Hide file tree
Showing 9 changed files with 856 additions and 260 deletions.
418 changes: 329 additions & 89 deletions Cargo.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ opt-level = 3

# RISC Zero
[workspace.dependencies.bonsai-sdk]
version = "1.2.2"
version = "1.3.0-rc.1"
features = ["non_blocking"]

[workspace.dependencies.risc0-build]
version = "1.2.2"
version = "2.0.0-rc.1"
features = ["unstable"]

[workspace.dependencies.risc0-zkvm]
version = "1.2.2"
version = "1.3.0-rc.1"
features = ["unstable"]

[workspace.dependencies.risc0-ethereum-trie]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ By using reth to run the block execution process within the zkVM, we obtain a ZK

## Status

Zeth uses version `1.2.2` of the RISC Zero zkVM and version 1.1.0 of reth (backed by revm 14.0.3), but its other components are not audited for use in production.
Zeth uses version `1.3.0-rc` of the RISC Zero zkVM and version 1.1.0 of reth (backed by revm 14.0.3), but its other components are not audited for use in production.

## Prerequisites
1. [rust](https://www.rust-lang.org/tools/install)
Expand Down
19 changes: 8 additions & 11 deletions guests/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,17 @@
fn main() {
let cwd = std::env::current_dir().unwrap();
let root_dir = cwd.parent().map(|d| d.to_path_buf());
let mut guest_opts = risc0_build::GuestOptionsBuilder::default();
guest_opts.use_docker(
risc0_build::DockerOptionsBuilder::default()
.root_dir(root_dir.unwrap())
.build()
.unwrap(),
);
let build_opts = std::collections::HashMap::from_iter(
["zeth-guests-reth-ethereum", "zeth-guests-reth-optimism"]
.into_iter()
.map(|guest_pkg| {
(
guest_pkg,
risc0_build::GuestOptions {
features: vec![],
use_docker: Some(risc0_build::DockerOptions {
root_dir: root_dir.clone(),
}),
},
)
}),
.map(|guest_pkg| (guest_pkg, guest_opts.build().unwrap())),
);
risc0_build::embed_methods_with_options(build_opts);
}
Expand Down
Loading

0 comments on commit 0b947c7

Please sign in to comment.