From 4d7fa4fb0435fbbf12d4e3e81409385a1340d90b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Hurlin?= Date: Thu, 12 Dec 2024 10:25:00 +0100 Subject: [PATCH] Revert "Export HasKeyRole's coerceKeyRole function" This reverts commit 450fc00392a1c580d691c9adc448ecc517b84e4d. --- cardano-api/internal/Cardano/Api/Certificate.hs | 1 + cardano-api/internal/Cardano/Api/ReexposeLedger.hs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cardano-api/internal/Cardano/Api/Certificate.hs b/cardano-api/internal/Cardano/Api/Certificate.hs index efc485a92..b31ab1113 100644 --- a/cardano-api/internal/Cardano/Api/Certificate.hs +++ b/cardano-api/internal/Cardano/Api/Certificate.hs @@ -100,6 +100,7 @@ import Cardano.Api.Value import Cardano.Ledger.BaseTypes (strictMaybe) import qualified Cardano.Ledger.Coin as L +import qualified Cardano.Ledger.Keys as Ledger import Control.Monad.Except (MonadError (..)) import Data.ByteString (ByteString) diff --git a/cardano-api/internal/Cardano/Api/ReexposeLedger.hs b/cardano-api/internal/Cardano/Api/ReexposeLedger.hs index 8df2aba34..a1a5c7b56 100644 --- a/cardano-api/internal/Cardano/Api/ReexposeLedger.hs +++ b/cardano-api/internal/Cardano/Api/ReexposeLedger.hs @@ -18,7 +18,7 @@ module Cardano.Api.ReexposeLedger , hashVerKeyVRF , hashWithSerialiser , PoolParams (..) - , HasKeyRole (..) + , HasKeyRole , MIRPot (..) , MIRTarget (..) , MIRCert (..) @@ -221,7 +221,7 @@ import Cardano.Ledger.Core (Era (..), EraPParams (..), EraTxOut, PPara import Cardano.Ledger.Credential (Credential (..), credToText) import Cardano.Ledger.Crypto (ADDRHASH, Crypto, StandardCrypto) import Cardano.Ledger.DRep (DRep (..), drepAnchorL, drepDepositL, drepExpiryL) -import Cardano.Ledger.Keys (HasKeyRole (..), KeyHash (..), KeyRole (..), VKey (..), +import Cardano.Ledger.Keys (HasKeyRole, KeyHash (..), KeyRole (..), VKey (..), hashWithSerialiser) import Cardano.Ledger.Plutus.Data (Data (..), unData) import Cardano.Ledger.Plutus.Language (Language, Plutus, languageToText, plutusBinary)