Skip to content

Commit

Permalink
Merge pull request #708 from IntersectMBO/smelc/exports-for-augmented…
Browse files Browse the repository at this point in the history
…-spo-stake-distribution

Don't export coerceKeyRole, export RewardAccount
  • Loading branch information
smelc authored Dec 12, 2024
2 parents 8a91df5 + 3590176 commit a429ac2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions cardano-api/internal/Cardano/Api/Certificate.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
7 changes: 5 additions & 2 deletions cardano-api/internal/Cardano/Api/ReexposeLedger.hs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module Cardano.Api.ReexposeLedger
, hashVerKeyVRF
, hashWithSerialiser
, PoolParams (..)
, HasKeyRole (..)
, HasKeyRole
, MIRPot (..)
, MIRTarget (..)
, MIRCert (..)
Expand Down Expand Up @@ -175,10 +175,13 @@ module Cardano.Api.ReexposeLedger
, SafeHash
, unsafeMakeSafeHash
, extractHash
-- Reward
, RewardAccount (..)
)
where

import Cardano.Crypto.Hash.Class (hashFromBytes, hashToBytes)
import Cardano.Ledger.Address (RewardAccount (..))
import Cardano.Ledger.Allegra.Scripts (showTimelock)
import Cardano.Ledger.Alonzo.Core (AlonzoEraScript (..), AlonzoEraTxBody (..),
AlonzoEraTxWits (..), AsIx (..), AsIxItem (AsIxItem), CoinPerWord (..), EraGov,
Expand Down Expand Up @@ -221,7 +224,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)
Expand Down

0 comments on commit a429ac2

Please sign in to comment.