Skip to content

Commit

Permalink
Upgrade to risc0 1.2.1-rc.1 (#138)
Browse files Browse the repository at this point in the history
* update risc0

* patch homestead sigs

* patch trie db

* revert to MemDB

* feat: hashbrown perf

* fix batching changeset updates

* downgrade journal mismatch to warning message

* copyright years

* todo nit

* readme nit

* use alloy-primitives hashmap
  • Loading branch information
hashcashier authored Jan 15, 2025
1 parent 11d9ab3 commit 4e1ee0b
Show file tree
Hide file tree
Showing 24 changed files with 2,177 additions and 348 deletions.
113 changes: 66 additions & 47 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 7 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,16 @@ opt-level = 3

# RISC Zero
[workspace.dependencies.bonsai-sdk]
git = "https://github.com/risc0/risc0"
rev = "8801e2e3cd030acea2f03f01bd91f37e47e79e23"
version = "1.2.1-rc.1"
features = ["non_blocking"]

[workspace.dependencies.risc0-build]
git = "https://github.com/risc0/risc0"
rev = "8801e2e3cd030acea2f03f01bd91f37e47e79e23"
version = "1.2.1-rc.1"
features = ["unstable"]

[workspace.dependencies.risc0-zkvm]
git = "https://github.com/risc0/risc0"
rev = "8801e2e3cd030acea2f03f01bd91f37e47e79e23"
default-features = false
features = ["bonsai"]
version = "1.2.1-rc.1"
features = ["unstable"]

# External
[workspace.dependencies]
Expand All @@ -40,7 +36,7 @@ alloy = { version = "0.4.2", features = ["full"] }
alloy-chains = "0.1.38"
alloy-consensus = "0.4.2"
alloy-genesis = "0.4.2"
alloy-primitives = { version = "0.8.8", default-features = false, features = ["k256"] }
alloy-primitives = { version = "0.8.18", default-features = false, features = ["k256", "map-hashbrown"] }
alloy-rlp = "0.3.8"
op-alloy-consensus = "0.4.0"
op-alloy-network = "0.4.0"
Expand Down Expand Up @@ -92,12 +88,13 @@ bincode = "1.3.3"
bytemuck = "1.19.0"
clap = { version = "4.0", features = ["derive"] }
env_logger = "0.11.5"
hashbrown = { version = "0.15.2", features = ["rayon"] }
k256 = { version = "0.13.3", features = ["serde", "pem"] }
log = "0.4.22"
flate2 = "1.0.34"
once_cell = "1.20.2"
pot = "3.0.1"
rkyv = "0.8.9"
rkyv = { version = "0.8.9", features = ["hashbrown-0_15"] }
serde = { version = "1.0.210", features = ["derive"] }
serde_json = { version = "1.0.128", features = ["alloc"] }
serde_with = "3.11.0"
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.1.3 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.2.1-rc.1` 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
Loading

0 comments on commit 4e1ee0b

Please sign in to comment.