Skip to content

Commit 251dd64

Browse files
committed
Fix format issues in docs/
1 parent 56848f6 commit 251dd64

File tree

5 files changed

+39
-37
lines changed

5 files changed

+39
-37
lines changed

docs/website/blog/2023-03-02-era-switch-feature/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ In order to guarantee that any breaking change of the Mithril nodes does not bre
2020
:fire: Activating this feature will require an update of configuration of the signer nodes after updating their binary:
2121

2222
- The `ERA_READER_ADAPTER_TYPE` env var must be set to `cardano-chain`
23-
- The `ERA_READER_ADAPTER_PARAMS` env var must be set to the result of the command `jq -nc --arg address $(wget -q -O - **YOUR_ERA_READER_ADDRESS**) --arg verification_key $(wget -q -O - **YOUR_ERA_READER_VERIFICATION_KEY**) '{"address": $address, "verification_key": $verification_key}'` (the \***\*YOUR_ERA_READER_ADDRESS\*\*** and \***\*YOUR_ERA_READER_VERIFICATION_KEY\*\*** are values provided in the networks configuration matrix)
23+
- The `ERA_READER_ADAPTER_PARAMS` env var must be set to the result of the command `jq -nc --arg address $(wget -q -O - **YOUR_ERA_READER_ADDRESS**) --arg verification_key $(wget -q -O - **YOUR_ERA_READER_VERIFICATION_KEY**) '{"address": $address, "verification_key": $verification_key}'` (the **YOUR_ERA_READER_ADDRESS** and **YOUR_ERA_READER_VERIFICATION_KEY** are values provided in the networks configuration matrix)
2424

2525
Here is the configuration values that should be used on `pre-release-preview`:
2626

docs/website/root/manual/getting-started/run-signer-node.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -283,23 +283,24 @@ sudo mv mithril-signer /opt/mithril
283283
- `ERA_READER_ADAPTER_TYPE=cardano-chain`: replace `cardano-chain` with the era reader adapter type used in your Mithril network
284284
- `ERA_READER_ADAPTER_PARAMS={"address": "...", "verification_key": "..."}`: replace `{"address": "...", "verification_key": "..."}` with the era reader parameters that you need to compute by running the command `jq -nc --arg address $(wget -q -O - **YOUR_ERA_READER_ADDRESS**) --arg verification_key $(wget -q -O - **YOUR_ERA_READER_VERIFICATION_KEY**) '{"address": $address, "verification_key": $verification_key}'`
285285
- `RELAY_ENDPOINT=http://192.168.1.50:3132` **(optional)**: this is the endpoint of the **Mithril relay**, which is required for **production** deployment only. For **naive** deployment, do not set this variable in your environment file.
286-
:::
286+
287+
:::
287288

288289
:::tip
289290

290291
Here is an **example** set of values for **release-preprod** that will be used in this guide in the **tip** boxes to illustrate some commands:
291292

