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
$ ./mithril-aggregator era generate-tx-datum --current-era-epoch 1 --era-markers-secret-key $ERA_ACTIVATION_SECRET_KEY>$ASSETS_PATH/mithril-era-datum-1.json
52
+
$ ./mithril-aggregator era generate-tx-datum --current-era-epoch 1 --era-markers-secret-key $ERA_ACTIVATION_SECRET_KEY--target-path$ASSETS_PATH/mithril-era-datum-1.json
53
53
```
54
54
55
55
Now create the bootstrap transaction with datum:
@@ -150,7 +150,7 @@ Create the updated datum file:
150
150
:warning: The options provided in the following command are for example only, you need to use adequately the options of the `era generate-tx-datum` command, which will depend on the operation you want to execute: announce an upcoming era or activate an upcoming era. This operation should be done very cautiously as a misconfiguration can lead to disturbed service of the network.
151
151
152
152
```bash
153
-
$ ./mithril-aggregator era generate-tx-datum --current-era-epoch 1 --era-markers-secret-key $ERA_ACTIVATION_SECRET_KEY>$ASSETS_PATH/mithril-era-datum-2.json
153
+
$ ./mithril-aggregator era generate-tx-datum --current-era-epoch 1 --era-markers-secret-key $ERA_ACTIVATION_SECRET_KEY--target-path$ASSETS_PATH/mithril-era-datum-2.json
Copy file name to clipboardExpand all lines: docs/website/root/manual/developer-docs/nodes/mithril-aggregator.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -300,7 +300,7 @@ You can run 'era generate-tx-datum' to create the transaction datum file that wi
300
300
**Case 1**: If there is only one supported era in the code, create the datum file:
301
301
302
302
```bash
303
-
./mithril-aggregator era generate-tx-datum --current-era-epoch **EPOCH_AT_WHICH_CURRENT_ERA_STARTS** --era-markers-secret-key **YOUR_ERA_ACTIVATION_SECRET_KEY**
303
+
./mithril-aggregator era generate-tx-datum --current-era-epoch **EPOCH_AT_WHICH_CURRENT_ERA_STARTS** --era-markers-secret-key **YOUR_ERA_ACTIVATION_SECRET_KEY** --target-path **TARGET_PATH**
304
304
```
305
305
306
306
You should see something like:
@@ -312,13 +312,13 @@ You should see something like:
312
312
**Case 2**: If there are two supported eras in the code and the activation epoch of the upcoming era is not yet known, run the command:
313
313
314
314
```bash
315
-
./mithril-aggregator era generate-tx-datum --current-era-epoch **EPOCH_AT_WHICH_CURRENT_ERA_STARTS** --era-markers-secret-key **YOUR_ERA_ACTIVATION_SECRET_KEY**
315
+
./mithril-aggregator era generate-tx-datum --current-era-epoch **EPOCH_AT_WHICH_CURRENT_ERA_STARTS** --era-markers-secret-key **YOUR_ERA_ACTIVATION_SECRET_KEY** --target-path **TARGET_PATH**
316
316
```
317
317
318
318
**Case 3**: If there are two supported eras in the code and the activation epoch of the era switch is known to be at the following epoch, run the command:
319
319
320
320
```bash
321
-
./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**
## Release the build and run the binary 'tools' command
@@ -485,5 +485,6 @@ Here is a list of the available parameters:
485
485
|`current_era_epoch`|`--current-era-epoch`| - |`CURRENT_ERA_EPOCH`| Epoch at which current era starts. | - | - | - |:heavy_check_mark:|
486
486
|`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`| - | - | - | - |
487
487
|`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 the chain. | - | - | - |:heavy_check_mark:|
488
+
|`target_path`|`--target-path`| - | - | Path of the file to export the payload to. | - | - | - | - |
488
489
489
490
The `tools recompute-certificates-hash` command has no dedicated parameters.
0 commit comments