Skip to content

Commit 7e0f1a0

Browse files
committed
refactor: create aggregation mode workspace
1 parent d603f66 commit 7e0f1a0

35 files changed

+12516
-1050
lines changed

aggregation_mode/Cargo.lock

Lines changed: 1364 additions & 1001 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

aggregation_mode/Cargo.toml

Lines changed: 6 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,20 @@
1-
[package]
2-
name = "proof_aggregator"
1+
[workspace]
2+
resolver = "2"
3+
members = ["./batcher", "./proof_aggregator"]
4+
5+
[workspace.package]
36
version = "0.1.0"
47
edition = "2021"
58

6-
[dependencies]
9+
[workspace.dependencies]
710
serde = { version = "1.0.203", features = ["derive"] }
811
serde_json = "1.0.117"
912
serde_yaml = "0.9"
10-
tracing = { version = "0.1", features = ["log"] }
11-
tracing-subscriber = { version = "0.3.0", features = ["env-filter"] }
1213
alloy = { version = "1.1.1", features = ["default", "signer-keystore", "kzg"] }
13-
c-kzg = "2.1.1"
1414
bincode = "1.3.3"
15-
tokio = { version = "1", features = ["time"]}
16-
sha3 = "0.10.8"
17-
reqwest = { version = "0.12" }
18-
ciborium = "=0.2.2"
19-
lambdaworks-crypto = { git = "https://github.com/lambdaclass/lambdaworks.git", rev = "5f8f2cfcc8a1a22f77e8dff2d581f1166eefb80b", features = ["serde"]}
20-
rayon = "1.10.0"
21-
backon = "1.2.0"
22-
# Necessary for the VerificationData type
2315
aligned-sdk = { path = "../crates/sdk/" }
24-
# zkvms
2516
sp1-sdk = "5.0.0"
26-
sp1_aggregation_program = { path = "./aggregation_programs/sp1" }
2717
risc0-zkvm = { version = "3.0.3" }
28-
risc0_aggregation_program = { path = "./aggregation_programs/risc0" }
29-
risc0-ethereum-contracts = { git = "https://github.com/risc0/risc0-ethereum/", tag = "v3.0.0" }
30-
31-
[build-dependencies]
32-
sp1-build = { version = "5.0.0" }
33-
risc0-build = { version = "3.0.3" }
34-
35-
[package.metadata.risc0]
36-
# Tell risc0 build to find method in ./aggregation_programs/risc0 package
37-
methods = ["./aggregation_programs/risc0"]
3818

3919
[profile.release]
4020
opt-level = 3
41-
42-
[features]
43-
default = []
44-
prove = []
45-
gpu = ["risc0-zkvm/cuda"]
46-
47-
[[bin]]
48-
name = "proof_aggregator_cpu"
49-
path = "./src/main.rs"
50-
required-features = ["prove"]
51-
52-
[[bin]]
53-
name = "proof_aggregator_gpu"
54-
path = "./src/main.rs"
55-
required-features = ["prove", "gpu"]
56-
57-
[[bin]]
58-
name = "proof_aggregator_dev"
59-
path = "./src/main.rs"
60-
61-
[[bin]]
62-
name = "write_program_image_id_vk_hash"
63-
path = "./bin/write_program_image_id_vk_hash.rs"

0 commit comments

Comments
 (0)