Skip to content

Commit 31b0207

Browse files
authored
Merge pull request #983 from IntersectMBO/jordan/backwarks-compatible-certificates
Deprecate "old" certificate api helper functions
2 parents 4690809 + 4c1d498 commit 31b0207

File tree

18 files changed

+689
-96
lines changed

18 files changed

+689
-96
lines changed

cardano-api/cardano-api.cabal

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,17 @@ library
6565
Cardano.Api.Byron
6666
Cardano.Api.Certificate
6767
Cardano.Api.Compatible
68+
Cardano.Api.Compatible.Certificate
6869
Cardano.Api.Compatible.Tx
6970
Cardano.Api.Consensus
7071
Cardano.Api.Crypto.Ed25519Bip32
7172
Cardano.Api.Era
7273
Cardano.Api.Error
7374
Cardano.Api.Experimental
75+
Cardano.Api.Experimental.Certificate
7476
Cardano.Api.Experimental.Era
7577
Cardano.Api.Experimental.Plutus
78+
Cardano.Api.Experimental.Serialise.TextEnvelope
7679
Cardano.Api.Experimental.Simple.Script
7780
Cardano.Api.Experimental.Tx
7881
Cardano.Api.Genesis
@@ -224,9 +227,12 @@ library
224227
Cardano.Api.Experimental.Plutus.Internal.Script
225228
Cardano.Api.Experimental.Plutus.Internal.ScriptWitness
226229
Cardano.Api.Experimental.Plutus.Internal.Shim.LegacyScripts
230+
Cardano.Api.Experimental.Serialise.TextEnvelope.Internal
227231
Cardano.Api.Experimental.Tx.Internal.AnyWitness
228232
Cardano.Api.Experimental.Tx.Internal.Body
229233
Cardano.Api.Experimental.Tx.Internal.Certificate
234+
Cardano.Api.Experimental.Tx.Internal.Certificate.Compatible
235+
Cardano.Api.Experimental.Tx.Internal.Certificate.Type
230236
Cardano.Api.Experimental.Tx.Internal.Compatible
231237
Cardano.Api.Experimental.Tx.Internal.Fee
232238
Cardano.Api.Experimental.Tx.Internal.TxScriptWitnessRequirements

cardano-api/gen/Test/Gen/Cardano/Api/Orphans.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
module Test.Gen.Cardano.Api.Orphans (obtainArbitraryConstraints) where
1717

18-
import Cardano.Api hiding (txIns)
18+
import Cardano.Api hiding (DijkstraEra, txIns)
1919
import Cardano.Api.Ledger qualified as L
2020

2121
import Cardano.Crypto.Hash.Class (hashWith)

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ module Cardano.Api.Certificate
3131
, makeDrepUpdateCertificate
3232
, makeStakeAddressAndDRepDelegationCertificate
3333

34-
-- * Registering DReps
35-
, DRepMetadataReference (..)
36-
3734
-- * Special certificates
3835
, GenesisKeyDelegationRequirements (..)
3936
, MirCertificateRequirements (..)
@@ -48,8 +45,6 @@ module Cardano.Api.Certificate
4845
, getAnchorDataFromCertificate
4946

5047
-- * Internal conversion functions
51-
, toShelleyCertificate
52-
, fromShelleyCertificate
5348
, toShelleyPoolParams
5449
, fromShelleyPoolParams
5550

0 commit comments

Comments
 (0)