Skip to content

Commit

Permalink
Account for change of type of GetCommitteeMembersState
Browse files Browse the repository at this point in the history
  • Loading branch information
teodanciu committed Oct 26, 2023
1 parent cf17a2f commit 2478f54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cardano-api/internal/Cardano/Api/Query.hs
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ data QueryInShelleyBasedEra era result where
:: Set (Shelley.Credential Shelley.ColdCommitteeRole StandardCrypto)
-> Set (Shelley.Credential Shelley.HotCommitteeRole StandardCrypto)
-> Set L.MemberStatus
-> QueryInShelleyBasedEra era (L.CommitteeMembersState StandardCrypto)
-> QueryInShelleyBasedEra era (Maybe (L.CommitteeMembersState StandardCrypto))


instance NodeToClientVersionOf (QueryInShelleyBasedEra era result) where
Expand Down
2 changes: 1 addition & 1 deletion cardano-api/internal/Cardano/Api/Query/Expr.hs
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,6 @@ queryCommitteeMembersState :: ()
-> Set (L.Credential L.ColdCommitteeRole L.StandardCrypto)
-> Set (L.Credential L.HotCommitteeRole L.StandardCrypto)
-> Set L.MemberStatus
-> LocalStateQueryExpr block point (QueryInMode mode) r IO (Either UnsupportedNtcVersionError (Either EraMismatch (L.CommitteeMembersState L.StandardCrypto)))
-> LocalStateQueryExpr block point (QueryInMode mode) r IO (Either UnsupportedNtcVersionError (Either EraMismatch (Maybe (L.CommitteeMembersState L.StandardCrypto))))
queryCommitteeMembersState eraInMode sbe coldCreds hotCreds statuses =
queryExpr $ QueryInEra eraInMode $ QueryInShelleyBasedEra sbe (QueryCommitteeMembersState coldCreds hotCreds statuses)

0 comments on commit 2478f54

Please sign in to comment.