Skip to content

Commit 4c0d094

Browse files
authored
Merge pull request #1856 from input-output-hk/ensemble/1855-upgrade-cardano-9.1.0
Support Cardano node `9.1.0`
2 parents 303d8c4 + e7dafce commit 4c0d094

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+18134
-33
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ jobs:
289289
matrix:
290290
mode: ["std"]
291291
era: ${{ fromJSON(needs.build-ubuntu-X64.outputs.eras) }}
292-
cardano_node_version: ["8.9.4", "8.12.2", "9.0.0", "8.12.0-pre"]
292+
cardano_node_version: ["8.9.4", "8.12.2", "9.0.0", "9.1.0"]
293293
hard_fork_latest_era_at_epoch: [0]
294294
run_id: ["#1"]
295295
extra_args: [""]

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ As a minor extension, we have adopted a slightly different versioning convention
1313

1414
- Fix `Agency is theirs` error in the `ChainReader` when the underlying `Chain sync` client does not have agency.
1515

16+
- Support for `Cardano node` `9.1.0` in the signer and the aggregator.
17+
1618
- **UNSTABLE** Cardano transactions certification:
1719

1820
- Make Cardano transaction signing settings configurable via the CD.

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/website/root/manual/getting-started/bootstrap-cardano-node.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ You will see more information about the snapshot:
436436
+-----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
437437
| Size | 2323485648 |
438438
+-----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
439-
| Cardano node version | 9.0.0 |
439+
| Cardano node version | 9.1.0 |
440440
+-----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
441441
| Location | https://storage.googleapis.com/cdn.aggregator.testing-preview.api.mithril.network/preview-e539-i10787.db5f50a060d4b813125c4263b700ecc96e5d8c8710f0430e5c80d2f0fa79b667.tar.zst |
442442
+-----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
@@ -464,19 +464,19 @@ You will see that the selected snapshot archive has been downloaded locally, unp
464464
5/5 - Verifying the cardano db signature…
465465
Cardano db 'db5f50a060d4b813125c4263b700ecc96e5d8c8710f0430e5c80d2f0fa79b667' has been unpacked and successfully checked against Mithril multi-signature contained in the certificate.
466466
467-
Files in the directory '/home/mithril/data/testnet/db5f50a060d4b813125c4263b700ecc96e5d8c8710f0430e5c80d2f0fa79b667/db' can be used to run a Cardano node with version >= 9.0.0.
467+
Files in the directory '/home/mithril/data/testnet/db5f50a060d4b813125c4263b700ecc96e5d8c8710f0430e5c80d2f0fa79b667/db' can be used to run a Cardano node with version >= 9.1.0.
468468
469469
If you are using Cardano Docker image, you can restore a Cardano Node with:
470470
471-
docker run -v cardano-node-ipc:/ipc -v cardano-node-data:/data --mount type=bind,source="/home/mithril/data/testnet/db5f50a060d4b813125c4263b700ecc96e5d8c8710f0430e5c80d2f0fa79b667/db",target=/data/db/ -e NETWORK=preview ghcr.io/intersectmbo/cardano-node:9.0.0
471+
docker run -v cardano-node-ipc:/ipc -v cardano-node-data:/data --mount type=bind,source="/home/mithril/data/testnet/db5f50a060d4b813125c4263b700ecc96e5d8c8710f0430e5c80d2f0fa79b667/db",target=/data/db/ -e NETWORK=preview ghcr.io/intersectmbo/cardano-node:9.1.0
472472
```
473473
474474
### Step 5: Launch a Cardano node from the restored Cardano DB snapshot
475475
476476
Launch an empty Cardano node and make it live in minutes!
477477
478478
```bash
479-
docker run -v cardano-node-ipc:/ipc -v cardano-node-data:/data --mount type=bind,source="$(pwd)/data/testnet/$SNAPSHOT_DIGEST/db",target=/data/db/ -e NETWORK=$CARDANO_NETWORK ghcr.io/intersectmbo/cardano-node:9.0.0
479+
docker run -v cardano-node-ipc:/ipc -v cardano-node-data:/data --mount type=bind,source="$(pwd)/data/testnet/$SNAPSHOT_DIGEST/db",target=/data/db/ -e NETWORK=$CARDANO_NETWORK ghcr.io/intersectmbo/cardano-node:9.1.0
480480
```
481481
482482
You will see the Cardano node start by validating the files ingested from the snapshot archive. Then, it will synchronize with the other network nodes and start adding blocks:

docs/website/root/manual/getting-started/run-mithril-devnet.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ You will see more information about the snapshot:
486486
+-----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
487487
| Size | 2323485648 |
488488
+-----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
489-
| Cardano node version | 9.0.0 |
489+
| Cardano node version | 9.1.0 |
490490
+-----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
491491
| Location | https://storage.googleapis.com/cdn.aggregator.testing-preview.api.mithril.network/preview-e539-i10787.db5f50a060d4b813125c4263b700ecc96e5d8c8710f0430e5c80d2f0fa79b667.tar.zst |
492492
+-----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
@@ -514,9 +514,9 @@ You will see that the certificate chain is validated to ensure the issued certif
514514
5/5 - Verifying the cardano db signature…
515515
Cardano db 'db5f50a060d4b813125c4263b700ecc96e5d8c8710f0430e5c80d2f0fa79b667' has been unpacked and successfully checked against Mithril multi-signature contained in the certificate.
516516

517-
Files in the directory '/home/mithril/data/testnet/db5f50a060d4b813125c4263b700ecc96e5d8c8710f0430e5c80d2f0fa79b667/db' can be used to run a Cardano node with version >= 9.0.0.
517+
Files in the directory '/home/mithril/data/testnet/db5f50a060d4b813125c4263b700ecc96e5d8c8710f0430e5c80d2f0fa79b667/db' can be used to run a Cardano node with version >= 9.1.0.
518518

519519
If you are using Cardano Docker image, you can restore a Cardano Node with:
520520

521-
docker run -v cardano-node-ipc:/ipc -v cardano-node-data:/data --mount type=bind,source="/home/mithril/data/testnet/db5f50a060d4b813125c4263b700ecc96e5d8c8710f0430e5c80d2f0fa79b667/db",target=/data/db/ -e NETWORK=preview ghcr.io/intersectmbo/cardano-node:9.0.0
521+
docker run -v cardano-node-ipc:/ipc -v cardano-node-data:/data --mount type=bind,source="/home/mithril/data/testnet/db5f50a060d4b813125c4263b700ecc96e5d8c8710f0430e5c80d2f0fa79b667/db",target=/data/db/ -e NETWORK=preview ghcr.io/intersectmbo/cardano-node:9.1.0
522522
```