292-
- \***\*YOUR_KES_SECRET_KEY_PATH\*\***: `/cardano/keys/kes.skey`
293-
- \***\*YOUR_OPERATIONAL_CERTIFICATE_PATH\*\***: `/cardano/keys/node.cert`
294-
- \***\*YOUR_CARDANO_NETWORK\*\***: `preprod`
295-
- \***\*YOUR_AGGREGATOR_ENDPOINT\*\***: `https://aggregator.release-preprod.api.mithril.network/aggregator`
296-
- \***\*YOUR_ERA_READER_ADAPTER_TYPE\*\***: `cardano-chain`
297-
- \***\*YOUR_ERA_READER_ADAPTER_PARAMS\*\***: `{"address": "addr_test1qpkyv2ws0deszm67t840sdnruqgr492n80g3y96xw3p2ksk6suj5musy6w8lsg3yjd09cnpgctc2qh386rtxphxt248qr0npnx", "verification_key": "5b35352c3232382c3134342c38372c3133382c3133362c34382c382c31342c3138372c38352c3134382c39372c3233322c3235352c3232392c33382c3234342c3234372c3230342c3139382c31332c33312c3232322c32352c3136342c35322c3130322c39312c3132302c3230382c3134375d"}`
298-
- \***\*YOUR_RELAY_ENDPOINT\*\***: `192.168.1.50`
299-
- \***\*YOUR_RELAY_LISTENING_PORT\*\***: `3132`
300-
- \***\*YOUR_BLOCK_PRODUCER_INTERNAL_IP\*\***: `192.168.1.75`
301-
- \***\*YOUR_SIGNER_LOGS_PATH\*\***: `/var/log/syslog`
302-
- \***\*YOUR_PARTY_ID\*\***: `pool1hp72sauk0g0yqm4dzllz0pz6j93gewhllkzphn4hykkfmne43y`
293+
- **YOUR_KES_SECRET_KEY_PATH**: `/cardano/keys/kes.skey`
294+
- **YOUR_OPERATIONAL_CERTIFICATE_PATH**: `/cardano/keys/node.cert`
295+
- **YOUR_CARDANO_NETWORK**: `preprod`
296+
- **YOUR_AGGREGATOR_ENDPOINT**: `https://aggregator.release-preprod.api.mithril.network/aggregator`
297+
- **YOUR_ERA_READER_ADAPTER_TYPE**: `cardano-chain`
298+
- **YOUR_ERA_READER_ADAPTER_PARAMS**: `{"address": "addr_test1qpkyv2ws0deszm67t840sdnruqgr492n80g3y96xw3p2ksk6suj5musy6w8lsg3yjd09cnpgctc2qh386rtxphxt248qr0npnx", "verification_key": "5b35352c3232382c3134342c38372c3133382c3133362c34382c382c31342c3138372c38352c3134382c39372c3233322c3235352c3232392c33382c3234342c3234372c3230342c3139382c31332c33312c3232322c32352c3136342c35322c3130322c39312c3132302c3230382c3134375d"}`
299+
- **YOUR_RELAY_ENDPOINT**: `192.168.1.50`
300+
- **YOUR_RELAY_LISTENING_PORT**: `3132`
301+
- **YOUR_BLOCK_PRODUCER_INTERNAL_IP**: `192.168.1.75`
302+
- **YOUR_SIGNER_LOGS_PATH**: `/var/log/syslog`
303+
- **YOUR_PARTY_ID**: `pool1hp72sauk0g0yqm4dzllz0pz6j93gewhllkzphn4hykkfmne43y`
303304

304305
:::
305306

docs/website/root/networks-matrix.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,11 @@ Here is an updated list of all **Mithril networks**, including their configurati
113113
:::caution
114114
In this documentation, we use the following generic identifiers:
115115

116-
- \***\*YOUR_CARDANO_NETWORK\*\*** You need to replace this with the name of the network that runs on your Cardano node (eg, `preprod`)
117-
- \***\*YOUR_AGGREGATOR_ENDPOINT\*\*** You need to replace this with the endpoint of an aggregator that runs on the Cardano network you are targeting (eg, `https://aggregator.release-preprod.api.mithril.network/aggregator`)
118-
- \***\*YOUR_GENESIS_VERIFICATION_KEY\*\*** You need to replace this with the genesis verification key URL that runs on the Cardano network you are targeting (eg, `https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/release-preprod/genesis.vkey`)
119-
- \***\*YOUR_ERA_READER_ADAPTER_TYPE\*\*** You need to replace this with the era reader adapter type used by the Mithril network you are targeting (eg, `cardano-chain`)
120-
- \***\*YOUR_ERA_READER_ADDRESS\*\*** You need to replace this with the era reader address URL used by the Mithril network you are targeting (eg, `https://raw.githubusercontent.com/input-output-hk/mithril/main/address.addr`)
121-
- \***\*YOUR_ERA_READER_VERIFICATION_KEY\*\*** You need to replace this with the era reader verification key URL used by the Mithril network you are targeting (eg, `https://raw.githubusercontent.com/input-output-hk/mithril/main/TEST_ONLY_era.vkey`)
116+
- **YOUR_CARDANO_NETWORK** You need to replace this with the name of the network that runs on your Cardano node (eg, `preprod`)
117+
- **YOUR_AGGREGATOR_ENDPOINT** You need to replace this with the endpoint of an aggregator that runs on the Cardano network you are targeting (eg, `https://aggregator.release-preprod.api.mithril.network/aggregator`)
118+
- **YOUR_GENESIS_VERIFICATION_KEY** You need to replace this with the genesis verification key URL that runs on the Cardano network you are targeting (eg, `https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/release-preprod/genesis.vkey`)
119+
- **YOUR_ERA_READER_ADAPTER_TYPE** You need to replace this with the era reader adapter type used by the Mithril network you are targeting (eg, `cardano-chain`)
120+
- **YOUR_ERA_READER_ADDRESS** You need to replace this with the era reader address URL used by the Mithril network you are targeting (eg, `https://raw.githubusercontent.com/input-output-hk/mithril/main/address.addr`)
121+
- **YOUR_ERA_READER_VERIFICATION_KEY** You need to replace this with the era reader verification key URL used by the Mithril network you are targeting (eg, `https://raw.githubusercontent.com/input-output-hk/mithril/main/TEST_ONLY_era.vkey`)
122122

