Skip to content

Commit 13b48fb

Browse files
committed
Remove GenesisCredential as unused.
1 parent 2b70f50 commit 13b48fb

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

libs/cardano-ledger-core/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## 1.17.0.0
44

5+
* Remove `GenesisCredential` as unused.
56
* Remove `HASH`, `ADDRHASH` and `DSIGN` type families out of `Crypto` type class and turn
67
them into type synonyms for the exact algorithms previously being used in
78
`StandardCrypto`

libs/cardano-ledger-core/src/Cardano/Ledger/Credential.hs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
module Cardano.Ledger.Credential (
1313
Credential (KeyHashObj, ScriptHashObj),
14-
GenesisCredential (..),
1514
PaymentCredential,
1615
credKeyHash,
1716
credKeyHashWitness,
@@ -70,7 +69,6 @@ import Data.Typeable (Typeable)
7069
import Data.Word
7170
import GHC.Generics (Generic)
7271
import NoThunks.Class (NoThunks (..))
73-
import Quiet (Quiet (Quiet))
7472

7573
-- | Script hash or key hash for a payment or a staking object.
7674
--
@@ -323,10 +321,3 @@ instance DecCBORGroup Ptr where
323321
-- case mkPtr slotNo txIx certIx of
324322
-- Nothing -> fail $ "SlotNo is too far into the future: " ++ show slotNo
325323
-- Just ptr -> pure ptr
326-
327-
newtype GenesisCredential = GenesisCredential
328-
{ unGenesisCredential :: KeyHash 'Genesis
329-
}
330-
deriving (Generic)
331-
deriving newtype (Eq, Ord, ToCBOR, EncCBOR)
332-
deriving (Show) via Quiet GenesisCredential

0 commit comments

Comments
 (0)