Skip to content

Commit

Permalink
fix zkvm compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
fborello-lambda committed Nov 4, 2024
1 parent b2e429d commit 1142cad
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
13 changes: 3 additions & 10 deletions crates/l2/prover/zkvm/interface/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,13 @@ version = "0.1.0"
edition = "2021"

[dependencies]
serde = { version = "1.0", default-features = false, features = ["derive"] }
thiserror = "1.0.64"

ethereum_rust-storage = { path = "../../../../storage/store" }

# revm
revm = { version = "14.0.3", features = [
"std",
"serde",
"kzg-rs",
], default-features = false }

[build-dependencies]
risc0-build = { version = "1.1.2" }
## cc version 1.1.34 breaks the compilation, testing if it breaks compilation
## https://github.com/rust-lang/cc-rs/compare/cc-v1.1.34...main
cc = "=1.1.34"

[package.metadata.risc0]
methods = ["guest"]
Expand Down
4 changes: 2 additions & 2 deletions crates/l2/prover/zkvm/interface/guest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ ethereum_rust-blockchain = { path = "../../../../../blockchain", default-feature
crypto-bigint = { git = "https://github.com/risc0/RustCrypto-crypto-bigint", tag = "v0.5.5-risczero.0" }
k256 = { git = "https://github.com/risc0/RustCrypto-elliptic-curves", tag = "k256/v0.13.3-risczero.0" }
sha2 = { git = "https://github.com/risc0/RustCrypto-hashes", tag = "sha2-v0.10.6-risczero.0" }
secp256k1 = { git = "https://github.com/sp1-patches/rust-secp256k1", branch = "patch-secp256k1-v0.29.1" }
ecdsa-core = { git = "https://github.com/sp1-patches/signatures", package = "ecdsa", branch = "patch-ecdsa-v0.16.9" }
secp256k1 = { git = "https://github.com/sp1-patches/rust-secp256k1", tag = "secp256k1-v0.29.1-patch-v1" }
ecdsa-core = { git = "https://github.com/sp1-patches/signatures", package = "ecdsa", tag = "ecdsa-v0.16.9-patch-v1" }
1 change: 1 addition & 0 deletions crates/vm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,6 @@ path = "./vm.rs"
default = ["libmdbx", "c-kzg", "blst"]
l2 = []
c-kzg = ["revm/c-kzg"]
prover = ["revm/std", "revm/kzg-rs", "revm/serde"]
blst = ["revm/blst"]
libmdbx = ["ethereum_rust-storage/default", "ethereum_rust-core/libmdbx"]

0 comments on commit 1142cad

Please sign in to comment.