Repository navigation
Add --spec-dijkstra flag to dijkstra genesis create-testnet-data - #1465
Merged
Merged
Conversation
palas
requested review from
Jimbo4350,
carbolymer,
disassembler and
kevinhammond
as code owners
October 13, 2026 20:16
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The option exposure, generated-output regression test, valid fixture, and help snapshots are consistent and complete.
0 open findings
What changed in this PR
Exposes the existing --spec-dijkstra option and verifies that custom Dijkstra genesis specifications are preserved.
Changes:
- Makes
--spec-dijkstravisible in CLI help. - Adds functional coverage with a custom Dijkstra genesis fixture.
- Updates help snapshots and changelog metadata.
| File | Description |
|---|---|
cardano-cli/src/Cardano/CLI/EraBased/Genesis/Option.hs |
Exposes the Dijkstra specification option. |
cardano-cli/test/cardano-cli-golden/Test/Golden/CreateTestnetData.hs |
Tests custom Dijkstra genesis output. |
cardano-cli/test/cardano-cli-golden/files/input/dijkstra/genesis.dijkstra.spec.json |
Adds the test specification. |
cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create-testnet-data.cli |
Updates latest-era help. |
cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_genesis_create-testnet-data.cli |
Updates Dijkstra help. |
cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create-testnet-data.cli |
Updates Conway help. |
cardano-cli/test/cardano-cli-golden/files/golden/help.cli |
Updates consolidated help output. |
.changes/20261013_205950_cardano-cli_palas_spec_dijkstra_flag.yml |
Documents the feature. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
palas
force-pushed
the
add-spec-dijkstra
branch
from
October 13, 2026 20:20
f8bc1a4 to
57fa88b
Compare
Jimbo4350
approved these changes
Oct 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
The
--spec-dijkstraflag indijkstra genesis create-testnet-datawas hidden. This PR shows it and adds a golden test for it.How to trust this PR
The change itself it is pretty straightforward. But how do we know that the produced
.spec.jsonfile does indeed work? I've tested that in this branch incardano-node: palas/spec-dijkstra-test/prepare-11.2Checklist
.changes/