@@ -166,14 +166,18 @@ is_aggregator_set:
166166 exit 1; \
167167 fi
168168
169- start_proof_aggregator_dev : is_aggregator_set # # Starts proof aggregator with mock proofs (DEV mode)
170- AGGREGATOR=$(AGGREGATOR ) RISC0_DEV_MODE=1 cargo run --manifest-path ./aggregation_mode/Cargo.toml --release -- config-files/config-proof-aggregator-mock.yaml
169+ reset_last_aggregated_block :
170+ @echo " Resetting last aggregated block..."
171+ @echo ' {"last_aggregated_block":0}' > config-files/proof-aggregator.last_aggregated_block.json
171172
172- start_proof_aggregator : is_aggregator_set # # Starts proof aggregator with proving activated
173- AGGREGATOR=$(AGGREGATOR ) cargo run --manifest-path ./aggregation_mode/Cargo.toml --release --features prove -- config-files/config-proof-aggregator.yaml
173+ start_proof_aggregator_dev : is_aggregator_set reset_last_aggregated_block # # Starts proof aggregator with mock proofs (DEV mode)
174+ AGGREGATOR=$(AGGREGATOR ) RISC0_DEV_MODE=1 cargo run --manifest-path ./aggregation_mode/Cargo.toml --release --bin proof_aggregator -- config-files/config-proof-aggregator-mock .yaml
174175
175- start_proof_aggregator_gpu : is_aggregator_set # # Starts proof aggregator with proving + GPU acceleration (CUDA)
176- AGGREGATOR=$(AGGREGATOR ) SP1_PROVER=cuda cargo run --manifest-path ./aggregation_mode/Cargo.toml --release --features prove,gpu -- config-files/config-proof-aggregator.yaml
176+ start_proof_aggregator : is_aggregator_set reset_last_aggregated_block # # Starts proof aggregator with proving activated
177+ AGGREGATOR=$(AGGREGATOR ) cargo run --manifest-path ./aggregation_mode/Cargo.toml --release --features prove --bin proof_aggregator -- config-files/config-proof-aggregator.yaml
178+
179+ start_proof_aggregator_gpu : is_aggregator_set reset_last_aggregated_block # # Starts proof aggregator with proving + GPU acceleration (CUDA)
180+ AGGREGATOR=$(AGGREGATOR ) SP1_PROVER=cuda cargo run --manifest-path ./aggregation_mode/Cargo.toml --release --features prove,gpu --bin proof_aggregator -- config-files/config-proof-aggregator.yaml
177181
178182verify_aggregated_proof_sp1_holesky_stage :
179183 @echo " Verifying SP1 in aggregated proofs on holesky..."
@@ -200,7 +204,11 @@ verify_aggregated_proof_risc0_holesky_stage:
200204 --rpc_url https://ethereum-holesky-rpc.publicnode.com
201205
202206install_aggregation_mode : # # Install the aggregation mode with proving enabled
203- cargo install --path aggregation_mode --features prove
207+ cargo install --path aggregation_mode --features prove,gpu --bin proof_aggregator
208+
209+ agg_mode_write_program_ids : # # Write proof aggregator zkvm programs ids
210+ @cd aggregation_mode && \
211+ cargo run --release --bin write_program_image_id_vk_hash
204212
205213_AGGREGATOR_ :
206214
@@ -568,6 +576,11 @@ batcher_send_burst_groth16: batcher/target/release/aligned
568576 @mkdir -p scripts/test_files/gnark_groth16_bn254_infinite_script/infinite_proofs
569577 @./batcher/aligned/send_burst_tasks.sh $(BURST_SIZE ) $(START_COUNTER )
570578
579+ batcher_send_proof_with_random_address :
580+ @cd batcher/aligned/ && ./send_proof_with_random_address.sh
581+
582+ batcher_send_burst_with_random_address :
583+ @cd batcher/aligned/ && ./send_burst_with_random_address.sh
571584
572585__TASK_SENDER__ :
573586BURST_TIME_SECS ?= 3
0 commit comments