Skip to content

Commit 1d95f89

Browse files
committed
Re-export op-cert AsType constructors via Experimental.Certificate
Add `AsOperationalCertificate` and `AsOperationalCertificateIssueCounter` to the `AsType` re-export list of `Cardano.Api.Experimental.Certificate` so consumers that drop the public `Cardano.Api.Certificate` import have a single place to pick up the op-cert data-family constructors.
1 parent d82226e commit 1d95f89

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module Cardano.Api.Experimental.Certificate
3535
, fromShelleyPoolParams
3636

3737
-- * Data family instances
38-
, AsType (AsCertificate)
38+
, AsType (AsCertificate, AsOperationalCertificate, AsOperationalCertificateIssueCounter)
3939

4040
-- * DRep and Stake Pool Ids
4141
, Hash (..)

0 commit comments

Comments
 (0)