Skip to content

Commit

Permalink
add [features] sp1-cycle-tracker in guest
Browse files Browse the repository at this point in the history
  • Loading branch information
CeciliaZ030 committed Jun 11, 2024
1 parent 0faf86e commit 4364c4a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 25 deletions.
40 changes: 17 additions & 23 deletions provers/sp1/guest/Cargo.lock

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

12 changes: 10 additions & 2 deletions provers/sp1/guest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,25 @@ revm-precompile = { git = "https://github.com/taikoxyz/revm.git", branch = "v35-
"taiko",
"std",
"c-kzg",
"sp1-cycle-tracker"
] }
revm-primitives = { git = "https://github.com/taikoxyz/revm.git", branch = "v35-taiko", default-features = false }
sha2-v0-10-8 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", package = "sha2", branch = "v0.10.8" }
sp1-precompiles = { git = "https://github.com/succinctlabs/sp1.git", branch = "main"}
harness-core = { path = "../../../harness/core" }
harness = { path = "../../../harness/macro", features = ["sp1"]}
substrate-bn = "0.6.0"

alloy-consensus = { git = "https://github.com/ceciliaz030/alloy", branch = "175_4e22b9e-cycle", optional = true, features = [
"serde",
] }
[patch.crates-io]
# Cant's use ZkOp for keccak since it's not precompile
ecdsa = { git = "https://github.com/taikoxyz/signatures.git", branch = "0.16.9", package = "ecdsa", default-features = false, features = ["der"] }
tiny-keccak = { git = "https://github.com/sp1-patches/tiny-keccak", branch = "patch-v2.0.2" }
secp256k1 = { git = "https://github.com/CeciliaZ030/rust-secp256k1", branch = "sp1-patch", features = ["recovery", "sp1"]}

[features]
sp1-cycle-tracker = [
"alloy-consensus/sp1-cycle-tracker",
"raiko-lib/sp1-cycle-tracker",
"revm-precompile/sp1-cycle-tracker"
]

0 comments on commit 4364c4a

Please sign in to comment.