You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: aggregation-mode/readme.md
+42-4Lines changed: 42 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,12 +13,50 @@ make deploy_aligned_contracts
13
13
make anvil_start_with_block_time
14
14
```
15
15
16
-
3. Start proof aggregator:
16
+
3. Start batcher
17
+
```shell
18
+
make start_batcher_local
19
+
```
20
+
21
+
4. Start proof aggregator:
17
22
```shell
18
-
# This will not run a real prover but a mocked
23
+
# This will not run a real prover but a mocked one see below to run a real prover
19
24
make start_proof_aggregator_local
20
-
# This will run an actual prover (requires powerful machine)
25
+
```
26
+
Note: it might take a while to compile as it uses more aggressive optimization levels.
27
+
28
+
5. Send SP1 proofs:
29
+
```shell
30
+
make batcher_send_sp1_burst
31
+
```
32
+
33
+
You should see that after the timer set in `config-proof-aggregator.yaml`, it will fetch the batches and aggregate the compressed SP1 proofs from them.
34
+
35
+
### Run it with proving
36
+
37
+
By default, on dev environments, the proving is mocked and the ProofAggregationService contract skips verification as proves are mocked. To run the service with proving you need to run change the commands on step `1.` and `4.`:
38
+
39
+
1. Start anvil with verification activated:
40
+
```shell
41
+
make anvil_start_with_block_time_and_proving
42
+
```
43
+
44
+
4. Start proof aggregator with proving:
45
+
```shell
21
46
make start_proof_aggregator_local_with_proving
22
47
```
23
48
24
-
Note: it might take a while to compile as it uses more aggressive optimization levels.
49
+
Note: Unless you constraint yourself to a few proofs, this requires a powerful machine with GPU.
0 commit comments