Skip to content

Commit 7c7c01c

Browse files
authored
Merge pull request #1664 from input-output-hk/dlachaume/1638/add-mithril-networks-conf-in-networks-json
Adding Mithril networks configuration to `networks.json`
2 parents cf84a95 + e9ae3c5 commit 7c7c01c

File tree

3 files changed

+146
-23
lines changed

3 files changed

+146
-23
lines changed

docs/runbook/README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@ This page gathers the available guides to operate a Mithril network.
66

77
# Guides
88

9-
| Operation | Location | Description |
10-
| ----------------------------------------- | ------------------------------------------------------------------------------------ | --------------------------------------------------------------------------- |
11-
| **Genesis manually** | [manual-genesis](./genesis-manually/README.md) | Proceed to manual (re)genesis of the aggregator certificate chain. |
12-
| **Era markers** | [era-markers](./era-markers/README.md) | Create and update era markers on the Cardano chain. |
13-
| **Downloads statistics** | [downloads statistics](./statistics/README.md) | Display the number of downloads per day. |
14-
| **Signer registrations monitoring** | [registrations-monitoring](./registrations-monitoring/README.md) | Gather aggregated data about signer registrations (versions, stake, ...). |
15-
| **Update protocol parameters** | [protocol-parameters](./protocol-parameters/README.md) | Update the protocol parameters of a Mithril network. |
16-
| **Recompute certificates hash** | [recompute-certificates-hash](./recompute-certificates-hash/README.md) | Recompute the certificates hash of an aggregator. |
17-
| **Fix terraform lock** | [terraform-lock](./terraform-lock/README.md) | Fix a terraform lock in CD workflows. |
18-
| **Manage SSH access to infrastructure** | [ssh-access](./ssh-access/README.md) | Manage SSH access on the VM of the infrastructure for a user. |
19-
| **Upgrade VM of infrastructure** | [upgrade-vm](./upgrade-vm/README.md) | Upgrade the VM of the infrastructure of a Mithril network. |
20-
| **Create test Docker distribution** | [test-docker-distribution](./test-docker-distribution/README.md) | Create a custom test Docker distribution. |
21-
| **Deploy a test network manually** | [test-deploy-network](./test-deploy-network/README.md) | Manually deploy a test distribution to a test Mithril network. |
22-
| **Publish crates to crates.io manually** | [manual-publish-crates](./manual-publish-crates/README.md) | Manually publish Rust crates to crates.io. |
23-
| **Publish packages to npm manually** | [manual-publish-npm](./manual-publish-npm/README.md) | Manually publish packages to npm registry. |
24-
| **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 `networks.json` file |
9+
| Operation | Location | Description |
10+
| ----------------------------------------- | ------------------------------------------------------------------------------------ | --------------------------------------------------------------------------- |
11+
| **Genesis manually** | [manual-genesis](./genesis-manually/README.md) | Proceed to manual (re)genesis of the aggregator certificate chain. |
12+
| **Era markers** | [era-markers](./era-markers/README.md) | Create and update era markers on the Cardano chain. |
13+
| **Downloads statistics** | [downloads statistics](./statistics/README.md) | Display the number of downloads per day. |
14+
| **Signer registrations monitoring** | [registrations-monitoring](./registrations-monitoring/README.md) | Gather aggregated data about signer registrations (versions, stake, ...). |
15+
| **Update protocol parameters** | [protocol-parameters](./protocol-parameters/README.md) | Update the protocol parameters of a Mithril network. |
16+
| **Recompute certificates hash** | [recompute-certificates-hash](./recompute-certificates-hash/README.md) | Recompute the certificates hash of an aggregator. |
17+
| **Fix terraform lock** | [terraform-lock](./terraform-lock/README.md) | Fix a terraform lock in CD workflows. |
18+
| **Manage SSH access to infrastructure** | [ssh-access](./ssh-access/README.md) | Manage SSH access on the VM of the infrastructure for a user. |
19+
| **Upgrade VM of infrastructure** | [upgrade-vm](./upgrade-vm/README.md) | Upgrade the VM of the infrastructure of a Mithril network. |
20+
| **Create test Docker distribution** | [test-docker-distribution](./test-docker-distribution/README.md) | Create a custom test Docker distribution. |
21+
| **Deploy a test network manually** | [test-deploy-network](./test-deploy-network/README.md) | Manually deploy a test distribution to a test Mithril network. |
22+
| **Publish crates to crates.io manually** | [manual-publish-crates](./manual-publish-crates/README.md) | Manually publish Rust crates to crates.io. |
23+
| **Publish packages to npm manually** | [manual-publish-npm](./manual-publish-npm/README.md) | Manually publish packages to npm registry. |
24+
| **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 the networks configuration file** | [maintain-networks-configuration-file](./maintain-networks-configuration-file/README.md) | Maintain the `networks.json` file |

