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
+10-15Lines changed: 10 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,59 +4,54 @@
4
4
## How to run it locally
5
5
6
6
1. Deploy aligned contracts on anvil:
7
+
7
8
```shell
8
9
make deploy_aligned_contracts
9
10
```
10
11
11
12
2. Start anvil:
13
+
12
14
```shell
13
15
make anvil_start_with_block_time
14
16
```
15
17
16
18
3. Start batcher
19
+
17
20
```shell
18
21
make start_batcher_local
19
22
```
20
23
21
24
4. Send SP1 proofs:
25
+
22
26
```shell
23
27
make batcher_send_sp1_burst
24
28
```
25
29
26
30
5. Start proof aggregator:
27
-
```shell
31
+
32
+
```shell
28
33
# This will not run a real prover but a mocked one see below to run a real prover
29
34
make start_proof_aggregator_local
30
35
```
31
-
Note: it might take a while to compile as it uses more aggressive optimization levels.
32
-
33
-
You should it will fetch the new batch logs from the BatcherService and aggregate the compressed SP1 proofs from them.
34
36
35
-
### Run it with proving
37
+
or
36
38
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_verification
42
-
```
43
-
44
-
4. Start proof aggregator with proving:
45
39
```shell
46
40
make start_proof_aggregator_local_with_proving
47
41
```
48
42
49
-
Note: Unless you constraint yourself to a few proofs, this requires a powerful machine with GPU.
0 commit comments