Skip to content

Commit 457550a

Browse files
committed
Update legacyComparison to accept "CertificateConway"
1 parent d8946e7 commit 457550a

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@ module Cardano.Api.Experimental.Tx.Internal.Certificate
1919
)
2020
where
2121

22-
import Cardano.Api.Certificate.Internal qualified as Api
23-
import Cardano.Api.Era.Internal.Eon.ConwayEraOnwards
2422
import Cardano.Api.Era.Internal.Eon.ShelleyBasedEra
25-
import Cardano.Api.Era.Internal.Eon.ShelleyToBabbageEra qualified as Api
2623
import Cardano.Api.Error
2724
import Cardano.Api.Experimental.Era
2825
import Cardano.Api.HasTypeProxy

cardano-api/src/Cardano/Api/Serialise/TextEnvelope/Internal.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ legacyComparison (TextEnvelopeType expectedType) (TextEnvelopeType actualType) =
185185
("Tx AlonzoEra", "Unwitnessed Tx AlonzoEra") -> True
186186
("Tx BabbageEra", "Unwitnessed Tx BabbageEra") -> True
187187
("Tx ConwayEra", "Unwitnessed Tx ConwayEra") -> True
188+
("Certificate", "CertificateConway") -> True
188189
(expectedOther, expectedActual) -> expectedOther == expectedActual
189190

190191
-- ----------------------------------------------------------------------------

0 commit comments

Comments
 (0)