File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ export MITHRIL_IMAGE_ID=**YOUR_MITHRIL_IMAGE_ID**
201
201
export NETWORK=** YOUR_CARDANO_NETWORK**
202
202
export AGGREGATOR_ENDPOINT=** YOUR_AGGREGATOR_ENDPOINT**
203
203
export GENESIS_VERIFICATION_KEY=$( wget -q -O - ** YOUR_GENESIS_VERIFICATION_KEY** )
204
- export SNAPSHOT_DIGEST=$( curl -sL $AGGREGATOR_ENDPOINT /artifact/snapshots | jq -r ' .[0].digest ' )
204
+ export SNAPSHOT_DIGEST=latest
205
205
```
206
206
207
207
Here is an example configuration for the ` release-preprod ` network and the ` latest ` stable Docker image:
@@ -211,7 +211,7 @@ export MITHRIL_IMAGE_ID=latest
211
211
export NETWORK=preprod
212
212
export AGGREGATOR_ENDPOINT=https://aggregator.release-preprod.api.mithril.network/aggregator
213
213
export GENESIS_VERIFICATION_KEY=$( wget -q -O - https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/release-preprod/genesis.vkey)
214
- export SNAPSHOT_DIGEST=$( curl -sL $AGGREGATOR_ENDPOINT /artifact/snapshots | jq -r ' .[0].digest ' )
214
+ export SNAPSHOT_DIGEST=latest
215
215
```
216
216
217
217
Proceed by creating a shell function for the Mithril client:
Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ export GENESIS_VERIFICATION_KEY=$(wget -q -O - **YOUR_GENESIS_VERIFICATION_KEY**
222
222
223
223
# Digest of the latest produced snapshot for convenience of the demo
224
224
# You can also modify this variable and set it to the value of the digest of a snapshot that you can retrieve at step 2
225
- export SNAPSHOT_DIGEST=$( curl -sL $AGGREGATOR_ENDPOINT /artifact/snapshots | jq -r ' .[0].digest ' )
225
+ export SNAPSHOT_DIGEST=latest
226
226
```
227
227
228
228
### Step 2: Select a snapshot
Original file line number Diff line number Diff line change @@ -428,14 +428,14 @@ tail -n 22 ./node-pool2/node.log
428
428
429
429
` ` ` bash
430
430
# Cardano network
431
- NETWORK=devnet
431
+ export NETWORK=devnet
432
432
433
433
# Aggregator API endpoint URL
434
- AGGREGATOR_ENDPOINT=http://localhost:8080/aggregator
434
+ export AGGREGATOR_ENDPOINT=http://localhost:8080/aggregator
435
435
436
436
# Digest of the latest produced snapshot for convenience of the demo
437
437
# You can also modify this variable and set it to the value of the digest of a snapshot that you can retrieve at step 2
438
- SNAPSHOT_DIGEST=$( curl -sL $AGGREGATOR_ENDPOINT /artifact/snapshots | jq -r ' .[0].digest ' )
438
+ export SNAPSHOT_DIGEST=latest
439
439
` ` `
440
440
441
441
You can pick an online test aggregator directly from the [Mithril Explorer](https://mithril.network/explorer).
You can’t perform that action at this time.
0 commit comments