From 262f4d03f60becca56c8f5d0e56316fe91990d45 Mon Sep 17 00:00:00 2001 From: Pablo Lamela Date: Mon, 14 Oct 2024 18:13:11 +0200 Subject: [PATCH] Fix other compilation/import errors --- cardano-cli/src/Cardano/CLI/Byron/Delegation.hs | 1 + cardano-cli/src/Cardano/CLI/Byron/Parsers.hs | 2 +- cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs | 4 ++-- cardano-cli/src/Cardano/CLI/EraBased/Options/Genesis.hs | 2 +- cardano-cli/src/Cardano/CLI/Legacy/Options.hs | 2 +- cardano-cli/src/Cardano/CLI/Options/Debug.hs | 2 +- cardano-cli/src/Cardano/CLI/Options/Key.hs | 2 +- 7 files changed, 8 insertions(+), 7 deletions(-) diff --git a/cardano-cli/src/Cardano/CLI/Byron/Delegation.hs b/cardano-cli/src/Cardano/CLI/Byron/Delegation.hs index a9c59a36dc..bbd64013f7 100644 --- a/cardano-cli/src/Cardano/CLI/Byron/Delegation.hs +++ b/cardano-cli/src/Cardano/CLI/Byron/Delegation.hs @@ -13,6 +13,7 @@ module Cardano.CLI.Byron.Delegation ) where +import Cardano.Api.Byron (ACertificate (delegateVK)) import Cardano.Api.Byron hiding (delegateVK) import qualified Cardano.Api.Ledger as L diff --git a/cardano-cli/src/Cardano/CLI/Byron/Parsers.hs b/cardano-cli/src/Cardano/CLI/Byron/Parsers.hs index e678e0de29..dbf82deab7 100644 --- a/cardano-cli/src/Cardano/CLI/Byron/Parsers.hs +++ b/cardano-cli/src/Cardano/CLI/Byron/Parsers.hs @@ -24,7 +24,7 @@ module Cardano.CLI.Byron.Parsers ) where -import Cardano.Api hiding (GenesisParameters, UpdateProposal, parseFilePath) +import Cardano.Api hiding (GenesisParameters, UpdateProposal) import Cardano.Api.Byron (ByronProtocolParametersUpdate (..), toByronLovelace) import qualified Cardano.Api.Byron as Byron import qualified Cardano.Api.Ledger as L diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs b/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs index 8a06224ba2..1b22646410 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs @@ -12,9 +12,9 @@ module Cardano.CLI.EraBased.Options.Common where -import Cardano.Api hiding (bounded, parseFilePath) +import Cardano.Api import qualified Cardano.Api.Ledger as L -import Cardano.Api.Shelley hiding (bounded, parseFilePath) +import Cardano.Api.Shelley import Cardano.CLI.Environment (EnvCli (..), envCliAnyEon) import Cardano.CLI.Parser diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Options/Genesis.hs b/cardano-cli/src/Cardano/CLI/EraBased/Options/Genesis.hs index f5acfda5a1..ac38540331 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Options/Genesis.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Options/Genesis.hs @@ -9,7 +9,7 @@ module Cardano.CLI.EraBased.Options.Genesis ) where -import Cardano.Api hiding (QueryInShelleyBasedEra (..), parseFilePath) +import Cardano.Api hiding (QueryInShelleyBasedEra (..)) import qualified Cardano.Api.Byron as Byron import Cardano.Api.Ledger (Coin (..)) diff --git a/cardano-cli/src/Cardano/CLI/Legacy/Options.hs b/cardano-cli/src/Cardano/CLI/Legacy/Options.hs index e618806008..b30106c092 100644 --- a/cardano-cli/src/Cardano/CLI/Legacy/Options.hs +++ b/cardano-cli/src/Cardano/CLI/Legacy/Options.hs @@ -18,7 +18,7 @@ module Cardano.CLI.Legacy.Options ) where -import Cardano.Api hiding (QueryInShelleyBasedEra (..), parseFilePath) +import Cardano.Api hiding (QueryInShelleyBasedEra (..)) import qualified Cardano.Api.Byron as Byron import Cardano.Api.Ledger (Coin (..)) diff --git a/cardano-cli/src/Cardano/CLI/Options/Debug.hs b/cardano-cli/src/Cardano/CLI/Options/Debug.hs index a7ecbf9a3a..36fa113efc 100644 --- a/cardano-cli/src/Cardano/CLI/Options/Debug.hs +++ b/cardano-cli/src/Cardano/CLI/Options/Debug.hs @@ -11,7 +11,7 @@ module Cardano.CLI.Options.Debug ) where -import Cardano.Api.Shelley hiding (QueryInShelleyBasedEra (..), parseFilePath) +import Cardano.Api.Shelley hiding (QueryInShelleyBasedEra (..)) import Cardano.CLI.Commands.Debug import Cardano.CLI.Commands.Debug.LogEpochState diff --git a/cardano-cli/src/Cardano/CLI/Options/Key.hs b/cardano-cli/src/Cardano/CLI/Options/Key.hs index 2b93c6f7b0..3124e68d62 100644 --- a/cardano-cli/src/Cardano/CLI/Options/Key.hs +++ b/cardano-cli/src/Cardano/CLI/Options/Key.hs @@ -8,7 +8,7 @@ module Cardano.CLI.Options.Key ) where -import Cardano.Api hiding (QueryInShelleyBasedEra (..), parseFilePath) +import Cardano.Api hiding (QueryInShelleyBasedEra (..)) import Cardano.CLI.Commands.Key import Cardano.CLI.EraBased.Options.Common