Skip to content

Commit

Permalink
Update to cardano-api 10.5
Browse files Browse the repository at this point in the history
  • Loading branch information
smelc authored and CarlosLopezDeLara committed Dec 20, 2024
1 parent ee57bc6 commit 239b98b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repository cardano-haskell-packages
-- you need to run if you change them
index-state:
, hackage.haskell.org 2024-10-11T15:49:11Z
, cardano-haskell-packages 2024-12-05T13:51:16Z
, cardano-haskell-packages 2024-12-19T20:16:27Z

packages:
cardano-cli
Expand Down
2 changes: 1 addition & 1 deletion cardano-cli/cardano-cli.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ library
binary,
bytestring,
canonical-json,
cardano-api ^>=10.4,
cardano-api ^>=10.5,
cardano-binary,
cardano-crypto,
cardano-crypto-class ^>=2.1.2,
Expand Down
6 changes: 3 additions & 3 deletions cardano-cli/src/Cardano/CLI/EraBased/Run/Query.hs
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ runQueryKesPeriodInfoCmd
case Map.lookup (coerce blockIssuerHash) opCertCounterMap of
-- Operational certificate exists in the protocol state
-- so our ondisk op cert counter must be greater than or
-- equal to what is in the node state
-- equal to what is in the node state.
Just ptclStateCounter -> return (OpCertOnDiskCounter onDiskOpCertCount, Just $ OpCertNodeStateCounter ptclStateCounter)
Nothing -> return (OpCertOnDiskCounter onDiskOpCertCount, Nothing)

Expand Down Expand Up @@ -1345,7 +1345,6 @@ runQueryStakeDistributionCmd
& onLeft (left . QueryCmdAcquireFailure)
& onLeft left


writeStakeDistribution
:: OutputFormatJsonOrText
-> Maybe (File () Out)
Expand Down Expand Up @@ -1955,7 +1954,8 @@ easyRunQuerySystemStart = lift querySystemStart & onLeft (left . QueryCmdUnsuppo
easyRunQuery
:: ()
=> Monad m
=> m (Either UnsupportedNtcVersionError (Either Consensus.EraMismatch a)) -> ExceptT QueryCmdError m a
=> m (Either UnsupportedNtcVersionError (Either Consensus.EraMismatch a))
-> ExceptT QueryCmdError m a
easyRunQuery q =
lift q
& onLeft (left . QueryCmdUnsupportedNtcVersion)
Expand Down
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 239b98b

Please sign in to comment.