File tree Expand file tree Collapse file tree
cardano-api/src/Cardano/Api/Internal/Experimental Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434import Cardano.Api.Internal.Eon.AlonzoEraOnwards
3535import Cardano.Api.Internal.Eon.BabbageEraOnwards
3636import Cardano.Api.Internal.Eon.Convert
37+ import Cardano.Api.Internal.Eon.ConwayEraOnwards
3738import Cardano.Api.Internal.Eon.ShelleyBasedEra (ShelleyBasedEra (.. ), ShelleyLedgerEra )
3839import Cardano.Api.Internal.Eras qualified as Api
3940import Cardano.Api.Internal.Eras.Core (BabbageEra , ConwayEra , Eon (.. ))
@@ -211,6 +212,10 @@ instance Convert Era BabbageEraOnwards where
211212 convert = \ case
212213 ConwayEra -> BabbageEraOnwardsConway
213214
215+ instance Convert ConwayEraOnwards Era where
216+ convert = \ case
217+ ConwayEraOnwardsConway -> ConwayEra
218+
214219newtype DeprecatedEra era
215220 = DeprecatedEra (ShelleyBasedEra era )
216221 deriving Show
You can’t perform that action at this time.
0 commit comments