Skip to content

Commit b467024

Browse files
committed
Integrate cardano-api 11.7.0.0
Bump the cardano-api bound to ^>=11.7 and refresh the CHaP pin. Adapt mkTxCertificatesSbe to the new TxCertificates shape, which no longer pairs each certificate witness with a stake credential.
1 parent 13097aa commit b467024

5 files changed

Lines changed: 13 additions & 7 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
description: |
2+
Update cardano-api to 11.7.0.0, fixing plutus redeemer pointer indexing in transaction building: proposal pointers now follow the transaction's insertion order and certificate pointers count unwitnessed certificates.
3+
kind:
4+
- bugfix
5+
pr: 1440
6+
project: cardano-cli

cabal.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repository cardano-haskell-packages
1414
-- you need to run if you change them
1515
index-state:
1616
, hackage.haskell.org 2026-07-30T07:30:12Z
17-
, cardano-haskell-packages 2026-09-02T08:49:12Z
17+
, cardano-haskell-packages 2026-09-04T06:57:08Z
1818

1919
packages:
2020
cardano-cli

cardano-cli/cardano-cli.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ library
246246
binary,
247247
bytestring,
248248
canonical-json,
249-
cardano-api ^>=11.6,
249+
cardano-api ^>=11.7,
250250
cardano-binary,
251251
cardano-crypto,
252252
cardano-crypto-class ^>=2.5,

cardano-cli/src/Cardano/CLI/Compatible/Transaction/Run.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,10 @@ mkTxCertificatesSbe era certs = Exp.TxCertificates . OMap.fromList $ map getStak
211211
getStakeCred
212212
:: (Exp.Certificate (ShelleyLedgerEra era), Exp.AnyWitness (ShelleyLedgerEra era))
213213
-> ( Exp.Certificate (ShelleyLedgerEra era)
214-
, Maybe (StakeCredential, Exp.AnyWitness (ShelleyLedgerEra era))
214+
, Maybe (Exp.AnyWitness (ShelleyLedgerEra era))
215215
)
216216
getStakeCred (c@(Exp.Certificate cert), wit) =
217-
(c, (,wit) <$> Compatible.getTxCertWitness (convert era) cert)
217+
(c, wit <$ Compatible.getTxCertWitness (convert era) cert)
218218

219219
readUpdateProposalFile
220220
:: Featured ShelleyToBabbageEra era (Maybe UpdateProposalFile)

flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)