Skip to content

Fix cardano-submit-api rejecting Dijkstra era transactions - #6725

Merged
carbolymer merged 1 commit into
masterfrom
mgalazyn/fix/submit-api-dijkstra-tx-decoding
Oct 7, 2026
Merged

carbolymer merged 1 commit into
masterfrom
mgalazyn/fix/submit-api-dijkstra-tx-decoding

Conversation

@carbolymer

@carbolymer carbolymer commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Description

Fixes #6719

cardano-submit-api decoded submitted transactions with a hand-written list of era decoders that stopped at Conway.
Simple Dijkstra transactions still went through, because the Conway decoder accepts them.
Any transaction with a Dijkstra-specific encoding, such as a required signer, was rejected with a TxCmdTxReadError decoding error.

The decoder list is now derived from every Shelley-based era that cardano-api knows, so Dijkstra is included and later eras need no further change here.
This is the same approach cardano-cli uses when it reads transactions.
The pinned cardano-api 11.7 already has Dijkstra as its newest era, so no dependency bump is needed.

The cardano-submit-api test suite is a stub, so this PR adds no test.
The cardano-node-tests cases listed in the issue cover the regression.

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

@carbolymer carbolymer self-assigned this Oct 6, 2026
@carbolymer
carbolymer force-pushed the mgalazyn/fix/submit-api-dijkstra-tx-decoding branch from 41fc84a to 64371a9 Compare October 6, 2026 18:20
@carbolymer carbolymer changed the title Enable support for Dijkstra transactions in cardano-submit-api Fix cardano-submit-api rejecting Dijkstra era transactions Oct 6, 2026
@carbolymer
carbolymer marked this pull request as ready for review October 7, 2026 06:03
@carbolymer
carbolymer requested a review from a team as a code owner October 7, 2026 06:03
@carbolymer
carbolymer added this pull request to the merge queue Oct 7, 2026
Merged via the queue into master with commit 19ac3af Oct 7, 2026
32 checks passed
@carbolymer
carbolymer deleted the mgalazyn/fix/submit-api-dijkstra-tx-decoding branch October 7, 2026 06:35
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.

[BUG] - cardano-submit-api cannot decode Dijkstra era transactions

2 participants