docs/website/versioned_docs/version-maintained/manual/getting-started/bootstrap-cardano-node.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ You will see more information about the snapshot:
436436
+-----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
437437
| Size | 2323485648 |
438438
+-----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
439-
| Cardano node version | 9.0.0 |
439+
| Cardano node version | 9.1.0 |
440440
+-----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
441441
| Location | https://storage.googleapis.com/cdn.aggregator.testing-preview.api.mithril.network/preview-e539-i10787.db5f50a060d4b813125c4263b700ecc96e5d8c8710f0430e5c80d2f0fa79b667.tar.zst |
442442
+-----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
@@ -464,19 +464,19 @@ You will see that the selected snapshot archive has been downloaded locally, unp
464464
5/5 - Verifying the cardano db signature…
465465
Cardano db 'db5f50a060d4b813125c4263b700ecc96e5d8c8710f0430e5c80d2f0fa79b667' has been unpacked and successfully checked against Mithril multi-signature contained in the certificate.
466466
467-
Files in the directory '/home/mithril/data/testnet/db5f50a060d4b813125c4263b700ecc96e5d8c8710f0430e5c80d2f0fa79b667/db' can be used to run a Cardano node with version >= 9.0.0.
467+
Files in the directory '/home/mithril/data/testnet/db5f50a060d4b813125c4263b700ecc96e5d8c8710f0430e5c80d2f0fa79b667/db' can be used to run a Cardano node with version >= 9.1.0.
468468
469469
If you are using Cardano Docker image, you can restore a Cardano Node with:
470470
471-
docker run -v cardano-node-ipc:/ipc -v cardano-node-data:/data --mount type=bind,source="/home/mithril/data/testnet/db5f50a060d4b813125c4263b700ecc96e5d8c8710f0430e5c80d2f0fa79b667/db",target=/data/db/ -e NETWORK=preview ghcr.io/intersectmbo/cardano-node:9.0.0
471+
docker run -v cardano-node-ipc:/ipc -v cardano-node-data:/data --mount type=bind,source="/home/mithril/data/testnet/db5f50a060d4b813125c4263b700ecc96e5d8c8710f0430e5c80d2f0fa79b667/db",target=/data/db/ -e NETWORK=preview ghcr.io/intersectmbo/cardano-node:9.1.0
472472
```
473473
474474
### Step 5: Launch a Cardano node from the restored Cardano DB snapshot
475475
476476
Launch an empty Cardano node and make it live in minutes!
477477
478478
```bash
479-
docker run -v cardano-node-ipc:/ipc -v cardano-node-data:/data --mount type=bind,source="$(pwd)/data/testnet/$SNAPSHOT_DIGEST/db",target=/data/db/ -e NETWORK=$CARDANO_NETWORK ghcr.io/intersectmbo/cardano-node:9.0.0
479+
docker run -v cardano-node-ipc:/ipc -v cardano-node-data:/data --mount type=bind,source="$(pwd)/data/testnet/$SNAPSHOT_DIGEST/db",target=/data/db/ -e NETWORK=$CARDANO_NETWORK ghcr.io/intersectmbo/cardano-node:9.1.0
480480
```
481481
482482
You will see the Cardano node start by validating the files ingested from the snapshot archive. Then, it will synchronize with the other network nodes and start adding blocks:

docs/website/versioned_docs/version-maintained/manual/getting-started/run-mithril-devnet.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ You will see more information about the snapshot:
486486
+-----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
487487
| Size | 2323485648 |
488488
+-----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
489-
| Cardano node version | 9.0.0 |
489+
| Cardano node version | 9.1.0 |
490490
+-----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
491491
| Location | https://storage.googleapis.com/cdn.aggregator.testing-preview.api.mithril.network/preview-e539-i10787.db5f50a060d4b813125c4263b700ecc96e5d8c8710f0430e5c80d2f0fa79b667.tar.zst |
492492
+-----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
@@ -514,9 +514,9 @@ You will see that the certificate chain is validated to ensure the issued certif
514514
5/5 - Verifying the cardano db signature…
515515
Cardano db 'db5f50a060d4b813125c4263b700ecc96e5d8c8710f0430e5c80d2f0fa79b667' has been unpacked and successfully checked against Mithril multi-signature contained in the certificate.
516516

517-
Files in the directory '/home/mithril/data/testnet/db5f50a060d4b813125c4263b700ecc96e5d8c8710f0430e5c80d2f0fa79b667/db' can be used to run a Cardano node with version >= 9.0.0.
517+
Files in the directory '/home/mithril/data/testnet/db5f50a060d4b813125c4263b700ecc96e5d8c8710f0430e5c80d2f0fa79b667/db' can be used to run a Cardano node with version >= 9.1.0.
518518

519519
If you are using Cardano Docker image, you can restore a Cardano Node with:
520520

521-
docker run -v cardano-node-ipc:/ipc -v cardano-node-data:/data --mount type=bind,source="/home/mithril/data/testnet/db5f50a060d4b813125c4263b700ecc96e5d8c8710f0430e5c80d2f0fa79b667/db",target=/data/db/ -e NETWORK=preview ghcr.io/intersectmbo/cardano-node:9.0.0
521+
docker run -v cardano-node-ipc:/ipc -v cardano-node-data:/data --mount type=bind,source="/home/mithril/data/testnet/db5f50a060d4b813125c4263b700ecc96e5d8c8710f0430e5c80d2f0fa79b667/db",target=/data/db/ -e NETWORK=preview ghcr.io/intersectmbo/cardano-node:9.1.0
522522
```

