Repository navigation
Update ouroboros-consensus, cardano-ledger dependencies for node 11.2 - #1328
Merged
Merged
Conversation
koslambrou
force-pushed
the
koslambrou/prepare-11.2
branch
from
September 3, 2026 17:50
6f93e4a to
4a07264
Compare
koslambrou
force-pushed
the
koslambrou/prepare-11.2
branch
3 times, most recently
from
September 10, 2026 19:57
449b549 to
69b235c
Compare
koslambrou
force-pushed
the
koslambrou/prepare-11.2
branch
4 times, most recently
from
September 11, 2026 00:24
43c1b9a to
a8d64c5
Compare
Contributor
Author
|
Because of the migration from @Jimbo4350 What do you think should be done about this? |
koslambrou
force-pushed
the
koslambrou/prepare-11.2
branch
2 times, most recently
from
September 11, 2026 14:23
fb9b811 to
6095192
Compare
koslambrou
force-pushed
the
koslambrou/prepare-11.2
branch
7 times, most recently
from
October 3, 2026 01:55
f7ca4e9 to
d612005
Compare
palas
force-pushed
the
koslambrou/prepare-11.2
branch
from
October 6, 2026 12:49
80dc064 to
20f5a2d
Compare
Contributor
palas
force-pushed
the
koslambrou/prepare-11.2
branch
from
October 6, 2026 12:53
20f5a2d to
d393878
Compare
palas
marked this pull request as ready for review
October 6, 2026 12:55
palas
requested review from
CarlosLopezDeLara,
carbolymer,
disassembler and
palas
as code owners
October 6, 2026 12:55
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Dijkstra conversions omit new ledger data, and breaking-change migration notes need correction.
Review effort: Balanced
Findings: 2
Open (4)
What changed in this PR
Prepares cardano-api and cardano-rpc for node 11.2 by updating dependencies and adapting ledger, consensus and RPC integrations.
Changes:
- Refresh dependency bounds, package indexes, Nix inputs and WASM overrides.
- Adapt Dijkstra parameters, era-indexed pool types and BLS key support.
- Update compatibility tests, RPC exception handling and quickstart settings.
| File | Description |
|---|---|
flake.lock |
Refresh package-source pins. |
cardano-rpc/test/cardano-rpc-test/Test/Cardano/Rpc/EraSummary.hs |
Adapt fixtures to Peras history types. |
cardano-rpc/src/Cardano/Rpc/Server/Internal/UtxoRpc/Type/Certificate.hs |
Accept era-indexed pool types. |
cardano-rpc/src/Cardano/Rpc/Server.hs |
Adapt exception handling to grapesy. |
cardano-rpc/quickstart/typescript/shell.nix |
Normalize Nix formatting. |
cardano-rpc/quickstart/shell.nix |
Normalize Nix formatting. |
cardano-rpc/quickstart/rust/shell.nix |
Normalize Nix formatting. |
cardano-rpc/quickstart/python/shell.nix |
Normalize Nix formatting. |
cardano-rpc/quickstart/haskell/cardano-rpc-quickstart.cabal |
Enable threaded executables. |
cardano-rpc/quickstart/go/shell.nix |
Normalize Nix formatting. |
cardano-rpc/cardano-rpc.cabal |
Replace memory with ram. |
cardano-api/test/cardano-api-test/Test/Cardano/Api/TxBody.hs |
Initialize the new pool BLS field. |
cardano-api/test/cardano-api-test/Test/Cardano/Api/Experimental/Fee.hs |
Initialize the new pool BLS field. |
cardano-api/test/cardano-api-test/Test/Cardano/Api/EpochLeadership.hs |
Update stake-distribution fixtures. |
cardano-api/test/cardano-api-test/Test/Cardano/Api/Certificate.hs |
Add pool-parameter and certificate round trips. |
cardano-api/test/cardano-api-test/cardano-api-test.hs |
Register certificate tests. |
cardano-api/src/Cardano/Api/Query/Internal/Type/QueryInMode.hs |
Era-index pool-state results. |
cardano-api/src/Cardano/Api/Query/Internal/Expr.hs |
Update the pool-state query signature. |
cardano-api/src/Cardano/Api/LedgerState.hs |
Adapt genesis fields and snapshot access. |
cardano-api/src/Cardano/Api/Ledger/Internal/Reexport.hs |
Re-export ledger BLS keys. |
cardano-api/src/Cardano/Api/Key/Internal/Mnemonic.hs |
Convert between extended-key representations. |
cardano-api/src/Cardano/Api/Key/Internal/Leios.hs |
Derive ledger BLS key/proof pairs. |
cardano-api/src/Cardano/Api/Key.hs |
Export the BLS conversion helper. |
cardano-api/src/Cardano/Api/Internal/Orphans/Serialisation.hs |
Remove the local withdrawals JSON instance. |
cardano-api/src/Cardano/Api/Internal/Orphans/Misc.hs |
Combine new Dijkstra update fields. |
cardano-api/src/Cardano/Api/Genesis/Internal.hs |
Populate new Dijkstra genesis defaults. |
cardano-api/src/Cardano/Api/Experimental/Tx/Internal/Certificate/Compatible.hs |
Era-index registration parameters. |
cardano-api/src/Cardano/Api/Experimental/Tx/Internal/Certificate.hs |
Era-index registration parameters. |
cardano-api/src/Cardano/Api/Crypto/Ed25519Bip32.hs |
Adapt byte-array access and crypto arguments. |
cardano-api/src/Cardano/Api/Consensus/Internal/Protocol.hs |
Enable updated superclass constraints. |
cardano-api/src/Cardano/Api/Compatible/ProtocolParametersUpdate.hs |
Add Leios update fields and conversions. |
cardano-api/src/Cardano/Api/Certificate/Internal.hs |
Preserve BLS keys in pool conversions. |
cardano-api/src/Cardano/Api/Block.hs |
Remove unnecessary conversion constraints. |
cardano-api/gen/Test/Gen/Cardano/Api/ProtocolParameters.hs |
Generate added Leios fields. |
cardano-api/cardano-api.cabal |
Update dependencies and register tests. |
cabal.project |
Refresh indexes and compatibility overrides. |
.gitignore |
Ignore local direnv files. |
.changes/20260925_104337_cardano-api_ch1bo_leios_pparam_updates.yml |
Describe Leios parameter additions. |
.changes/20260910_200246_cardano-rpc_kolam_prepare_11_2.yml |
Describe RPC compatibility updates. |
.changes/20260910_200246_cardano-api_kolam_prepare_11_2.yml |
Describe API compatibility updates. |
.changes/20260813_120000_cardano-api_sebastian.nagel_stake_pool_bls_key.yml |
Document BLS support and migration. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| , idMaxEndorserBlockReferencesSize = ppupdate ^. Ledger.ppuMaxEndorserBlockReferencesSizeL | ||
| , idMaxEndorserBlockTxsSize = ppupdate ^. Ledger.ppuMaxEndorserBlockTxsSizeL | ||
| , idMaxEndorserBlockExUnits = ppupdate ^. Ledger.ppuMaxEndorserBlockExUnitsL | ||
| , idMaxRefScriptSizePerEndorserBlock = ppupdate ^. Ledger.ppuMaxRefScriptSizePerEndorserBlockL |
Comment on lines
+250
to
+251
| stakePoolParamsToUtxoRpcPoolRegistration | ||
| :: L.StakePoolParams era -> Proto UtxoRpc.PoolRegistrationCert |
Comment on lines
+1
to
+7
| description: | | ||
| Compatibility updates for ouroboros-consensus 4.0, cardano-ledger, and plutus 1.68: | ||
| fix `SerialisedPoolState` to carry an era type parameter, add `individualPoolStakeBls` | ||
| field to `IndividualPoolStake`, update `History.Bound` to the new Peras API | ||
| (`PerasRoundNo`, `NoPerasEnabled`), and bump dependency bounds accordingly. | ||
| kind: | ||
| - release |
Comment on lines
+2
to
+4
| Add the Leios protocol parameters to pparams updates via | ||
| `createIntroducedInDijkstraPParams` by extending | ||
| `pparamsUpdateToIntroducedInDijkstraPParams` |
koslambrou
force-pushed
the
koslambrou/prepare-11.2
branch
from
October 6, 2026 13:16
d393878 to
2d580ef
Compare
…consensus released on CHaP for next node release 11.2 * Fix build compatibility: ByteArrayAccess, XPrv conversion, new ledger fields * Re-export DijkstraTxCert from Cardano.Api.Ledger * Add Dijkstra era protocol parameter update support * Fix SerialisedPoolState to carry an era type parameter; unwrap Serialised in QueryPoolState * Update to era-parameterized PoolCert/StakePoolParams in cardano-rpc certificate types * Add individualPoolStakeBls (SNothing) field to IndividualPoolStake in EpochLeadership test * Update History.Bound and EraParams to new Peras API (PerasRoundNo, NoPerasEnabled) * Adapt cardano-rpc grapesy integration: memory -> ram, ExactException handler signature
Adds Leios parameters to createIntroducedInDijkstraPParams and pparamsUpdateToIntroducedInDijkstraPParams
koslambrou
force-pushed
the
koslambrou/prepare-11.2
branch
from
October 6, 2026 13:17
2d580ef to
af61493
Compare
Jimbo4350
added a commit
to IntersectMBO/cardano-node
that referenced
this pull request
Oct 6, 2026
…ction commands Point cardano-api (and cardano-rpc) at IntersectMBO/cardano-api@c9943eb3, which is master after IntersectMBO/cardano-api#1328 (ouroboros-consensus 5.0, cardano-ledger-core 1.22) and IntersectMBO/cardano-api#1361 (the Dijkstra sub-transaction API), replacing the input-output-hk fork pin. Point cardano-cli at IntersectMBO/cardano-cli@c5062645, the head of IntersectMBO/cardano-cli#1453 ("Add transaction sub-transaction commands (Dijkstra)") on top of the 11.2 bounds update, so that the cardano-cli in the build plan has the `dijkstra transaction sub-transaction` commands the "Nested transaction swap" test needs. Previously the test could only run with CARDANO_CLI pointing at a separate build of that PR, and a build against the old ledger at that, since its `create-testnet-data` writes a Dijkstra genesis without `minPoolMargin`. With these pins both Dijkstra tests pass with no environment overrides. The cardano-cli pin is temporary: replace it once #1453 is released.
Jimbo4350
added a commit
to IntersectMBO/cardano-node
that referenced
this pull request
Oct 9, 2026
…ction commands Point cardano-api (and cardano-rpc) at IntersectMBO/cardano-api@c9943eb3, which is master after IntersectMBO/cardano-api#1328 (ouroboros-consensus 5.0, cardano-ledger-core 1.22) and IntersectMBO/cardano-api#1361 (the Dijkstra sub-transaction API), replacing the input-output-hk fork pin. Point cardano-cli at IntersectMBO/cardano-cli@c5062645, the head of IntersectMBO/cardano-cli#1453 ("Add transaction sub-transaction commands (Dijkstra)") on top of the 11.2 bounds update, so that the cardano-cli in the build plan has the `dijkstra transaction sub-transaction` commands the "Nested transaction swap" test needs. Previously the test could only run with CARDANO_CLI pointing at a separate build of that PR, and a build against the old ledger at that, since its `create-testnet-data` writes a Dijkstra genesis without `minPoolMargin`. With these pins both Dijkstra tests pass with no environment overrides. The cardano-cli pin is temporary: replace it once #1453 is released.
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.


Uh oh!
There was an error while loading. Please reload this page.