Skip to content

Commit a429ac2

Browse files
authored
Merge pull request #708 from IntersectMBO/smelc/exports-for-augmented-spo-stake-distribution
Don't export coerceKeyRole, export RewardAccount
2 parents 8a91df5 + 3590176 commit a429ac2

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ 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
103104

104105
import Control.Monad.Except (MonadError (..))
105106
import Data.ByteString (ByteString)

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

Lines changed: 5 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 (..)
@@ -175,10 +175,13 @@ module Cardano.Api.ReexposeLedger
175175
, SafeHash
176176
, unsafeMakeSafeHash
177177
, extractHash
178+
-- Reward
179+
, RewardAccount (..)
178180
)
179181
where
180182

181183
import Cardano.Crypto.Hash.Class (hashFromBytes, hashToBytes)
184+
import Cardano.Ledger.Address (RewardAccount (..))
182185
import Cardano.Ledger.Allegra.Scripts (showTimelock)
183186
import Cardano.Ledger.Alonzo.Core (AlonzoEraScript (..), AlonzoEraTxBody (..),
184187
AlonzoEraTxWits (..), AsIx (..), AsIxItem (AsIxItem), CoinPerWord (..), EraGov,
@@ -221,7 +224,7 @@ import Cardano.Ledger.Core (Era (..), EraPParams (..), EraTxOut, PPara
221224
import Cardano.Ledger.Credential (Credential (..), credToText)
222225
import Cardano.Ledger.Crypto (ADDRHASH, Crypto, StandardCrypto)
223226
import Cardano.Ledger.DRep (DRep (..), drepAnchorL, drepDepositL, drepExpiryL)
224-
import Cardano.Ledger.Keys (HasKeyRole (..), KeyHash (..), KeyRole (..), VKey (..),
227+
import Cardano.Ledger.Keys (HasKeyRole, KeyHash (..), KeyRole (..), VKey (..),
225228
hashWithSerialiser)
226229
import Cardano.Ledger.Plutus.Data (Data (..), unData)
227230
import Cardano.Ledger.Plutus.Language (Language, Plutus, languageToText, plutusBinary)

0 commit comments

Comments
 (0)