Skip to content

Update cardano-api dependency to koslambrou/ch1bo-palas/key-registration branch#1395

Draft
koslambrou wants to merge 1 commit into
ch1bo-palas/key-registrationfrom
koslambrou/ch1bo-palas/key-registration
Draft

Update cardano-api dependency to koslambrou/ch1bo-palas/key-registration branch#1395
koslambrou wants to merge 1 commit into
ch1bo-palas/key-registrationfrom
koslambrou/ch1bo-palas/key-registration

Conversation

@koslambrou

Copy link
Copy Markdown
Contributor
  • Fix nix build: fetch ouroboros-consensus with submodules
  • Fix by adding ouroboros-consensus as a flake input fetched with submodules=1 and registering it in cabalProject'.inputMap so that haskell.nix uses that (submodule-inclusive) store path instead of its own fetchgit call.
  • Also relax the QuickCheck upper-bound from the cardano-api SRP: at index-state 2026-06-30, ral-0.2.2 (pulled in by plutus-core) requires QuickCheck>=2.18, while cardano-api declares QuickCheck<2.18, causing an otherwise-insoluble conflict.
  • Fix warnings from updated cardano-api
    • Compatible/StakePool/Run: add stakePoolLeiosKey = Nothing (new field, not applicable to the pre-Dijkstra compatible registration path)
    • Compatible/Json/Friendly: replace deprecated AlonzoRewarding / ConwayRewarding / DijkstraRewarding with their canonical Withdrawing counterparts to fix -Wdeprecations and -Wincomplete-patterns

…ion branch

* Fix nix build: fetch ouroboros-consensus with submodules
* Fix by adding ouroboros-consensus as a flake input fetched with
`submodules=1` and registering it in cabalProject'.inputMap so that
haskell.nix uses that (submodule-inclusive) store path instead of its own
fetchgit call.
* Also relax the QuickCheck upper-bound from the cardano-api SRP: at
index-state 2026-06-30, ral-0.2.2 (pulled in by plutus-core) requires
QuickCheck>=2.18, while cardano-api declares QuickCheck<2.18, causing an
otherwise-insoluble conflict.
* Fix warnings from updated cardano-api
  - Compatible/StakePool/Run: add stakePoolLeiosKey = Nothing (new field,
    not applicable to the pre-Dijkstra compatible registration path)
  - Compatible/Json/Friendly: replace deprecated AlonzoRewarding /
    ConwayRewarding / DijkstraRewarding with their canonical Withdrawing
    counterparts to fix -Wdeprecations and -Wincomplete-patterns
@ch1bo
ch1bo self-requested a review July 20, 2026 15:27
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