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 7a20828
Showing 1 changed file with 4 additions and 1 deletion.
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 7a20828

Please sign in to comment.