File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
cardano-api/src/Cardano/Api/Internal/Experimental Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 34
34
import Cardano.Api.Internal.Eon.AlonzoEraOnwards
35
35
import Cardano.Api.Internal.Eon.BabbageEraOnwards
36
36
import Cardano.Api.Internal.Eon.Convert
37
+ import Cardano.Api.Internal.Eon.ConwayEraOnwards
37
38
import Cardano.Api.Internal.Eon.ShelleyBasedEra (ShelleyBasedEra (.. ), ShelleyLedgerEra )
38
39
import Cardano.Api.Internal.Eras qualified as Api
39
40
import Cardano.Api.Internal.Eras.Core (BabbageEra , ConwayEra , Eon (.. ))
@@ -211,6 +212,10 @@ instance Convert Era BabbageEraOnwards where
211
212
convert = \ case
212
213
ConwayEra -> BabbageEraOnwardsConway
213
214
215
+ instance Convert ConwayEraOnwards Era where
216
+ convert = \ case
217
+ ConwayEraOnwardsConway -> ConwayEra
218
+
214
219
newtype DeprecatedEra era
215
220
= DeprecatedEra (ShelleyBasedEra era )
216
221
deriving Show
You can’t perform that action at this time.
0 commit comments