Skip to content

Commit

Permalink
Update to cardano-api-8.13.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
newhoggy committed Aug 11, 2023
1 parent 2f80fa6 commit e0b2bd7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ index-state:
, cardano-haskell-packages 2023-08-08T21:04:17Z

packages:
../cardano-api/cardano-api
cardano-cli

package cardano-cli
Expand Down
5 changes: 4 additions & 1 deletion cardano-cli/src/Cardano/CLI/Run/Legacy/Query.hs
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,10 @@ runQueryKesPeriodInfo socketPath (AnyConsensusModeParams cModeParams) network no

requireNotByronEraInByronMode eraInMode

gParams <- lift (queryGenesisParameters eInMode sbe)
shelleyInMode <- toEraInMode ShelleyEra cMode
& hoistMaybe (ShelleyQueryCmdEraConsensusModeMismatch (AnyConsensusMode cMode) anyE)

gParams <- lift (queryGenesisParameters shelleyInMode ShelleyBasedEraShelley)
& onLeft (left . ShelleyQueryCmdUnsupportedNtcVersion)
& onLeft (left . ShelleyQueryCmdLocalStateQueryError . EraMismatchError)

Expand Down

0 comments on commit e0b2bd7

Please sign in to comment.