Skip to content

Commit 79eb6b3

Browse files
committed
fix: correctly setting risc0 tiny-keccak patch
1 parent 5e43630 commit 79eb6b3

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

aggregation_mode/aggregation_programs/Cargo.lock

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

aggregation_mode/aggregation_programs/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,8 @@ version = "0.1.0"
44
edition = "2021"
55
resolver = "2"
66
members = ["sp1", "risc0"]
7+
8+
[patch.crates-io]
9+
# Adding RISC Zero keccak precompile support
10+
tiny-keccak = { git = "https://github.com/risc0/tiny-keccak", tag = "tiny-keccak/v2.0.2-risczero.0" }
11+

aggregation_mode/aggregation_programs/risc0/Cargo.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@ resolver = "2"
77
[dependencies]
88
serde = { version = "1.0.203" }
99
serde_json = "1.0.117"
10-
risc0-zkvm = { git = "https://github.com/risc0/risc0", tag="v2.0.0", default-features = false, features = ["std"] }
10+
# Unstable feature is necessary for tiny-keccak patch, see: https://dev.risczero.com/api/zkvm/precompiles#stability
11+
risc0-zkvm = { git = "https://github.com/risc0/risc0", tag="v2.0.0", default-features = false, features = ["unstable", "std"] }
1112
tiny-keccak = { version = "2.0.2", features = ["keccak"] }
1213

13-
[patch.crates-io]
14-
tiny-keccak = { git = "https://github.com/risc0/tiny-keccak", tag = "tiny-keccak/v2.0.2-risczero.0", features = ["keccak"]}
15-
1614
[lib]
1715
path = "./src/lib.rs"
1816

0 commit comments

Comments
 (0)