From a41b90c6d5ac1a33045ba135b41d45b3b7aa9196 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Hurlin?= Date: Thu, 28 Nov 2024 14:27:40 +0100 Subject: [PATCH] WIP --- .../src/Cardano/CLI/EraBased/Run/Genesis/CreateTestnetData.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Run/Genesis/CreateTestnetData.hs b/cardano-cli/src/Cardano/CLI/EraBased/Run/Genesis/CreateTestnetData.hs index ea92db3e44..c09b45f562 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Run/Genesis/CreateTestnetData.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Run/Genesis/CreateTestnetData.hs @@ -24,6 +24,7 @@ module Cardano.CLI.EraBased.Run.Genesis.CreateTestnetData ) where +-- import Cardano.Api.Exp import Cardano.Api hiding (ConwayEra) import Cardano.Api.Byron (rationalToLovelacePortion) import qualified Cardano.Api.Byron as Byron hiding (GenesisParameters) @@ -239,7 +240,7 @@ runGenesisCreateTestNetDataCmd , outputDir } = do liftIO $ createDirectoryIfMissing False outputDir - let era = inject eon + let era = convert @_ @CardanoEra eon shelleyGenesisInit <- fromMaybe shelleyGenesisDefaults <$> traverse decodeShelleyGenesisFile specShelley alonzoGenesis <-