Skip to content

feat: deploy a dev-dijkstranet Mithril network - #3707

Merged
jpraynaud merged 14 commits into
mainfrom
jpraynaud/3689-dev-dijkstranet-network
Nov 25, 2026
Merged

jpraynaud merged 14 commits into
mainfrom
jpraynaud/3689-dev-dijkstranet-network

Conversation

@jpraynaud

@jpraynaud jpraynaud commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Content

This PR includes a new dev-dijkstranet Mithril network running on the Cardano Dijkstranet test network with Cardano node 11.2:

  • Add the dijkstranet network code to the Cardano network (magic 6) and to the DMQ network (magic 2147483654) of the Mithril nodes
  • Add the Dijkstranet Cardano node 11.2 configuration files to the infrastructure, including dijkstra-genesis.json
  • Add the Dijkstranet Cardano and DMQ network magics to the Terraform configuration
  • Support the Version 2 Cardano node configuration format used by Dijkstranet when exposing the node metrics to Prometheus
  • Add the dev-dijkstranet network to the test network deployment workflow (P2P with DMQ, IPFS, 2 signers, era reader bootstrap and fake protocol configuration)
  • Update the Cardano node runbooks with the dev-dijkstranet environment and the manual setup of its configuration files

Pre-submit checklist

  • Branch
    • Tests are provided (if possible)
    • Crates versions are updated (if relevant)
    • CHANGELOG file is updated (if relevant)
    • Commit sequence broadly makes sense
    • Key commits have useful messages
  • PR
    • All check jobs of the CI have succeeded
    • Self-reviewed the diff
    • Useful pull request description
    • Reviewer requested
  • Documentation
    • No new TODOs introduced

Issue(s)

Closes #3689

@jpraynaud jpraynaud self-assigned this Nov 13, 2026
@github-actions

github-actions Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Test Results

     5 files  ±0     211 suites  ±0   53m 10s ⏱️ - 2m 20s
 4 679 tests ±0   4 679 ✅ ±0  0 💤 ±0  0 ❌ ±0 
15 401 runs  ±0  15 401 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 4926275. ± Comparison against base commit 95dcb2c.

♻️ This comment has been updated with latest results.

@jpraynaud
jpraynaud force-pushed the jpraynaud/3689-dev-dijkstranet-network branch from 8196706 to 5fed716 Compare November 13, 2026 15:17
@jpraynaud
jpraynaud temporarily deployed to testing-2-preview November 13, 2026 15:42 — with GitHub Actions Inactive
@jpraynaud
jpraynaud temporarily deployed to dev-follower-preview November 13, 2026 15:58 — with GitHub Actions Inactive
@jpraynaud
jpraynaud force-pushed the jpraynaud/3689-dev-dijkstranet-network branch from 5fed716 to 53f583d Compare November 13, 2026 16:12
@jpraynaud
jpraynaud temporarily deployed to testing-2-preview November 13, 2026 17:08 — with GitHub Actions Inactive
@jpraynaud
jpraynaud force-pushed the jpraynaud/3689-dev-dijkstranet-network branch from 47b8b69 to ffc4841 Compare November 16, 2026 11:30
@jpraynaud
jpraynaud temporarily deployed to dev-follower-preview November 16, 2026 11:37 — with GitHub Actions Inactive
@jpraynaud
jpraynaud temporarily deployed to dev-follower-preview November 16, 2026 11:39 — with GitHub Actions Inactive
@jpraynaud
jpraynaud temporarily deployed to testing-2-preview November 16, 2026 11:43 — with GitHub Actions Inactive
@jpraynaud
jpraynaud temporarily deployed to dev-follower-preview November 16, 2026 12:49 — with GitHub Actions Inactive
@jpraynaud
jpraynaud requested a review from damrobi as a code owner November 25, 2026 08:55
Copilot AI lite review requested due to automatic review settings November 25, 2026 08:55
@jpraynaud jpraynaud removed the do-not-merge 🔒 Do not merge label Nov 25, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The change still has an unresolved critical startup failure because the application rejects the new dijkstranet network code, along with a moderate bootstrap configuration mismatch.

2 open issues
What changed in this PR

Adds infrastructure and deployment support for a new dev-dijkstranet Mithril network backed by Cardano Dijkstranet and Cardano node 11.2.

Changes:

  • Adds Dijkstranet Cardano and DMQ network mappings, genesis keys, node configuration, topology, and protocol parameters.
  • Updates Terraform infrastructure, pool tooling, monitoring compatibility, and aggregator configuration for the new network.
  • Adds the network to the test deployment workflow and documents its node artifact preparation and upgrade procedures.
