File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -151,11 +151,18 @@ anvil_start_with_more_prefunded_accounts:
151151 anvil --load-state contracts/scripts/anvil/state/alignedlayer-deployed-anvil-state.json --block-time 7 -a 2000
152152
153153__AGGREGATION_MODE__ : # # ____
154- start_proof_aggregator_local : # # Start the proof aggregator locally using Mock Verifier Contract
155- cargo run --manifest-path ./aggregation_mode/Cargo.toml --release -- config-files/config-proof-aggregator-mock.yaml
156154
157- start_proof_aggregator_local_with_proving : # # Start the proof aggregator locally using SP1 Verifier Contract
158- cargo run --manifest-path ./aggregation_mode/Cargo.toml --release --features prove -- config-files/config-proof-aggregator.yaml
155+ is_aggregator_set :
156+ @if [ -z " $( AGGREGATOR) " ]; then \
157+ echo " Error: AGGREGATOR is not set. Please provide arg AGGREGATOR='sp1' or 'risc0'." ; \
158+ exit 1; \
159+ fi
160+
161+ start_proof_aggregator_local : is_aggregator_set # # Start the proof aggregator locally using Mock Verifier Contract
162+ RISC0_DEV_MODE=1 cargo run --manifest-path ./aggregation_mode/Cargo.toml --release --features $(AGGREGATOR ) -- config-files/config-proof-aggregator-mock.yaml
163+
164+ start_proof_aggregator_local_with_proving : is_aggregator_set # # Start the proof aggregator locally using SP1 Verifier Contract
165+ cargo run --manifest-path ./aggregation_mode/Cargo.toml --release --features prove,$(AGGREGATOR ) -- config-files/config-proof-aggregator.yaml
159166
160167_AGGREGATOR_ :
161168
You can’t perform that action at this time.
0 commit comments