Skip to content

Commit 20b7d61

Browse files
committed
docs: update how to run proof aggregator readme
1 parent 01f60f4 commit 20b7d61

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed

aggregation_mode/README.md

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@
55
1. Deploy aligned contracts on anvil:
66

77
```shell
8-
make deploy_aligned_contracts
8+
make anvil_deploy_risc0_contracts
9+
make anvil_deploy_sp1_contracts
10+
make anvil_deploy_aligned_contracts
911
```
1012

1113
2. Start anvil:
1214

1315
```shell
14-
make anvil_start_with_block_time
16+
make anvil_start
1517
```
1618

1719
3. Start batcher
@@ -20,29 +22,38 @@ make anvil_start_with_block_time
2022
make start_batcher_local
2123
```
2224

23-
4. Send SP1 proofs:
25+
4. Send SP1/Risc0 proofs:
2426

2527
```shell
2628
make batcher_send_sp1_burst
29+
make batcher_send_risc0_burst
2730
```
2831

32+
Notes:
33+
34+
- For SP1 only `compressed` proofs are supported
35+
- For Risc0 both `succinct` and `composite` proofs are supported.
36+
2937
5. Start proof aggregator:
3038

3139
```shell
3240
# This will not run a real prover but a mocked one see below to run a real prover
33-
make start_proof_aggregator_local
41+
make start_proof_aggregator_dev AGGREGATOR="sp1|risc0"
3442
```
3543

3644
or
3745

3846
```shell
39-
make start_proof_aggregator_local_with_proving
47+
make start_proof_aggregator AGGREGATOR="sp1|risc0"
4048
```
4149

42-
Note: Proving can be quite slow without GPUs, to activate gpu run:
50+
Notes:
51+
52+
- Stark2Snark is only supported for x86 architecture in Risc0, so you won't be able to run the risc0 aggregator on Apple Silicon.
53+
- Proving can be quite slow without GPUs, to activate gpu run:
4354

4455
```shell
45-
make start_proof_aggregator_local_with_proving_gpu
56+
make start_proof_aggregator_gpu AGGREGATOR="sp1|risc0"
4657
```
4758

4859
### Check the logs

0 commit comments

Comments
 (0)