Skip to content

Commit d301b16

Browse files
teodanciugeo2a
authored andcommitted
Replace usage of deprecated StakeCredential
1 parent 19adf57 commit d301b16

File tree

1 file changed

+2
-3
lines changed
  • ouroboros-consensus-cardano/src/shelley/Ouroboros/Consensus/Shelley/Ledger

1 file changed

+2
-3
lines changed

ouroboros-consensus-cardano/src/shelley/Ouroboros/Consensus/Shelley/Ledger/Query.hs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ import Cardano.Ledger.Compactible (Compactible (fromCompact))
5454
import qualified Cardano.Ledger.Conway.Governance as CG
5555
import qualified Cardano.Ledger.Conway.State as CG
5656
import qualified Cardano.Ledger.Core as SL
57-
import Cardano.Ledger.Credential (StakeCredential)
5857
import Cardano.Ledger.Keys (KeyHash)
5958
import qualified Cardano.Ledger.Shelley.API as SL
6059
import qualified Cardano.Ledger.Shelley.Core as LC
@@ -261,11 +260,11 @@ data instance BlockQuery (ShelleyBlock proto era) fp result where
261260
QFNoTables
262261
(PoolDistr (ProtoCrypto proto))
263262
GetStakeDelegDeposits ::
264-
Set StakeCredential ->
263+
Set (SL.Credential LC.Staking) ->
265264
BlockQuery
266265
(ShelleyBlock proto era)
267266
QFNoTables
268-
(Map StakeCredential Coin)
267+
(Map (SL.Credential LC.Staking) Coin)
269268
-- | Not supported in eras before Conway
270269
GetConstitution ::
271270
CG.ConwayEraGov era =>

0 commit comments

Comments
 (0)