Skip to content

Commit 275a5c0

Browse files
committed
Rename cardano-min-versions.json to networks.json
Also update the structure to be future-proof
1 parent ba3083d commit 275a5c0

File tree

5 files changed

+28
-15
lines changed

5 files changed

+28
-15
lines changed

cardano-min-versions.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

docs/runbook/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ This page gathers the available guides to operate a Mithril network.
2222
| **Publish crates to crates.io manually** | [manual-publish-crates](./manual-publish-crates/README.md) | Manually publish Rust crates to crates.io. |
2323
| **Publish packages to npm manually** | [manual-publish-npm](./manual-publish-npm/README.md) | Manually publish packages to npm registry. |
2424
| **Client multi-platform test** | [test-client-multiplatform](./test-client-multiplatform/README.md) | Run multi-platform client CLI binaries, docker and WASM package tests. |
25-
| **Maintain Cardano minimum versions file** | [maintain-cardano-min-versions-file](./maintain-cardano-min-versions-file/README.md) | Maintain the `cardano-min-versions.json` file |
25+
| **Maintain Cardano minimum versions file** | [maintain-cardano-min-versions-file](./maintain-cardano-min-versions-file/README.md) | Maintain the `networks.json` file |

docs/runbook/maintain-cardano-min-versions-file/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Introduction
44

5-
The [cardano-min-versions.json](../../../cardano-min-versions.json) file, which specifies the minimum supported versions of the Cardano node for Mithril signers and facilitates the verification of compatibility for the Cardano networks.
5+
The [networks.json](../../../networks.json) file specifies the minimum supported versions of the Cardano node for Mithril signers and facilitates the verification of compatibility for the Cardano networks.
66

77
## Maintaining the file
88

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,24 +115,24 @@ Note that this guide works on a Linux machine only.
115115

116116
:::info
117117

118-
Compare the version of your Cardano node with the minimum supported versions listed in the [`cardano-min-versions.json`](https://github.com/input-output-hk/mithril/blob/main/cardano-min-versions.json) to verify its compatibility with the Mithril signer.
118+
Compare the version of your Cardano node with the minimum supported versions listed in the [`networks.json`](https://github.com/input-output-hk/mithril/blob/main/networks.json) to verify its compatibility with the Mithril signer.
119119

120120
First, check the version of your Cardano node by running the following command:
121121

122122
```bash
123123
cardano-node --version
124124
```
125125

126-
Then, refer to the minimum supported versions listed in the the [`cardano-min-versions.json`](https://github.com/input-output-hk/mithril/blob/main/cardano-min-versions.json) file.
126+
Then, refer to the minimum supported versions listed in the the [`networks.json`](https://github.com/input-output-hk/mithril/blob/main/networks.json) file.
127127

128128
You can also fetch the minimum supported version for your network using the command below:
129129
```bash
130-
wget -q -O - https://raw.githubusercontent.com/input-output-hk/mithril/main/cardano-min-versions.json | jq -r '.network.**YOUR_CARDANO_NETWORK**'
130+
wget -q -O - https://raw.githubusercontent.com/input-output-hk/mithril/main/networks.json | jq -r '."**YOUR_CARDANO_NETWORK**"."cardano-minimum-version"."mithril-signer"'
131131
```
132132

133133
Here is an example for `preprod`:
134134
```bash
135-
wget -q -O - https://raw.githubusercontent.com/input-output-hk/mithril/main/cardano-min-versions.json | jq -r '.network.preprod'
135+
wget -q -O - https://raw.githubusercontent.com/input-output-hk/mithril/main/networks.json | jq -r '."preprod"."cardano-minimum-version"."mithril-signer"'
136136
```
137137

138138
:::

networks.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"mainnet": {
3+
"cardano-minimum-version": {
4+
"mithril-signer": "8.7.3"
5+
}
6+
},
7+
"preprod": {
8+
"cardano-minimum-version": {
9+
"mithril-signer": "8.7.3"
10+
}
11+
},
12+
"preview": {
13+
"cardano-minimum-version": {
14+
"mithril-signer": "8.7.3"
15+
}
16+
},
17+
"sanchonet": {
18+
"cardano-minimum-version": {
19+
"mithril-signer": "8.9.0"
20+
}
21+
}
22+
}

0 commit comments

Comments
 (0)