Skip to content

Commit ba3083d

Browse files
committed
Updates after review
1 parent 01b90f5 commit ba3083d

File tree

3 files changed

+38
-29
lines changed

3 files changed

+38
-29
lines changed

docs/runbook/README.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +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. |
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 `cardano-min-versions.json` file |
Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,24 @@
1-
# Cardano minimum versions for Signers
1+
# Cardano node minimum versions for Signers
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
6-
This ensures compatibility and functionality across different networks.
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.
76

87
## Maintaining the file
98

10-
When a new a new Cardano node version is released:
11-
- Verify the Cardano node compatibility with Mithril nodes, especially through the CI process.
12-
- Depending on the network:
13-
- For the stable networks `preview`, `preprod`, and `mainnet`: the minimum supported `cardano-node` version must be updated to be two stable releases behind the current release version.
14-
- For the unstable network `sanchonet`: given its current evolving nature, the minimum supported `cardano-node` version may vary from the stable one.
9+
### Assessment of compatibility:
10+
- Update the `e2e` job in the [ci.yml](../../../.github/workflows/ci.yml) file by adding the new Cardano node version in the `cardano_node_version` variables of the matrix.
11+
- Create a pull request to test the new Cardano node version in the devnet using CI end-to-end tests
12+
- Assess the compatibility:
13+
- **Compatible without modification**: in that case Mithril nodes are compatible without modification and versions can be bumped immediately.
14+
- **Modifications are required by the Mithril team**: in that case the versions can be bumped after the necessary modifications are implemented and a new distribution is released.
15+
16+
### Update policy by network:
17+
18+
Here are the recommended update policies by Cardano network:
19+
| Network | Status | Policy
20+
|------------|------------|------------
21+
`preview` | **stable** | the minimum supported Cardano node version should be updated to be two stable releases behind the current release version.
22+
`preprod` | **stable** | the minimum supported Cardano node version should be updated to be two stable releases behind the current release version.
23+
`mainnet` | **stable** | the minimum supported Cardano node version should be updated to be two stable releases behind the current release version.
24+
`sanchonet` | **unstable** | given the unstable status of the network, the minimum supported Cardano node version may vary from the stable one.

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Note that this guide works on a Linux machine only.
9393
* Read rights on the `Database` folder (specified by the `--database-path` setting of the **Cardano node**)
9494
* Read and write rights on the `Inter Process Communication` file (typically defined by the `CARDANO_NODE_SOCKET_PATH` environment variable used to launch the **Cardano node**)
9595

96-
* Install a recent version of [`cardano-cli`](https://github.com/input-output-hk/cardano-node/releases/tag/8.7.3) (version 8.7.3+).
96+
* Install a recent version of [`cardano-cli`](https://github.com/IntersectMBO/cardano-node/releases/tag/8.9.1) (version 8.9.1+).
9797

9898
* Install a correctly configured Rust toolchain (latest stable version). You can follow the instructions provided [here](https://www.rust-lang.org/learn/get-started).
9999

@@ -115,15 +115,15 @@ Note that this guide works on a Linux machine only.
115115

116116
:::info
117117

118-
To verify that your node version is supported, compare the version of your Cardano node with the minimum supported versions listed in the `cardano-min-versions.json` file located at the root of the repository.
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.
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 `cardano-min-versions.json` file, which can be found [here](https://github.com/input-output-hk/mithril/blob/main/cardano-min-versions.json).
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.
127127

128128
You can also fetch the minimum supported version for your network using the command below:
129129
```bash
@@ -135,8 +135,6 @@ Here is an example for `preprod`:
135135
wget -q -O - https://raw.githubusercontent.com/input-output-hk/mithril/main/cardano-min-versions.json | jq -r '.network.preprod'
136136
```
137137

138-
Compare the Cardano node versions, if your node version is equal to or higher than the minimum supported version listed for your network, your Cardano node is supported.
139-
140138
:::
141139

142140
### Building your own executable

0 commit comments

Comments
 (0)