123123
:::

docs/website/versioned_docs/version-maintained/manual/getting-started/run-signer-node.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -283,23 +283,24 @@ sudo mv mithril-signer /opt/mithril
283283
- `ERA_READER_ADAPTER_TYPE=cardano-chain`: replace `cardano-chain` with the era reader adapter type used in your Mithril network
284284
- `ERA_READER_ADAPTER_PARAMS={"address": "...", "verification_key": "..."}`: replace `{"address": "...", "verification_key": "..."}` with the era reader parameters that you need to compute by running the command `jq -nc --arg address $(wget -q -O - **YOUR_ERA_READER_ADDRESS**) --arg verification_key $(wget -q -O - **YOUR_ERA_READER_VERIFICATION_KEY**) '{"address": $address, "verification_key": $verification_key}'`
285285
- `RELAY_ENDPOINT=http://192.168.1.50:3132` **(optional)**: this is the endpoint of the **Mithril relay**, which is required for **production** deployment only. For **naive** deployment, do not set this variable in your environment file.
286-
:::
286+
287+
:::
287288

288289
:::tip
289290

290291
Here is an **example** set of values for **release-preprod** that will be used in this guide in the **tip** boxes to illustrate some commands:
291292

292-
- \***\*YOUR_KES_SECRET_KEY_PATH\*\***: `/cardano/keys/kes.skey`
293-
- \***\*YOUR_OPERATIONAL_CERTIFICATE_PATH\*\***: `/cardano/keys/node.cert`
294-
- \***\*YOUR_CARDANO_NETWORK\*\***: `preprod`
295-
- \***\*YOUR_AGGREGATOR_ENDPOINT\*\***: `https://aggregator.release-preprod.api.mithril.network/aggregator`
296-
- \***\*YOUR_ERA_READER_ADAPTER_TYPE\*\***: `cardano-chain`
297-
- \***\*YOUR_ERA_READER_ADAPTER_PARAMS\*\***: `{"address": "addr_test1qpkyv2ws0deszm67t840sdnruqgr492n80g3y96xw3p2ksk6suj5musy6w8lsg3yjd09cnpgctc2qh386rtxphxt248qr0npnx", "verification_key": "5b35352c3232382c3134342c38372c3133382c3133362c34382c382c31342c3138372c38352c3134382c39372c3233322c3235352c3232392c33382c3234342c3234372c3230342c3139382c31332c33312c3232322c32352c3136342c35322c3130322c39312c3132302c3230382c3134375d"}`
298-
- \***\*YOUR_RELAY_ENDPOINT\*\***: `192.168.1.50`
299-
- \***\*YOUR_RELAY_LISTENING_PORT\*\***: `3132`
300-
- \***\*YOUR_BLOCK_PRODUCER_INTERNAL_IP\*\***: `192.168.1.75`
301-
- \***\*YOUR_SIGNER_LOGS_PATH\*\***: `/var/log/syslog`
302-
- \***\*YOUR_PARTY_ID\*\***: `pool1hp72sauk0g0yqm4dzllz0pz6j93gewhllkzphn4hykkfmne43y`
293+
- **YOUR_KES_SECRET_KEY_PATH**: `/cardano/keys/kes.skey`
294+
- **YOUR_OPERATIONAL_CERTIFICATE_PATH**: `/cardano/keys/node.cert`
295+
- **YOUR_CARDANO_NETWORK**: `preprod`
296+
- **YOUR_AGGREGATOR_ENDPOINT**: `https://aggregator.release-preprod.api.mithril.network/aggregator`
297+
- **YOUR_ERA_READER_ADAPTER_TYPE**: `cardano-chain`
298+
- **YOUR_ERA_READER_ADAPTER_PARAMS**: `{"address": "addr_test1qpkyv2ws0deszm67t840sdnruqgr492n80g3y96xw3p2ksk6suj5musy6w8lsg3yjd09cnpgctc2qh386rtxphxt248qr0npnx", "verification_key": "5b35352c3232382c3134342c38372c3133382c3133362c34382c382c31342c3138372c38352c3134382c39372c3233322c3235352c3232392c33382c3234342c3234372c3230342c3139382c31332c33312c3232322c32352c3136342c35322c3130322c39312c3132302c3230382c3134375d"}`
299+
- **YOUR_RELAY_ENDPOINT**: `192.168.1.50`
300+
- **YOUR_RELAY_LISTENING_PORT**: `3132`
301+
- **YOUR_BLOCK_PRODUCER_INTERNAL_IP**: `192.168.1.75`
302+
- **YOUR_SIGNER_LOGS_PATH**: `/var/log/syslog`
303+
- **YOUR_PARTY_ID**: `pool1hp72sauk0g0yqm4dzllz0pz6j93gewhllkzphn4hykkfmne43y`
303304

