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: docs/root/manual/developer-docs/nodes/mithril-aggregator.md
+41-1Lines changed: 41 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -126,6 +126,7 @@ Commands:
126
126
genesis Genesis tools
127
127
era Era tools
128
128
serve Server runtime mode
129
+
tools List of tools to upkeep the aggregator
129
130
help Print this message or the help of the given subcommand(s)
130
131
131
132
Options:
@@ -323,6 +324,42 @@ You should see something like
323
324
./mithril-aggregator era generate-tx-datum --current-era-epoch **EPOCH_AT_WHICH_CURRENT_ERA_STARTS** --next-era-epoch **EPOCH_AT_WHICH_NEXT_ERA_STARTS** --era-markers-secret-key **YOUR_ERA_ACTIVATION_SECRET_KEY**
324
325
```
325
326
327
+
## Release build and run binary 'tools' command
328
+
329
+
Build in release with default configuration
330
+
331
+
```bash
332
+
make build
333
+
```
334
+
335
+
Display the help menu
336
+
337
+
```bash
338
+
./mithril-aggregator tools --help
339
+
```
340
+
341
+
You should see
342
+
343
+
```bash
344
+
List of tools to upkeep the aggregator
345
+
346
+
Usage: mithril-aggregator tools <COMMAND>
347
+
348
+
Commands:
349
+
recompute-certificates-hash Load all certificates in the database to recompute their hash and update all related entities
350
+
help Print this message or the help of the given subcommand(s)
351
+
352
+
Options:
353
+
-h, --help Print help
354
+
```
355
+
356
+
Run 'tools recompute-certificates-hash' command in release with default configuration.
357
+
This allows the Mithril Aggregator node to recompute all of its certificates hashes, useful to avoid a chain re-genesis after an update that changes the structure of the certificates.
|`current_era_epoch`|`--current-era-epoch`| - |`CURRENT_ERA_EPOCH`| Epoch at which current era starts. | - | - | - |:heavy_check_mark:|
438
476
|`next_era_epoch`|`--next-era-epoch`| - |`NEXT_ERA_EPOCH`| Epoch at which the next era starts. If not specified and an upcoming era is available, it will announce the next era. If specified, it must be strictly greater than `current-epoch-era`| - | - | - | - |
439
-
|`era_markers_secret_key`|`--era-markers-secret-key`| - |`ERA_MARKERS_SECRET_KEY`| Era Markers Secret Key that is used to verify the authenticity of the era markers on chain. | - | - | - |:heavy_check_mark:|
477
+
|`era_markers_secret_key`|`--era-markers-secret-key`| - |`ERA_MARKERS_SECRET_KEY`| Era Markers Secret Key that is used to verify the authenticity of the era markers on chain. | - | - | - |:heavy_check_mark:|
478
+
479
+
`tools recompute-certificates-hash` command has no dedicated parameter
0 commit comments