Repository navigation
Closed
Labels
release 📦Release
Description
Why
In order to deploy new features, improvements and bug fixes, we need to release a new distribution.
Note
The previous distribution has been created with #2830.
What
Create and release a new distribution 2617
Important
- Bump the signer version to
1.0.0 - Update website banner for production-ready signer
- Rotate ancillary signer service account keys in
release-mainnet - Announce deprecated features of
mithril-client - Clean infra upgrade branches if any
- Add Windows x86_64 cross-compilation in Hydra nix
-
Implement next phase of 'Switching to Cardano database incremental certification' - Update the protocol parameters in release GitHub workflow:
-
release-preprod -
release-mainnet
-
- Upgrade Pallas library to
0.3.5to fix DMQ bug - Upgrade to DMQ node
0.4.2.0-
pre-release-preview
-
- Upgrade to Cardano node
10.7.1-
pre-release-preview -
release-preprod -
release-mainnet
-
- 🔥 Warmup Cardano nodes for
10.7.1 - Synchronize pre-computed Cardano Blocks and Transaction database + switch process
- Add new blocks and transaction proving parameters:
AGGREGATOR_CARDANO_BLOCKS_TRANSACTIONS_PROVER_CACHE_POOL_SIZE,AGGREGATOR_CARDANO_BLOCKS_TRANSACTIONS_DATABASE_CONNECTION_POOL_SIZE,AGGREGATOR_CARDANO_BLOCKS_TRANSACTIONS_SIGNING_CONFIG_SECURITY_PARAMETERandAGGREGATOR_CARDANO_BLOCKS_TRANSACTIONS_SIGNING_CONFIG_STEP:-
pre-release-preview -
release-preprod -
release-mainnet
-
Distribution +1:
Note
- Delete all legacy crates publication tokens in the GitHub settings
- Rotate ancillary signer service account keys in
release-mainnet - Remove deprecated features of
mithril-client - Clean infra upgrade branches if any
- Next phase of 'Switching to Cardano database incremental certification'
- Activate DMQ network in Release GitHub workflow
- Add DMQ compatibility matrix in GitHub release notes
- Add DMQ node Docker registry to
ghcr.io/intersectmbo/dmq-node(DMQ_NODE_DOCKER_REGISTRY):-
release-preprod -
release-mainnet?
-
- Add DMQ node version to
0.X.X.X(DMQ_NODE_VERSION):-
release-preprod -
release-mainnet?
-
- Activate
CardanoBlocksTransactionssigned entity type?:-
dev-preview -
dev-follower-preview -
dev-mainnet -
pre-release-preview -
release-preprod -
release-mainnet
-
- TBD
How
Phase 1: Prepare distribution
- Bump the signer version to
1.0.0 - Prepare process for synchronization of Cardano blocks and transaction store
- 🔥 Warmup Cardano nodes for
10.7.1- Phase 1:-
pre-release-preview -
release-preprod -
release-mainnet
-
-
Verify that the signer version is recorded in the monitoring store of the aggregator - Refresh NPM token for publication
- Run manual successful restoration of Cardano database + restart of the Cardano node (with ancillary)
- Run a backward compatibility test in the CI on the
unstabledistribution (with theunstablebuilt e2e test) - Run an all green aggregator stress test in the CI
- Run an all green client multi-platform test in the CI
- Prepare a PR to upgrade repository dependencies (with runbook)
- Reset the CI caches just before merging the PR to upgrade repository dependencies
- Merge the PR to upgrade repository dependencies
- Check that all minor versions of all crates have been bumped for breaking change (if needed)
-
Bumpmithril-commonto0.6 - Bump
mithril-stmto0.9
-
- Check if versions of repository linked crates are correct for publication to
crates.io(mithril-common,mithril-client) - Check if Cardano minimum supported versions in
networks.jsonmust be updated following the runbook - Create a draft PR for rotating the documentation
- Create a draft PR for updating
networks.jsonfile - Create a PR for rotating the
CHANGELOG.md(set the distribution version) - Update the PR for rotating the
CHANGELOG.md(if needed) - Merge the PR for rotating the
CHANGELOG.md - Prepare announcements and highlights
- Prepare dev blog posts
Phase 2: Rollout pre-release distribution
- Add new blocks and transaction proving parameters:
AGGREGATOR_CARDANO_BLOCKS_TRANSACTIONS_PROVER_CACHE_POOL_SIZE,AGGREGATOR_CARDANO_BLOCKS_TRANSACTIONS_DATABASE_CONNECTION_POOL_SIZE,AGGREGATOR_CARDANO_BLOCKS_TRANSACTIONS_SIGNING_CONFIG_SECURITY_PARAMETERandAGGREGATOR_CARDANO_BLOCKS_TRANSACTIONS_SIGNING_CONFIG_STEP:-
pre-release-preview
-
- Update Cardano node version to
10.7.1(CARDANO_NODE_VERSION):-
pre-release-preview
-
- Update DMQ node version to
0.4.2.0(DMQ_NODE_VERSION):-
pre-release-preview
-
- Tag and deploy a
2617.0pre-release distribution on thepre-release-previewnetwork - 🔥 Warmup Cardano nodes for
10.7.1- Phase 2:-
pre-release-preview
-
- Fill information in GitHub release:
- Release notes
- Highlights
- Make sure Grafana dashboards are fetching data for
pre-release-preview - Make sure libraries version
nexthave been published on npm registry - Run an all green client multi-platform test in the CI
- Run a Cardano transaction prover benchmark:
- Store results in the issue
- Make sure that there is no performance regression since last release
- Announce the pre-release on discord channel
- Announce any breaking change in:
- #cardano-scaling slack channel for pre-release
- #blockfrost-scaling slack channel for pre-release
- #ddz-iog-daedalus slack channel for pre-release
-
Cardano Foundation IBC bridge team
- Wait for at least
2epochs and check that:- Previous signers have registered in the current epoch
- New signers have registered in the current epoch
- Previous signers have signed in the
2epochs - New signers have signed in the
2epochs
- Synchronize
cardano-transactions.sqlite3database - Phase 1:-
release-mainnet
-
Phase 3: Rollout release distribution
- Create a PR for rotating the
CHANGELOG.md:- Updating the release date of the distribution
- Updating the crate versions table
- Add new blocks and transaction proving parameters:
AGGREGATOR_CARDANO_BLOCKS_TRANSACTIONS_PROVER_CACHE_POOL_SIZE,AGGREGATOR_CARDANO_BLOCKS_TRANSACTIONS_DATABASE_CONNECTION_POOL_SIZE,AGGREGATOR_CARDANO_BLOCKS_TRANSACTIONS_SIGNING_CONFIG_SECURITY_PARAMETERandAGGREGATOR_CARDANO_BLOCKS_TRANSACTIONS_SIGNING_CONFIG_STEP:-
release-preprod -
release-mainnet
-
- Update Cardano node version to
10.7.1(CARDANO_NODE_VERSION):-
release-preprod -
release-mainnet
-
- Rotate KMS credentials:
- Destroy the previous key for the ancillary signer service account of
release-mainnet - Create a new key for the ancillary signer service account of
release-mainnet - Configure
release-mainnetenvironment with new service account credentials - Check that KMS credentials are working with the creation of the next Cardano database snapshot
- Destroy the previous key for the ancillary signer service account of
- Release the
2617.0distribution - Fill information in GitHub release:
- Cardano node compatibility
- Networks compatibility
- 🔥 Warmup Cardano nodes for
10.7.1- Phase 2:-
release-preprod -
release-mainnet
-
- Synchronize
cardano-transactions.sqlite3database - Phase 2:-
release-mainnet
-
- Make sure
release-mainnetis working as expected - Make sure
release-preprodis working as expected - Make sure libraries have been published on crates.io
- Make sure libraries version
latesthave been published on npm registry - Make sure Grafana dashboards are fetching data for
release-mainnet - Make sure Grafana dashboards are fetching data for
release-preprod - Merge the PR for rotating the documentation
- Merge the PR for updating
networks.jsonfile - Merge the PR for rotating the
CHANGELOG.md - Announce the release on discord channel (with breaking-change, upcoming features activation, ...)
- Announce any breaking/new feature change in:
- #cardano-scaling slack channel for release
- #blockfrost-scaling slack channel for release
- #ddz-iog-daedalus slack channel for release
-
Cardano Foundation IBC bridge team
- Update Hydra tutorial if client breaking change for database restoration
- Dev blog post:
- Distribution
2617 - Update the
Switching to Cardano database incremental certificationdev blog post - Add a dev blog post for stable signer version
- Add a dev blog post for static builds
- Update the DMQ testing phase dev blog post
- Update the Multiple Aggregators testing phase dev blog post
- Distribution
- Update roadmap with new distribution
Activity
jpraynaud commentedon Feb 13, 2026
Cardano node warmup
Select the Mithril network
pre-release-preview
release-preprod
release-mainnet
Phase 0: Verify enough disk space is available in data disk
At least 50% of available space on data disk
Phase 1: Warmup a temporary Cardano node from a Mithril snapshota
Create temp dir
rm -rf /home/curry/data/temp mkdir -p /home/curry/data/temp cd /home/curry/data/tempDownload Mithril client
Download latest snapshot
Restore the Cardano node
Phase 2: Switch Cardano database from the main node with the warmed-up one
Copy Cardano database to aggregator
Cleanup directory (when node is back up)
[-]Release `2609` distribution[/-][+]Release `2608` distribution[/+]dev-mainnet#3028devaggregators #3050[-]Release `2608` distribution[/-][+]Release `2614` distribution[/+]10.7#2894[-]Release `2614` distribution[/-][+]Release `2615` distribution[/+][-]Release `2615` distribution[/-][+]Release `2617` distribution[/+]jpraynaud commentedon Apr 22, 2026
Synchronize Cardano blocks and transactions store between aggregators
Prepare environment vars
pre-release-preview
release-mainnet
Phase 0: Check if enough disk space
Check the free disk space on the target aggregator host (the synchronization needs enough room to hold the incoming copy in
cardano-blocks-txs.nextand the backup incardano-blocks-txs.previousalongside the active store):Minimum free disk space required (to be confirmed):
Phase 1: Copy a Cardano blocks and transactions store
List the current content of the source and target store folders:
Stop the source aggregator so the SQLite files are in a consistent state (WAL checkpointed):
Create the staging folder on the target aggregator:
Copy the SQLite files (database, shared memory and write-ahead log) from the source to the target through a local relay:
Note: the
-shmand-walfiles may not exist, ignore missing file errors for those two.Restart the source aggregator:
Phase 2: Update the Cardano blocks and transactions store
List the current content of the target store folder:
Stop the target aggregator:
Back up the current store by moving its files into
cardano-blocks-txs.previous:Promote the freshly copied store by moving files out of
cardano-blocks-txs.next:Restart the target aggregator:
Check the logs to confirm the aggregator starts correctly and serves the new store:
Phase 3: Rollback previous Cardano blocks and transactions store
If the target aggregator does not behave as expected after Phase 2, restore the previous store from the
cardano-blocks-txs.previousbackup:Stop the target aggregator:
Move the failed store aside (so it can be inspected later if needed) and restore the backup:
Restart the target aggregator:
Verify the aggregator has recovered with the previous store:
Phase 4: Clean up
Once the target aggregator has been running correctly on the new store for long enough to be confident the synchronization is successful, remove the staging and backup folders to free disk space:
If a
cardano-blocks-txs.failedfolder was created during a rollback and is no longer needed, remove it as well:jpraynaud commentedon Apr 23, 2026
Cardano transactions prover benchmark
Note
run on GCP with
e2-highmem-4machine with4vCPUs and64GBof RAMnot during Cardano database snapshotting
vs previous results