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 <-