Skip to content

Test dijkstra - #6716

Open
palas wants to merge 5 commits into
generalise-for-dijkstrafrom
test-dijkstra
Open

palas wants to merge 5 commits into
generalise-for-dijkstrafrom
test-dijkstra

Conversation

@palas

@palas palas commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

DO NOT MERGE until SRPs are removed!

Description

This PR modifies cardano-testnet to target Dijkstra instead of Conway. Currently it uses SRPs to the patched versions of cardano-ledger and ouroboros-network. We will update it to use the releases after bumping them in cardano-api and cardano-cli.

Also, this PR currently removes PlutusV2, because of a bug that is fixed in IntersectMBO/cardano-ledger#6030, we need to restore PlutusV2 once we use the last released versions of dependencies that patch it so that it shows up when starting in Dijkstra.

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • New tests are added if needed and existing tests are updated. These may include:
    • golden tests
    • property tests
    • roundtrip tests
    • integration tests
      See Running tests for more details
  • Any changes are noted in the CHANGELOG.md for affected package
    • cardano-node-chairman, cardano-submit-api and cardano-testnet instead need a
      changelog fragment in <package>/.changes/, because their CHANGELOG.md is generated
      from fragments at release time. Copy _TEMPLATE.yml from that directory, or run
      nix run github:input-output-hk/cardano-dev#herald -- new
  • The version bounds in .cabal files are updated
  • CI passes. See note on CI. The following CI checks are required:
    • Code is linted with hlint. See .github/workflows/check-hlint.yml to get the hlint version
    • Code is formatted with stylish-haskell. See .github/workflows/stylish-haskell.yml to get the stylish-haskell version
    • Code builds on Linux, MacOS and Windows for ghc-9.6 and ghc-9.12
  • Self-reviewed the diff

Jimbo4350 and others added 4 commits October 2, 2026 19:48
… Dijkstra"

Temporarily point ouroboros-consensus at
IntersectMBO/ouroboros-consensus@0ebed78d, which is the 4.2.1.0 release
plus the cherry-picked commit from IntersectMBO/ouroboros-consensus#2167
(branch jordan/4.2.1.0-allow-hardfork-into-dijkstra). No 4.x release
contains that change yet; without it the Conway ledger config is built
with TriggerHardForkNotDuringThisExecution and the node can never enter
the Dijkstra era, so the "Hard fork to Dijkstra" test fails at the era
assertion.

With this SRP the "Hard fork to Dijkstra" test passes: the governance
hard fork to PV12 moves the node into Dijkstra and `query tip` reports
the Dijkstra era. The "Nested transaction swap" test now reaches the
Dijkstra ledger and is rejected with SubBadInputsUTxO, because UTxO-HD
key fetching (getTransactionKeySets via allInputsTxBodyF) does not load
sub-transaction inputs; that is a separate consensus/ledger fix.

Replace with a released ouroboros-consensus once one is available.
@palas palas self-assigned this Oct 2, 2026
@palas
palas added this pull request to stack #6717 October 2, 2026 18:02
@palas
palas requested a review from a team as a code owner October 2, 2026 18:02

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants