Skip to content

Commit 4396ad1

Browse files
authored
Merge pull request #699 from IntersectMBO/smelc/additional-exports
Export HasKeyRole's coerceKeyRole function
2 parents a8446e7 + 450fc00 commit 4396ad1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

cardano-api/internal/Cardano/Api/Certificate.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ import Cardano.Api.Value
100100

101101
import Cardano.Ledger.BaseTypes (strictMaybe)
102102
import qualified Cardano.Ledger.Coin as L
103-
import qualified Cardano.Ledger.Keys as Ledger
104103

105104
import Control.Monad.Except (MonadError (..))
106105
import Data.ByteString (ByteString)

cardano-api/internal/Cardano/Api/ReexposeLedger.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module Cardano.Api.ReexposeLedger
1818
, hashVerKeyVRF
1919
, hashWithSerialiser
2020
, PoolParams (..)
21-
, HasKeyRole
21+
, HasKeyRole (..)
2222
, MIRPot (..)
2323
, MIRTarget (..)
2424
, MIRCert (..)
@@ -220,7 +220,7 @@ import Cardano.Ledger.Core (Era (..), EraPParams (..), EraTxOut, PPara
220220
import Cardano.Ledger.Credential (Credential (..), credToText)
221221
import Cardano.Ledger.Crypto (ADDRHASH, Crypto, StandardCrypto)
222222
import Cardano.Ledger.DRep (DRep (..), drepAnchorL, drepDepositL, drepExpiryL)
223-
import Cardano.Ledger.Keys (HasKeyRole, KeyHash (..), KeyRole (..), VKey (..),
223+
import Cardano.Ledger.Keys (HasKeyRole (..), KeyHash (..), KeyRole (..), VKey (..),
224224
hashWithSerialiser)
225225
import Cardano.Ledger.Plutus.Data (Data (..), unData)
226226
import Cardano.Ledger.Plutus.Language (Language, Plutus, languageToText, plutusBinary)

0 commit comments

Comments
 (0)