Skip to content

Commit b130efa

Browse files
committed
chore: targets to verify agg proof
1 parent 4478134 commit b130efa

2 files changed

Lines changed: 28 additions & 3 deletions

File tree

Makefile

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,31 @@ start_proof_aggregator: is_aggregator_set ## Starts proof aggregator with provin
167167
start_proof_aggregator_gpu: is_aggregator_set ## Starts proof aggregator with proving + GPU acceleration (CUDA)
168168
SP1_PROVER=cuda cargo run --manifest-path ./aggregation_mode/Cargo.toml --release --features prove,gpu,$(AGGREGATOR) -- config-files/config-proof-aggregator.yaml
169169

170+
verify_aggregated_proof_sp1_holesky_stage:
171+
@echo "Verifying SP1 in aggregated proofs on holesky..."
172+
@cd batcher/aligned/ && \
173+
cargo run verify-agg-proof \
174+
--network holesky-stage \
175+
--from-block $(FROM_BLOCK) \
176+
--proving_system SP1 \
177+
--public_input ../../scripts/test_files/sp1/sp1_fibonacci_4_1_3.pub \
178+
--program-id-file ../../scripts/test_files/sp1/sp1_fibonacci_4_1_3.vk \
179+
--beacon_url $(BEACON_URL) \
180+
--rpc_url https://ethereum-holesky-rpc.publicnode.com
181+
182+
verify_aggregated_proof_risc0_holesky_stage:
183+
@echo "Verifying RISC0 in aggregated proofs on holesky..."
184+
@cd batcher/aligned/ && \
185+
cargo run verify-agg-proof \
186+
--network holesky-stage \
187+
--from-block $(FROM_BLOCK) \
188+
--proving_system Risc0 \
189+
--program-id-file ../../scripts/test_files/risc_zero/fibonacci_proof_generator/fibonacci_id_2_0.bin \
190+
--public_input ../../scripts/test_files/risc_zero/fibonacci_proof_generator/risc_zero_fibonacci_2_0.pub \
191+
--beacon_url $(BEACON_URL) \
192+
--rpc_url https://ethereum-holesky-rpc.publicnode.com
193+
194+
170195
_AGGREGATOR_:
171196

172197
build_aggregator:
@@ -461,8 +486,8 @@ batcher_send_risc0_burst:
461486
--public_input ../../scripts/test_files/risc_zero/fibonacci_proof_generator/risc_zero_fibonacci_2_0.pub \
462487
--repetitions $(BURST_SIZE) \
463488
--proof_generator_addr 0x66f9664f97F2b50F62D13eA064982f936dE76657 \
464-
--rpc_url $(RPC_URL) \
465-
--network $(NETWORK)
489+
--rpc_url https://ethereum-holesky-rpc.publicnode.com \
490+
--network holesky-stage
466491

467492
batcher_send_plonk_bn254_task: batcher/target/release/aligned
468493
@echo "Sending Groth16Bn254 1!=0 task to Batcher..."

batcher/aligned/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ pub struct VerifyProofInAggModeArgs {
327327
pub_input_file_name: Option<PathBuf>,
328328
#[arg(
329329
name = "Verification key hash",
330-
long = "--program-id-file",
330+
long = "program-id-file",
331331
required = true
332332
)]
333333
program_id_file: PathBuf,

0 commit comments

Comments
 (0)