docs/runbook/maintain-cardano-min-versions-file/README.md renamed to docs/runbook/maintain-networks-configuration-file/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Cardano node minimum versions for Signers
1+
# Maintain the networks configuration file
22

33
## Introduction
44

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.
5+
The [networks.json](../../../networks.json) file provides essential information for configuring the Mithril nodes. In particular, it 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

networks.json

Lines changed: 127 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,144 @@
22
"mainnet": {
33
"cardano-minimum-version": {
44
"mithril-signer": "8.7.3"
5-
}
5+
},
6+
"mithril-networks": [
7+
{
8+
"release-mainnet": {
9+
"aggregators": [
10+
{
11+
"url": "https://aggregator.release-mainnet.api.mithril.network/aggregator"
12+
}
13+
],
14+
"genesis": {
15+
"verification-key": {
16+
"url": "https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/release-mainnet/genesis.vkey"
17+
}
18+
},
19+
"era-reader": {
20+
"adapter-type": "cardano-chain",
21+
"address": {
22+
"url": "https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/release-mainnet/era.addr"
23+
},
24+
"verification-key": {
25+
"url": "https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/release-mainnet/era.vkey"
26+
}
27+
}
28+
}
29+
}
30+
]
631
},
732
"preprod": {
833
"cardano-minimum-version": {
934
"mithril-signer": "8.7.3"
10-
}
35+
},
36+
"mithril-networks": [
37+
{
38+
"release-preprod": {
39+
"aggregators": [
40+
{
41+
"url": "https://aggregator.release-preprod.api.mithril.network/aggregator"
42+
}
43+
],
44+
"genesis": {
45+
"verification-key": {
46+
"url": "https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/release-preprod/genesis.vkey"
47+
}
48+
},
49+
"era-reader": {
50+
"adapter-type": "cardano-chain",
51+
"address": {
52+
"url": "https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/release-preprod/era.addr"
53+
},
54+
"verification-key": {
55+
"url": "https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/release-preprod/era.vkey"
56+
}
57+
}
58+
}
59+
}
60+
]
1161
},
1262
"preview": {
1363
"cardano-minimum-version": {
1464
"mithril-signer": "8.7.3"
15-
}
65+
},
66+
"mithril-networks": [
67+
{
68+
"pre-release-preview": {
69+
"aggregators": [
70+
{
71+
"url": "https://aggregator.pre-release-preview.api.mithril.network/aggregator"
72+
}
73+
],
74+
"genesis": {
75+
"verification-key": {
76+
"url": "https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/pre-release-preview/genesis.vkey"
77+
}
78+
},
79+
"era-reader": {
80+
"adapter-type": "cardano-chain",
81+
"address": {
82+
"url": "https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/pre-release-preview/era.addr"
83+
},
84+
"verification-key": {
85+
"url": "https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/pre-release-preview/era.vkey"
86+
}
87+
}
88+
}
89+
},
90+
{
91+
"testing-preview": {
92+
"aggregators": [
93+
{
94+
"url": "https://aggregator.testing-preview.api.mithril.network/aggregator"
95+
}
96+
],
97+
"genesis": {
98+
"verification-key": {
99+
"url": "https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/testing-preview/genesis.vkey"
100+
}
101+
},
102+
"era-reader": {
103+
"adapter-type": "cardano-chain",
104+
"address": {
105+
"url": "https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/testing-preview/era.addr"
106+
},
107+
"verification-key": {
108+
"url": "https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/testing-preview/era.vkey"
109+
}
110+
}
111+
}
112+
}
113+
]
16114
},
17115
"sanchonet": {
18116
"cardano-minimum-version": {
19117
"mithril-signer": "8.10.0-pre"
20-
}
118+
},
119+
"mithril-networks": [
120+
{
121+
"testing-sanchonet": {
122+
"aggregators": [
123+
{
124+
"url": "https://aggregator.testing-sanchonet.api.mithril.network/aggregator"
125+
}
126+
],
127+
"genesis": {
128+
"verification-key": {
129+
"url": "https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/testing-sanchonet/genesis.vkey"
130+
}
131+
},
132+
"era-reader": {
133+
"adapter-type": "cardano-chain",
134+
"address": {
135+
"url": "https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/testing-sanchonet/era.addr"
136+
},
137+
"verification-key": {
138+
"url": "https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/testing-sanchonet/era.vkey"
139+
}
140+
}
141+
}
142+
}
143+
]
21144
}
22145
}

0 commit comments

Comments
 (0)