From 5f4f93a21d9204a99c87d58821ffcb74f9deb59e Mon Sep 17 00:00:00 2001 From: Jordan Millar Date: Mon, 12 Aug 2024 12:47:46 -0400 Subject: [PATCH] Reuse type level tags for Babbage and ConwayEra --- cardano-api/internal/Cardano/Api/Experimental/Eras.hs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cardano-api/internal/Cardano/Api/Experimental/Eras.hs b/cardano-api/internal/Cardano/Api/Experimental/Eras.hs index ee61cbfd7..48fb325a9 100644 --- a/cardano-api/internal/Cardano/Api/Experimental/Eras.hs +++ b/cardano-api/internal/Cardano/Api/Experimental/Eras.hs @@ -37,6 +37,7 @@ import Cardano.Api.Eon.BabbageEraOnwards import Cardano.Api.Eon.ShelleyBasedEra (ShelleyBasedEra (..), ShelleyLedgerEra) import qualified Cardano.Api.Eras.Core as Api import Cardano.Api.Via.ShowOf +import Cardano.Api.Eras.Core(BabbageEra, ConwayEra) import qualified Cardano.Api.ReexposeLedger as L import qualified Cardano.Ledger.Api as L import qualified Cardano.Ledger.UTxO as L @@ -54,9 +55,6 @@ import Prettyprinter -- | Users typically interact with the latest features on the mainnet or experiment with features -- from the upcoming era. Hence, the protocol versions are limited to the current mainnet era -- and the next era (upcoming era). -data BabbageEra - -data ConwayEra -- Allows us to gradually change the api without breaking things. -- This will eventually be removed.