mithril-aggregator/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mithril-aggregator"
3-
version = "0.5.47"
3+
version = "0.5.48"
44
description = "A Mithril Aggregator server"
55
authors = { workspace = true }
66
edition = { workspace = true }

mithril-aggregator/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ RUN /app/target/release/mithril-aggregator --version
3535
FROM debian:11-slim
3636

3737
# Args
38-
ARG CARDANO_NODE_VERSION=9.0.0
38+
ARG CARDANO_NODE_VERSION=9.1.0
3939
ARG CARDANO_BIN_URL=https://github.com/input-output-hk/cardano-node/releases/download/$CARDANO_NODE_VERSION/cardano-node-$CARDANO_NODE_VERSION-linux.tar.gz
4040
ARG EMBED-CARDANO-CLI=0
4141

mithril-aggregator/Dockerfile.ci

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ RUN mkdir -p /app/bin
1414
RUN apt-get update -y && apt-get install -y libssl-dev ca-certificates wget && apt-get clean && rm -rf /var/lib/apt/lists/*
1515

1616
# Install cardano-cli
17-
ARG CARDANO_NODE_VERSION=9.0.0
17+
ARG CARDANO_NODE_VERSION=9.1.0
1818
ARG CARDANO_BIN_URL=https://github.com/input-output-hk/cardano-node/releases/download/$CARDANO_NODE_VERSION/cardano-node-$CARDANO_NODE_VERSION-linux.tar.gz
1919
ARG EMBED-CARDANO-CLI=0
2020
RUN if [ "$EMBED-CARDANO-CLI" = 1 ] ; then \

0 commit comments

Comments
 (0)