Skip to content

Commit

Permalink
cardano-api integration for node 9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
crocodile-dentist committed Oct 15, 2024
1 parent 746a580 commit 59af959
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 13 deletions.
12 changes: 6 additions & 6 deletions cardano-cli/cardano-cli.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ library
binary,
bytestring,
canonical-json,
cardano-api ^>=9.3,
cardano-api ^>=9.4,
cardano-binary,
cardano-crypto,
cardano-crypto-class ^>=2.1.2,
Expand All @@ -208,7 +208,7 @@ library
cardano-ledger-byron >=1.0.1.0,
cardano-ledger-core,
cardano-ledger-shelley,
cardano-ping ^>=0.4,
cardano-ping ^>=0.5,
cardano-prelude,
cardano-slotting ^>=0.2.0.0,
cardano-strict-containers ^>=0.1,
Expand All @@ -231,10 +231,10 @@ library
network,
network-uri,
optparse-applicative-fork,
ouroboros-consensus ^>=0.20,
ouroboros-consensus-cardano ^>=0.19,
ouroboros-consensus-protocol ^>=0.9.0.1,
ouroboros-network-api ^>=0.9,
ouroboros-consensus ^>=0.21,
ouroboros-consensus-cardano ^>=0.20,
ouroboros-consensus-protocol ^>=0.9.0.2,
ouroboros-network-api ^>=0.10,
ouroboros-network-protocols,
parsec,
prettyprinter,
Expand Down
2 changes: 1 addition & 1 deletion cardano-cli/src/Cardano/CLI/Byron/Parsers.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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 (Address (..), ByronProtocolParametersUpdate (..),
toByronLovelace)
import qualified Cardano.Api.Ledger as L
Expand Down
4 changes: 2 additions & 2 deletions cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cardano-cli/src/Cardano/CLI/EraBased/Options/Genesis.hs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module Cardano.CLI.EraBased.Options.Genesis
)
where

import Cardano.Api hiding (QueryInShelleyBasedEra (..), parseFilePath)
import Cardano.Api hiding (QueryInShelleyBasedEra (..))
import Cardano.Api.Ledger (Coin (..))

import Cardano.Chain.Common (BlockCount (BlockCount))
Expand Down
1 change: 1 addition & 0 deletions cardano-cli/src/Cardano/CLI/Json/Friendly.hs
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ friendlyTxBodyImpl
txValidityUpperBound
txMetadata
txAuxScripts
_txSupplementalData
txExtraKeyWits
_txProtocolParams
txWithdrawals
Expand Down
2 changes: 1 addition & 1 deletion cardano-cli/src/Cardano/CLI/Legacy/Options.hs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module Cardano.CLI.Legacy.Options
)
where

import Cardano.Api hiding (QueryInShelleyBasedEra (..), parseFilePath)
import Cardano.Api hiding (QueryInShelleyBasedEra (..))
import Cardano.Api.Ledger (Coin (..))

import Cardano.Chain.Common (BlockCount (BlockCount))
Expand Down
2 changes: 1 addition & 1 deletion cardano-cli/src/Cardano/CLI/Options/Debug.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cardano-cli/src/Cardano/CLI/Options/Key.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 59af959

Please sign in to comment.