304305
:::
305306

docs/website/versioned_docs/version-maintained/networks-matrix.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,11 @@ Here is an updated list of all **Mithril networks**, including their configurati
113113
:::caution
114114
In this documentation, we use the following generic identifiers:
115115

116-
- \***\*YOUR_CARDANO_NETWORK\*\*** You need to replace this with the name of the network that runs on your Cardano node (eg, `preprod`)
117-
- \***\*YOUR_AGGREGATOR_ENDPOINT\*\*** You need to replace this with the endpoint of an aggregator that runs on the Cardano network you are targeting (eg, `https://aggregator.release-preprod.api.mithril.network/aggregator`)
118-
- \***\*YOUR_GENESIS_VERIFICATION_KEY\*\*** You need to replace this with the genesis verification key URL that runs on the Cardano network you are targeting (eg, `https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/release-preprod/genesis.vkey`)
119-
- \***\*YOUR_ERA_READER_ADAPTER_TYPE\*\*** You need to replace this with the era reader adapter type used by the Mithril network you are targeting (eg, `cardano-chain`)
120-
- \***\*YOUR_ERA_READER_ADDRESS\*\*** You need to replace this with the era reader address URL used by the Mithril network you are targeting (eg, `https://raw.githubusercontent.com/input-output-hk/mithril/main/address.addr`)
121-
- \***\*YOUR_ERA_READER_VERIFICATION_KEY\*\*** You need to replace this with the era reader verification key URL used by the Mithril network you are targeting (eg, `https://raw.githubusercontent.com/input-output-hk/mithril/main/TEST_ONLY_era.vkey`)
116+
- **YOUR_CARDANO_NETWORK** You need to replace this with the name of the network that runs on your Cardano node (eg, `preprod`)
117+
- **YOUR_AGGREGATOR_ENDPOINT** You need to replace this with the endpoint of an aggregator that runs on the Cardano network you are targeting (eg, `https://aggregator.release-preprod.api.mithril.network/aggregator`)
118+
- **YOUR_GENESIS_VERIFICATION_KEY** You need to replace this with the genesis verification key URL that runs on the Cardano network you are targeting (eg, `https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/release-preprod/genesis.vkey`)
119+
- **YOUR_ERA_READER_ADAPTER_TYPE** You need to replace this with the era reader adapter type used by the Mithril network you are targeting (eg, `cardano-chain`)
120+
- **YOUR_ERA_READER_ADDRESS** You need to replace this with the era reader address URL used by the Mithril network you are targeting (eg, `https://raw.githubusercontent.com/input-output-hk/mithril/main/address.addr`)
121+
- **YOUR_ERA_READER_VERIFICATION_KEY** You need to replace this with the era reader verification key URL used by the Mithril network you are targeting (eg, `https://raw.githubusercontent.com/input-output-hk/mithril/main/TEST_ONLY_era.vkey`)
122122

123123
:::

0 commit comments

Comments
 (0)