Skip to content

Bump ouroboros-consensus to ^>=3.0 and plutus to ^>=1.61#1182

Merged
carbolymer merged 2 commits into
masterfrom
mgalazyn/feature/bump-consensus-plutus
Apr 13, 2026
Merged

Bump ouroboros-consensus to ^>=3.0 and plutus to ^>=1.61#1182
carbolymer merged 2 commits into
masterfrom
mgalazyn/feature/bump-consensus-plutus

Conversation

@carbolymer
Copy link
Copy Markdown
Contributor

@carbolymer carbolymer commented Apr 9, 2026

Changelog

- description: |
    Bump ouroboros-consensus to ^>=3.0 and plutus to ^>=1.61.
    The golden file changes come from upstream plutus changes to the TokenName Show instance:
    - https://github.com/IntersectMBO/plutus/pull/7666 — Show TokenName as hex instead of assuming UTF-8
    - https://github.com/IntersectMBO/plutus/pull/7667 — Add 0x prefix to TokenName Show instance
# uncomment types applicable to the change:
  type:
   - feature        # introduces a new feature
   - breaking       # the API has changed in a breaking way
  # - compatible     # the API has changed but is non-breaking
  # - optimisation   # measurable performance improvements
  # - refactoring    # QoL changes
  # - bugfix         # fixes a defect
  # - test           # fixes/modifies tests
  # - maintenance    # not directly related to the code
  # - release        # related to a new release preparation
  # - documentation  # change in code docs, haddocks...
# uncomment at least one main project this PR is associated with
  projects:
   - cardano-api
  # - cardano-api-gen
  # - cardano-rpc
  # - cardano-wasm

Context

Add changes from:

How to trust this PR

Highlight important bits of the PR that will make the review faster. If there are commands the reviewer can run to observe the new behavior, describe them.

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • New tests are added if needed and existing tests are updated. See Running tests for more details
  • Self-reviewed the diff

Copilot AI review requested due to automatic review settings April 9, 2026 21:11
@carbolymer carbolymer self-assigned this Apr 9, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates dependency pins/constraints to consume newer Cardano ecosystem packages (CHaP), specifically raising ouroboros-consensus to ^>=3.0 and Plutus packages to ^>=1.61.

Changes:

  • Update cardano-api library + golden test-suite dependency bounds for ouroboros-consensus and plutus-*.
  • Advance cabal.project CHaP index-state to a newer snapshot.
  • Update flake.lock to pin CHaP to a newer Git revision (narHash/lastModified/rev).

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
flake.lock Pins cardano-haskell-packages (CHaP) input to a newer revision to supply updated dependencies.
cardano-api/cardano-api.cabal Bumps ouroboros-consensus and plutus-core / plutus-ledger-api version bounds to match the intended ecosystem upgrade.
cabal.project Updates CHaP index-state timestamp so Cabal resolves against the newer package set.

carbolymer and others added 2 commits April 10, 2026 13:11
  Update dependency bounds to match CHaP revisions (PR #1344, PR #1342):
  - ouroboros-consensus ^>=2.0 -> ^>=3.0
  - plutus-core ^>=1.59 -> ^>=1.61
  - plutus-ledger-api ^>=1.59 -> ^>=1.61
@carbolymer carbolymer force-pushed the mgalazyn/feature/bump-consensus-plutus branch from d5474f4 to 7663bb8 Compare April 10, 2026 11:11
Copy link
Copy Markdown
Contributor

@Jimbo4350 Jimbo4350 left a comment

Choose a reason for hiding this comment

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

The golden file changes come from upstream plutus changes to the TokenName Show instance:

  • IntersectMBO/plutus#7666 — Show TokenName as hex instead of assuming UTF-8

  • IntersectMBO/plutus#7667 — Add 0x prefix to TokenName Show instance

    Would be helpful to link these in the PR description so reviewers have context for the golden diff.

@carbolymer carbolymer added this pull request to the merge queue Apr 13, 2026
Merged via the queue into master with commit b017a00 Apr 13, 2026
34 checks passed
@carbolymer carbolymer deleted the mgalazyn/feature/bump-consensus-plutus branch April 13, 2026 06:40
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.

4 participants