Skip to content

Commit

Permalink
Rebase changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimbo4350 committed Oct 17, 2024
1 parent e7f7794 commit 5b37288
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cardano-cli/src/Cardano/CLI/Compatible/Governance.hs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import Options.Applicative

pCompatibleGovernanceCmds :: ShelleyBasedEra era -> Parser (CompatibleGovernanceCmds era)
pCompatibleGovernanceCmds sbe =
asum $ catMaybes [fmap CreateCompatibleProtocolUpdateCmd <$> pGovernanceCmds (toCardanoEra sbe)]
asum $ catMaybes [fmap CreateCompatibleProtocolUpdateCmd <$> pGovernanceCmds sbe]

-- TODO: After QA confirmms that the new compatibility commands meet their needs
-- we can remove all remaining legacy commands. We can also remove/move the exising
Expand Down
4 changes: 2 additions & 2 deletions cardano-cli/src/Cardano/CLI/Compatible/Transaction.hs
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ module Cardano.CLI.Compatible.Transaction
)
where

import Cardano.Api hiding (parseFilePath)
import Cardano.Api
import Cardano.Api.Compatible
import Cardano.Api.Ledger hiding (VotingProcedures)
import Cardano.Api.Shelley hiding (VotingProcedures, parseFilePath)
import Cardano.Api.Shelley hiding (VotingProcedures)

import Cardano.CLI.Environment
import Cardano.CLI.EraBased.Options.Common hiding (pRefScriptFp, pTxOutDatum)
Expand Down
2 changes: 1 addition & 1 deletion cardano-cli/src/Cardano/CLI/EraBased/Options/Governance.hs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module Cardano.CLI.EraBased.Options.Governance
)
where

import Cardano.Api (CardanoEra, ShelleyToBabbageEra, forEraMaybeEon)
import Cardano.Api (ShelleyBasedEra, ShelleyToBabbageEra, forShelleyBasedEraMaybeEon)

import Cardano.CLI.EraBased.Commands.Governance
import Cardano.CLI.EraBased.Options.Common
Expand Down
1 change: 1 addition & 0 deletions cardano-cli/src/Cardano/CLI/Options/Address.hs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ where
import Cardano.CLI.Commands.Address
import Cardano.CLI.Environment (EnvCli (..))
import Cardano.CLI.EraBased.Options.Common
import Cardano.CLI.Parser

import Data.Foldable
import Options.Applicative hiding (help, str)
Expand Down
1 change: 1 addition & 0 deletions cardano-cli/src/Cardano/CLI/Options/Node.hs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import Cardano.Api hiding (QueryInShelleyBasedEra (..))
import Cardano.CLI.Commands.Node
import qualified Cardano.CLI.Commands.Node as Cmd
import Cardano.CLI.EraBased.Options.Common
import Cardano.CLI.Parser

import Data.Foldable
import Options.Applicative hiding (help, str)
Expand Down

0 comments on commit 5b37288

Please sign in to comment.