Skip to content

Commit eae7505

Browse files
committed
fix: docker aggregation targets
1 parent 5ad7a0a commit eae7505

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Makefile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1178,10 +1178,16 @@ docker_verify_proof_submission_success:
11781178
'
11791179

11801180
docker_proof_aggregator_run_sp1:
1181-
docker exec $(shell docker ps | grep proof_aggregator | awk '{print $$1}') "AGGREGATOR=sp1 /aligned_layer/proof_aggregator_cpu /aligned_layer/config-files/config-proof-aggregator-docker.yaml && echo '{"last_aggregated_block":0}' > config-files/proof-aggregator.last_aggregated_block.json"
1181+
docker exec $(shell docker ps | grep proof_aggregator | awk '{print $$1}') \
1182+
sh -c 'AGGREGATOR=sp1 \
1183+
/aligned_layer/proof_aggregator_cpu /aligned_layer/config-files/config-proof-aggregator-docker.yaml \
1184+
&& echo "{\"last_aggregated_block\":0}" > config-files/proof-aggregator.last_aggregated_block.json'
11821185

11831186
docker_proof_aggregator_run_risc0:
1184-
docker exec $(shell docker ps | grep proof_aggregator | awk '{print $$1}') "AGGREGATOR=risc0 /aligned_layer/proof_aggregator_cpu /aligned_layer/config-files/config-proof-aggregator-docker.yaml && echo '{"last_aggregated_block":0}' > config-files/proof-aggregator.last_aggregated_block.json"
1187+
docker exec $(shell docker ps | grep proof_aggregator | awk '{print $$1}') \
1188+
sh -c 'AGGREGATOR=risc0 \
1189+
/aligned_layer/proof_aggregator_cpu /aligned_layer/config-files/config-proof-aggregator-docker.yaml \
1190+
&& echo "{\"last_aggregated_block\":0}" > config-files/proof-aggregator.last_aggregated_block.json'
11851191

11861192
docker_proof_aggregator_verify:
11871193
@(docker logs $$(docker ps | grep proof_aggregator | awk '{print $$1}') | grep -q "Error while aggregating and submitting proofs" && exit 1) || exit 0

0 commit comments

Comments
 (0)