File Description
mithril-infra/​variables.tf Adds Cardano and DMQ magic mappings for Dijkstranet.
mithril-infra/​mithril.signer.tf Adds Cardano node v2 metrics support and Praos block producer configuration.
mithril-infra/​mithril.aggregator.tf Adds Cardano node v2 metrics support and optional Blockfrost configuration.
mithril-infra/​configuration/​dev-dijkstranet/​genesis.vkey Adds the Dijkstranet Mithril genesis verification key.
mithril-infra/​configuration/​dev-dijkstranet/​genesis-dual.vkey Adds the Dijkstranet dual genesis verification key.
mithril-infra/​configuration/​dev-dijkstranet/​ancillary.vkey Adds the Dijkstranet ancillary verification key.
mithril-infra/​assets/​tools/​pool/​register-stake-pool.sh Adds Dijkstra-era BLS signing-key support during pool registration.
mithril-infra/​assets/​tools/​pool/​create-keys.sh Adds generation of BLS keys for Dijkstra-era pools.
mithril-infra/​assets/​docker/​prometheus/​disk_usage_exporter/​Dockerfile Updates the disk usage exporter base image and runtime user setup.
mithril-infra/​assets/​docker/​docker-compose-aggregator-base.yaml Passes optional Blockfrost configuration through the aggregator environment.
mithril-infra/​assets/​docker/​cardano/​config/​11.2/​dijkstranet/​cardano-node/​tracer-config.json Adds tracer configuration for the Dijkstranet Cardano node.
mithril-infra/​assets/​docker/​cardano/​config/​11.2/​dijkstranet/​cardano-node/​topology.json Adds Dijkstranet bootstrap and peer topology.
mithril-infra/​assets/​docker/​cardano/​config/​11.2/​dijkstranet/​cardano-node/​shelley-genesis.json Adds Dijkstranet Shelley genesis parameters.
mithril-infra/​assets/​docker/​cardano/​config/​11.2/​dijkstranet/​cardano-node/​peer-snapshot.json Adds Dijkstranet peer snapshot data.
mithril-infra/​assets/​docker/​cardano/​config/​11.2/​dijkstranet/​cardano-node/​dijkstra-genesis.json Adds Dijkstra-era protocol genesis parameters and cost models.
mithril-infra/​assets/​docker/​cardano/​config/​11.2/​dijkstranet/​cardano-node/​conway-genesis.json Adds Dijkstranet Conway genesis parameters.
mithril-infra/​assets/​docker/​cardano/​config/​11.2/​dijkstranet/​cardano-node/​config.json Adds the Cardano node 11.2 Version 2 configuration for Dijkstranet.
mithril-infra/​assets/​docker/​cardano/​config/​11.2/​dijkstranet/​cardano-node/​byron-genesis.json Adds Dijkstranet Byron genesis parameters.
mithril-infra/​assets/​docker/​cardano/​config/​11.2/​dijkstranet/​cardano-node/​alonzo-genesis.json Adds Dijkstranet Alonzo genesis parameters.
docs/​runbook/​upgrade-cardano-node/​README.md Documents Dijkstranet node upgrades and configuration handling.
docs/​runbook/​prepare-cardano-node-artifacts/​README.md Documents preparation of Dijkstranet Cardano node artifacts.
.github/​workflows/​test-deploy-network.yml Adds the dev-dijkstranet environment to the test network deployment workflow.

Review effort: Lite

…figuration

The tracing options are nested under `Configuration.HermodTracing` in this format.
Include the `dijkstra-genesis.json` file and the Cardano and DMQ network magics.
Mirror `dev-preview` with an era reader `bootstrap-latest` and a fake protocol configuration.
Add the legacy Ed25519 key and the dual key derived from the same secret key.
The Debian 11 security packages are no longer served by the Debian mirror.
…n set

An empty value fails the aggregator configuration deserialization.
The Dijkstra stake pool registration certificate requires a BLS signing key.
A block producer syncing in Genesis mode needs a trusted peer to adopt the chain of its relay.
In Genesis mode, a block producer with its relay as only peer stops syncing far from the tip.
The relay and the block producer created the same `/ipc/node.socket`, the last node started took it.
@jpraynaud
jpraynaud force-pushed the jpraynaud/3689-dev-dijkstranet-network branch 2 times, most recently from d4ad3ff to ce33c6e Compare November 25, 2026 10:57
@jpraynaud
jpraynaud force-pushed the jpraynaud/3689-dev-dijkstranet-network branch from ce33c6e to 4926275 Compare November 25, 2026 10:58

@turmelclem turmelclem left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@jpraynaud
jpraynaud deployed to testing-2-preview November 25, 2026 11:23 — with GitHub Actions Active

@damrobi damrobi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍
Claude told me that the GENESIS_VERIFICATION_KEY_URL variable for dev-dijkstranet points to this branch so it needs to be switched before merge, maybe it's already planned.

@jpraynaud

Copy link
Copy Markdown
Member Author

LGTM 👍 Claude told me that the GENESIS_VERIFICATION_KEY_URL variable for dev-dijkstranet points to this branch so it needs to be switched before merge, maybe it's already planned.

Yes, the GENESIS_VERIFICATION_KEY_URL GitHub variable will be replaced when the PR is merged 👍

@jpraynaud
jpraynaud merged commit 7d89a76 into main Nov 25, 2026
97 of 98 checks passed
@jpraynaud
jpraynaud deleted the jpraynaud/3689-dev-dijkstranet-network branch November 25, 2026 11:57

This branch was successfully deployed

1 active and 5 inactive (4 outdated) deployments
testing-preview — 49262757 Deployed Nov 25, 2026 by jpraynaud via deploy-testing (testing-preview) #14103
dev-dijkstranet — 77cff55f Deployed Nov 16, 2026 by jpraynaud via deploy-testing (dev-dijkstranet) #375
dev-mainnet — 77cff55f Deployed Nov 16, 2026 by jpraynaud via deploy-testing (dev-mainnet) #375
dev-follower-preview — 77cff55f Deployed Nov 16, 2026 by jpraynaud via deploy-testing (dev-follower-preview) #375
dev-preview — 77cff55f Deployed Nov 16, 2026 by jpraynaud via deploy-testing (dev-preview) #375
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deploy a dev-dijkstranet Mithril network

5 participants