Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,635 changes: 624 additions & 1,011 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion crates/common/crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ openvm-kzg = ["dep:openvm-kzg"]
kzg-rs = ["dep:kzg-rs"]

risc0 = ["c-kzg/std", "c-kzg/ethereum_kzg_settings", "c-kzg/portable", "std"]
openvm = ["openvm-kzg"]
openvm = []

[lints]
workspace = true
24 changes: 23 additions & 1 deletion crates/guest-program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,19 @@ libssz-merkle = { workspace = true, optional = true }
# zkVM crypto dependencies (pure Rust, compile for RISC-V targets)
k256 = { workspace = true, optional = true }
substrate-bn = { version = "0.6.0", optional = true }
num-bigint = { version = "0.4.6", default-features = false, optional = true }
hex-literal = { version = "0.4.1", optional = true }
ziskos = { git = "https://github.com/0xPolygonHermez/zisk.git", tag = "v0.16.1", optional = true, default-features = false, features = ["inputcpy"] }

# OpenVM guest-lib accelerators (optional, behind "openvm" feature)
openvm-keccak256 = { git = "https://github.com/openvm-org/openvm.git", tag = "v2.0.0-beta.1", optional = true }
openvm-sha2 = { git = "https://github.com/openvm-org/openvm.git", tag = "v2.0.0-beta.1", optional = true }
openvm-algebra-guest = { git = "https://github.com/openvm-org/openvm.git", tag = "v2.0.0-beta.1", optional = true }
openvm-ecc-guest = { git = "https://github.com/openvm-org/openvm.git", tag = "v2.0.0-beta.1", optional = true }
openvm-pairing-guest = { git = "https://github.com/openvm-org/openvm.git", tag = "v2.0.0-beta.1", optional = true, features = ["bn254", "bls12_381"] }
openvm-pairing = { git = "https://github.com/openvm-org/openvm.git", tag = "v2.0.0-beta.1", optional = true, features = ["bn254", "bls12_381"] }
openvm-p256 = { git = "https://github.com/openvm-org/openvm.git", tag = "v2.0.0-beta.1", optional = true, package = "p256", features = ["ecdsa"] }

[build-dependencies]
hex.workspace = true
risc0-build = { version = "=3.0.3", optional = true }
Expand All @@ -49,7 +60,18 @@ zisk = [
"dep:k256", "dep:substrate-bn", "dep:ziskos",
"ethrex-common/zisk", "ethrex-vm/zisk", "ethrex-l2-common/zisk",
]
openvm = ["dep:k256", "ethrex-l2-common/secp256k1"]
openvm = [
"dep:k256",
"dep:num-bigint",
"dep:hex-literal",
"dep:openvm-keccak256",
"dep:openvm-sha2",
"dep:openvm-algebra-guest",
"dep:openvm-ecc-guest",
"dep:openvm-pairing-guest",
"dep:openvm-pairing",
"dep:openvm-p256",
]

# Build-ELF features: base + build tooling for compiling guest ELFs.
# Used by the prover host. Enabling these triggers the build script which
Expand Down
Loading
Loading