Skip to content

Node 10.7 integration#1050

Merged
disassembler merged 24 commits intomasterfrom
geo2a/10.7-integration
Mar 18, 2026
Merged

Node 10.7 integration#1050
disassembler merged 24 commits intomasterfrom
geo2a/10.7-integration

Conversation

@geo2a
Copy link
Contributor

@geo2a geo2a commented Dec 9, 2025

Changelog

- description: |
    Integrate new Ledger and Consensus packages for Node 10.7.
  type:
  - breaking
  projects:
  - cardano-api

Context

This PR brings the new Ledger and Consensus packages and attempts to integrate them into cardano-api.

How to trust this PR

Review the dependency bumps and any type-level changes required to accommodate the new Ledger/Consensus APIs.

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

@geo2a geo2a force-pushed the geo2a/10.7-integration branch from 6938982 to e695dcc Compare December 9, 2025 15:51
@geo2a geo2a force-pushed the geo2a/10.7-integration branch from 2f79591 to 463b9e8 Compare December 22, 2025 14:42
@geo2a geo2a force-pushed the geo2a/10.7-integration branch from 463b9e8 to eed7d01 Compare January 2, 2026 08:58
@carbolymer carbolymer force-pushed the geo2a/10.7-integration branch from 0679166 to ae8a93f Compare January 5, 2026 07:52
, Plutus.EraPlutusContext (ShelleyLedgerEra era)
, L.Script (ShelleyLedgerEra era) ~ L.AlonzoScript (ShelleyLedgerEra era)
, L.ScriptsNeeded (ShelleyLedgerEra era) ~ L.AlonzoScriptsNeeded (ShelleyLedgerEra era)
, L.ShelleyEraTxCert (ShelleyLedgerEra era)
Copy link
Contributor

@carbolymer carbolymer Jan 5, 2026

Choose a reason for hiding this comment

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

I'm not 100% convinced about this change. Depending on the legacy certificates support, we might need to revert this and split AlonzoEraOnwardsConstraints into two:

  1. from Alonzo to Conway including ShelleyEraTxCert
  2. from Dijkstra onwards.

This needs to be double checked and if anything pops out during cardano-cli integration.

@geo2a geo2a self-assigned this Jan 30, 2026
@geo2a geo2a force-pushed the geo2a/10.7-integration branch 2 times, most recently from 91d8ca3 to 12fbb1e Compare February 2, 2026 16:00
@geo2a geo2a force-pushed the geo2a/10.7-integration branch from 12fbb1e to 88149e9 Compare February 6, 2026 08:25
@Jimbo4350 Jimbo4350 mentioned this pull request Feb 9, 2026
3 tasks
@geo2a geo2a force-pushed the geo2a/10.7-integration branch 6 times, most recently from 6227b26 to 89109c0 Compare February 12, 2026 18:13
@geo2a geo2a force-pushed the geo2a/10.7-integration branch 3 times, most recently from 46864d5 to 8711784 Compare February 19, 2026 10:07
@geo2a geo2a force-pushed the geo2a/10.7-integration branch from 8711784 to c476239 Compare February 19, 2026 11:26
@geo2a geo2a force-pushed the geo2a/10.7-integration branch 3 times, most recently from fd21353 to 71e925a Compare February 26, 2026 10:00
@geo2a geo2a force-pushed the geo2a/10.7-integration branch 2 times, most recently from 0dab4b5 to 5407021 Compare February 26, 2026 18:00
geo2a and others added 21 commits March 18, 2026 14:19
- `cardano-crypto-class-2.3.1`
- `typed-protocols-1.2`
- `ouroboros-network-1.1`
- `cardano-diffusion-1.0`
Co-authored-by: Georgy Lukyanov <georgy.lukyanov@iohk.io>
Co-authored-by: Javier Sagredo <jasataco@gmail.com>
- Introduce transaction levels
- Use `StrictMaybe` in transaction body
- Update key roles
- Replace Witness with Guard
- `PoolParams` -> `StakePoolParams`
- Remove redundant patterns in `Cardano.Api.Tx.Internal.Output.toShelleyTxOut`
- Add ledger lenses for `ChainAccountState` to exports from `Cardano.Api.Ledger`
- Rename Ledger's `PParams` fields
- Shelley.RewardAccount -> Shelley.AccountAddress
- Integrate `PoolMetadata` hash type change
- `Coin` -> `CompactCoin Coin`
- Use new name of the Constitution script hash
- Update CostModel JSON format
- Update ledger event patterns
Replace stub `toJSON = undefined` implementations with real ones
that delegate to the underlying Map and Set instances via toMap/toSet.
Handle StrictMaybe/Maybe conversion inside the lenses (via strictMaybeL)
rather than exposing StrictMaybe in the public API. Keeps TxValidityUpperBound,
convValidityLowerBound, convValidityUpperBound, and the three validity bound
lenses stable.
GetStakeSnapshots in ouroboros-consensus 1.0.0.0 requires EraGov,
which must be available in the context of toConsensusQueryShelleyBased.
@geo2a geo2a force-pushed the geo2a/10.7-integration branch from 9568693 to 86d4c20 Compare March 18, 2026 13:21
@Jimbo4350 Jimbo4350 added this pull request to the merge queue Mar 18, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 18, 2026
@disassembler disassembler added this pull request to the merge queue Mar 18, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 18, 2026
@disassembler disassembler added this pull request to the merge queue Mar 18, 2026
Merged via the queue into master with commit 3846b03 Mar 18, 2026
32 checks passed
@disassembler disassembler deleted the geo2a/10.7-integration branch March 18, 2026 15:58
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.

8 participants