Skip to content

Commit

Permalink
Merge #3258
Browse files Browse the repository at this point in the history
3258: Update dependencies. r=nc6 a=nc6

- cardano-ledger-specs has been reorganised for sanity.
  (IntersectMBO/cardano-ledger#2483)
  This entails a number of refactorings:
  - The package 'shelley-spec-ledger' is now deprecated in favour of
    'cardano-ledger-shelley'.
  - Shelley.Spec.NonIntegral -> Cardano.Ledger.NonIntegral
  - Shelley.Spec.Ledger -> Cardano.Ledger.Shelley
  - *.STS -> *.Rules
  - Test.Shelley.Spec.Ledger -> Test.Cardano.Ledger.Shelley

- As per IntersectMBO/ouroboros-network#3369,
  there is now no 'FilePath' argument to 'localSnocket'.

- Bump base to include a potential memory leak fix.

Co-authored-by: Nicholas Clarke <nick@topos.org.uk>
  • Loading branch information
iohk-bors[bot] and nc6 authored Sep 30, 2021
2 parents 2081b68 + 3b1d373 commit 72f6a29
Show file tree
Hide file tree
Showing 48 changed files with 134 additions and 134 deletions.
2 changes: 1 addition & 1 deletion bench/tx-generator/src/Cardano/Benchmarking/GeneratorTx.hs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ import Cardano.Benchmarking.Tracer
import Cardano.Benchmarking.Wallet
import qualified Cardano.Benchmarking.FundSet as FundSet

import Shelley.Spec.Ledger.API (ShelleyGenesis)
import Cardano.Ledger.Shelley.API (ShelleyGenesis)
import Ouroboros.Network.Protocol.LocalTxSubmission.Type (SubmitResult (..))

readSigningKey :: SigningKeyFile -> ExceptT TxGenError IO (SigningKey PaymentKey)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import Cardano.Api.Shelley (fromShelleyLovelace, fromShelleyStakeRefer

import Cardano.Benchmarking.GeneratorTx.Tx

import Shelley.Spec.Ledger.API (Addr(..), ShelleyGenesis, sgInitialFunds)
import Cardano.Ledger.Shelley.API (Addr(..), ShelleyGenesis, sgInitialFunds)
import Ouroboros.Consensus.Shelley.Eras (StandardShelley)

genesisFunds :: forall era. IsShelleyBasedEra era
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import Cardano.Api (NetworkId(..), LocalNodeConnectInfo(..), Consensus
, submitTxToNodeLocal)
import Cardano.Api.Protocol.Types (BlockType(..), ProtocolInfoArgs(..), protocolInfo)

import Shelley.Spec.Ledger.Genesis (ShelleyGenesis)
import Cardano.Ledger.Shelley.Genesis (ShelleyGenesis)

type CardanoBlock = Consensus.CardanoBlock StandardCrypto

Expand Down
2 changes: 1 addition & 1 deletion bench/tx-generator/tx-generator.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ library
, ouroboros-network-framework
, random
, serialise
, shelley-spec-ledger
, cardano-ledger-shelley
, stm
, text
, time
Expand Down
50 changes: 26 additions & 24 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ source-repository-package
source-repository-package
type: git
location: https://github.com/input-output-hk/cardano-base
tag: 592aa61d657ad5935a33bace1243abce3728b643
--sha256: 1bgq3a2wfdz24jqfwylcc6jjg5aji8dpy5gjkhpnmkkvgcr2rkyb
tag: 64d7702866225f6d53afab4e2fe935f2f0d5848a
--sha256: 0aalxzrgb1pgaz254mddmrcn2zk6g0yip383kc346ma1nn49frh1
subdir:
base-deriving-via
binary
Expand All @@ -154,27 +154,29 @@ source-repository-package
source-repository-package
type: git
location: https://github.com/input-output-hk/cardano-ledger-specs
tag: 5ddef26dac3638df72453e183a419f8f5193dd33
--sha256: 0ryx1irqjggchdd6xz7abbpgnh1p8kwviv4zggmh61ynh12cdvim
tag: c6c4be1562e23a3dd48282387c4e48ff918fbab0
--sha256: 1csi3ypq9h14hpf7fw40my11gb6gr4dvdiy7bl1nsi913qzbcra8
subdir:
alonzo/impl
byron/chain/executable-spec
byron/crypto
byron/crypto/test
byron/ledger/executable-spec
byron/ledger/impl
byron/ledger/impl/test
cardano-ledger-core
cardano-protocol-tpraos
semantics/executable-spec
semantics/small-steps-test
shelley/chain-and-ledger/dependencies/non-integer
shelley/chain-and-ledger/executable-spec
shelley/chain-and-ledger/shelley-spec-ledger-test
shelley-ma/impl
shelley-ma/shelley-ma-test
--TODO: disabled until it drops its dep on plutus-tx-plugin
-- alonzo/test
eras/alonzo/impl
eras/alonzo/test-suite
eras/byron/chain/executable-spec
eras/byron/crypto
eras/byron/crypto/test
eras/byron/ledger/executable-spec
eras/byron/ledger/impl
eras/byron/ledger/impl/test
eras/shelley/impl
eras/shelley/test-suite
eras/shelley-ma/impl
eras/shelley-ma/test-suite
libs/cardano-ledger-core
libs/cardano-protocol-tpraos
libs/small-steps
libs/small-steps-test
libs/non-integral
eras/shelley/chain-and-ledger/executable-spec
eras/shelley/chain-and-ledger/shelley-spec-ledger-test
eras/shelley/chain-and-ledger/dependencies/non-integer

source-repository-package
type: git
Expand Down Expand Up @@ -215,8 +217,8 @@ source-repository-package
source-repository-package
type: git
location: https://github.com/input-output-hk/ouroboros-network
tag: c25d36e62549d5bec9876cb57d1c52ee41bdec3a
--sha256: 0nzlsswi0mxajgwm1s6qq4nhjp7whjnfd2y3bc7aym6zhiw2yckg
tag: e0ccbb73296027a5e5fd224a78374321974758ce
--sha256: 1a6djwb2jkhh4pq6iwr10zxgpiz3n3f2yw54ciwnwqdm59cami38
subdir:
io-sim
io-classes
Expand Down
8 changes: 4 additions & 4 deletions cardano-api/cardano-api.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ library
, plutus-ledger-api
, prettyprinter
, scientific
, shelley-spec-ledger
, cardano-ledger-shelley
, small-steps
, stm
, strict-containers
Expand Down Expand Up @@ -176,7 +176,7 @@ library gen
, containers
, hedgehog
, plutus-ledger-api
, shelley-spec-ledger
, cardano-ledger-shelley
, tasty
, tasty-hedgehog
, text
Expand Down Expand Up @@ -205,8 +205,8 @@ test-suite cardano-api-test
, ouroboros-consensus
, ouroboros-consensus-shelley
, QuickCheck
, shelley-spec-ledger
, shelley-spec-ledger-test
, cardano-ledger-shelley
, cardano-ledger-shelley-test
, tasty
, tasty-quickcheck
, time
Expand Down
2 changes: 1 addition & 1 deletion cardano-api/gen/Gen/Cardano/Api.hs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import qualified Data.Map.Strict as Map
--TODO: why do we have this odd split? We can get rid of the old name "typed"
import Gen.Cardano.Api.Typed (genRational)

import Shelley.Spec.Ledger.Metadata (Metadata (..), Metadatum (..))
import Cardano.Ledger.Shelley.Metadata (Metadata (..), Metadatum (..))
import qualified Cardano.Ledger.Alonzo.Genesis as Alonzo
import qualified Cardano.Ledger.Alonzo.Language as Alonzo
import qualified Cardano.Ledger.Alonzo.Scripts as Alonzo
Expand Down
2 changes: 1 addition & 1 deletion cardano-api/gen/Gen/Cardano/Api/Typed.hs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ import qualified Cardano.Binary as CBOR
import qualified Cardano.Crypto.Hash as Crypto
import qualified Cardano.Crypto.Seed as Crypto
import qualified Plutus.V1.Ledger.Api as Plutus
import qualified Shelley.Spec.Ledger.TxBody as Ledger (EraIndependentTxBody)
import qualified Cardano.Ledger.Shelley.TxBody as Ledger (EraIndependentTxBody)

import Hedgehog (Gen, Range)
import qualified Hedgehog.Gen as Gen
Expand Down
2 changes: 1 addition & 1 deletion cardano-api/src/Cardano/Api/Block.hs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ import qualified Cardano.Chain.Block as Byron
import qualified Cardano.Chain.UTxO as Byron
import qualified Cardano.Ledger.Era as Ledger
import qualified Cardano.Protocol.TPraos.BHeader as Praos
import qualified Shelley.Spec.Ledger.BlockChain as Ledger
import qualified Cardano.Ledger.Shelley.BlockChain as Ledger

import Cardano.Api.Eras
import Cardano.Api.HasTypeProxy
Expand Down
4 changes: 2 additions & 2 deletions cardano-api/src/Cardano/Api/Certificate.hs
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ import Cardano.Ledger.Crypto (StandardCrypto)
import Cardano.Ledger.BaseTypes (maybeToStrictMaybe, strictMaybeToMaybe)
import qualified Cardano.Ledger.BaseTypes as Shelley
import qualified Cardano.Ledger.Coin as Shelley (toDeltaCoin)
import Shelley.Spec.Ledger.TxBody (MIRPot (..))
import qualified Shelley.Spec.Ledger.TxBody as Shelley
import Cardano.Ledger.Shelley.TxBody (MIRPot (..))
import qualified Cardano.Ledger.Shelley.TxBody as Shelley

import Cardano.Api.Address
import Cardano.Api.HasTypeProxy
Expand Down
6 changes: 3 additions & 3 deletions cardano-api/src/Cardano/Api/Fees.hs
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ import qualified Cardano.Ledger.Core as Ledger
import qualified Cardano.Ledger.Crypto as Ledger
import qualified Cardano.Ledger.Era as Ledger.Era (Crypto)
import qualified Cardano.Ledger.Keys as Ledger
import qualified Shelley.Spec.Ledger.API as Ledger (CLI, DCert, TxIn, Wdrl)
import qualified Shelley.Spec.Ledger.API.Wallet as Ledger (evaluateTransactionBalance,
import qualified Cardano.Ledger.Shelley.API as Ledger (CLI, DCert, TxIn, Wdrl)
import qualified Cardano.Ledger.Shelley.API.Wallet as Ledger (evaluateTransactionBalance,
evaluateTransactionFee)

import Shelley.Spec.Ledger.PParams (PParams' (..))
import Cardano.Ledger.Shelley.PParams (PParams' (..))

import qualified Cardano.Ledger.Mary.Value as Mary

Expand Down
2 changes: 1 addition & 1 deletion cardano-api/src/Cardano/Api/GenesisParameters.hs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import Data.Time (NominalDiffTime, UTCTime)
import Cardano.Slotting.Slot (EpochSize (..))

import qualified Cardano.Ledger.BaseTypes as Ledger
import qualified Shelley.Spec.Ledger.Genesis as Shelley
import qualified Cardano.Ledger.Shelley.Genesis as Shelley

import Cardano.Api.NetworkId
import Cardano.Api.ProtocolParameters
Expand Down
2 changes: 1 addition & 1 deletion cardano-api/src/Cardano/Api/IPC/Monad.hs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import Control.Monad.Trans.Cont
import Data.Either
import Data.Function
import Data.Maybe
import Shelley.Spec.Ledger.Scripts ()
import Cardano.Ledger.Shelley.Scripts ()
import System.IO

import qualified Ouroboros.Network.Protocol.ChainSync.Client as Net.Sync
Expand Down
14 changes: 7 additions & 7 deletions cardano-api/src/Cardano/Api/LedgerEvent.hs
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ import Ouroboros.Consensus.Ledger.Basics (AuxLedgerEvent)
import Ouroboros.Consensus.Shelley.Ledger (ShelleyBlock,
ShelleyLedgerEvent (ShelleyLedgerEventTICK))
import Ouroboros.Consensus.TypeFamilyWrappers
import Shelley.Spec.Ledger.API (InstantaneousRewards (InstantaneousRewards))
import Shelley.Spec.Ledger.STS.Epoch (EpochEvent (PoolReapEvent))
import Shelley.Spec.Ledger.STS.Mir (MirEvent (..))
import Shelley.Spec.Ledger.STS.NewEpoch (NewEpochEvent (EpochEvent, MirEvent, SumRewards))
import Shelley.Spec.Ledger.STS.PoolReap (PoolreapEvent (RetiredPools))
import Shelley.Spec.Ledger.STS.Tick (TickEvent (NewEpochEvent))
import Cardano.Ledger.Shelley.API (InstantaneousRewards (InstantaneousRewards))
import Cardano.Ledger.Shelley.Rules.Epoch (EpochEvent (PoolReapEvent))
import Cardano.Ledger.Shelley.Rules.Mir (MirEvent (..))
import Cardano.Ledger.Shelley.Rules.NewEpoch (NewEpochEvent (EpochEvent, MirEvent, SumRewards))
import Cardano.Ledger.Shelley.Rules.PoolReap (PoolreapEvent (RetiredPools))
import Cardano.Ledger.Shelley.Rules.Tick (TickEvent (NewEpochEvent))

data LedgerEvent
= -- | The given pool is being registered for the first time on chain.
Expand Down Expand Up @@ -110,7 +110,7 @@ data MIRDistributionDetails = MIRDistributionDetails
}

data PoolReapDetails = PoolReapDetails
{ epochNo :: EpochNo,
{ epochNo :: EpochNo,
-- | Refunded deposits. The pools referenced are now retired, and the
-- 'StakeCredential' accounts are credited with the deposits.
refunded :: Map StakeCredential (Map (Hash StakePoolKey) Lovelace),
Expand Down
4 changes: 2 additions & 2 deletions cardano-api/src/Cardano/Api/LedgerState.hs
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ import qualified Ouroboros.Network.Block
import qualified Ouroboros.Network.Protocol.ChainSync.Client as CS
import qualified Ouroboros.Network.Protocol.ChainSync.ClientPipelined as CSP
import Ouroboros.Network.Protocol.ChainSync.PipelineDecision
import qualified Shelley.Spec.Ledger.Genesis as Shelley.Spec
import qualified Shelley.Spec.Ledger.PParams as Shelley.Spec
import qualified Cardano.Ledger.Shelley.Genesis as Shelley.Spec
import qualified Cardano.Ledger.Shelley.PParams as Shelley.Spec
import Data.Maybe (mapMaybe)
import Ouroboros.Consensus.TypeFamilyWrappers (WrapLedgerEvent(WrapLedgerEvent))

Expand Down
12 changes: 6 additions & 6 deletions cardano-api/src/Cardano/Api/Orphans.hs
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ import qualified Cardano.Ledger.SafeHash as SafeHash
import qualified Cardano.Ledger.Shelley.Constraints as Shelley
import qualified Cardano.Protocol.TPraos as Praos
import qualified Ouroboros.Consensus.Shelley.Eras as Consensus
import qualified Shelley.Spec.Ledger.API as Shelley
import qualified Shelley.Spec.Ledger.EpochBoundary as ShelleyEpoch
import qualified Shelley.Spec.Ledger.LedgerState as ShelleyLedger
import Shelley.Spec.Ledger.PParams (PParamsUpdate)
import qualified Shelley.Spec.Ledger.RewardUpdate as Shelley
import qualified Shelley.Spec.Ledger.Rewards as Shelley
import qualified Cardano.Ledger.Shelley.API as Shelley
import qualified Cardano.Ledger.Shelley.EpochBoundary as ShelleyEpoch
import qualified Cardano.Ledger.Shelley.LedgerState as ShelleyLedger
import Cardano.Ledger.Shelley.PParams (PParamsUpdate)
import qualified Cardano.Ledger.Shelley.RewardUpdate as Shelley
import qualified Cardano.Ledger.Shelley.Rewards as Shelley

import Plutus.V1.Ledger.Api (defaultCostModelParams)

Expand Down
6 changes: 3 additions & 3 deletions cardano-api/src/Cardano/Api/ProtocolParameters.hs
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,12 @@ import Cardano.Ledger.Crypto (StandardCrypto)
import qualified Cardano.Ledger.Era as Ledger
import qualified Cardano.Ledger.Keys as Ledger

import qualified Shelley.Spec.Ledger.PParams as Ledger (ProposedPPUpdates (..), ProtVer (..),
import qualified Cardano.Ledger.Shelley.PParams as Ledger (ProposedPPUpdates (..), ProtVer (..),
Update (..))
-- Some of the things from Shelley.Spec.Ledger.PParams are generic across all
-- Some of the things from Cardano.Ledger.Shelley.PParams are generic across all
-- eras, and some are specific to the Shelley era (and other pre-Alonzo eras).
-- So we import in twice under different names.
import qualified Shelley.Spec.Ledger.PParams as Shelley (PParams, PParams' (..), PParamsUpdate)
import qualified Cardano.Ledger.Shelley.PParams as Shelley (PParams, PParams' (..), PParamsUpdate)

import qualified Cardano.Ledger.Alonzo.Language as Alonzo
import qualified Cardano.Ledger.Alonzo.PParams as Alonzo
Expand Down
5 changes: 2 additions & 3 deletions cardano-api/src/Cardano/Api/Query.hs
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ import qualified Cardano.Chain.Update.Validation.Interface as Byron.Update
import qualified Cardano.Ledger.Core as Core
import qualified Cardano.Ledger.Era as Ledger

import qualified Shelley.Spec.Ledger.API as Shelley
import qualified Shelley.Spec.Ledger.LedgerState as Shelley
import qualified Cardano.Ledger.Shelley.API as Shelley
import qualified Cardano.Ledger.Shelley.LedgerState as Shelley

import Cardano.Api.Address
import Cardano.Api.Block
Expand Down Expand Up @@ -696,4 +696,3 @@ fromConsensusQueryResultMismatch =
fromConsensusEraMismatch :: SListI xs
=> Consensus.MismatchEraInfo xs -> EraMismatch
fromConsensusEraMismatch = Consensus.mkEraMismatch

2 changes: 1 addition & 1 deletion cardano-api/src/Cardano/Api/Script.hs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ import qualified Cardano.Ledger.Era as Ledger
import qualified Cardano.Ledger.ShelleyMA.Timelocks as Timelock
import Ouroboros.Consensus.Shelley.Eras (StandardCrypto)
import qualified Cardano.Ledger.Keys as Shelley
import qualified Shelley.Spec.Ledger.Scripts as Shelley
import qualified Cardano.Ledger.Shelley.Scripts as Shelley

import qualified Cardano.Ledger.Alonzo.Language as Alonzo
import qualified Cardano.Ledger.Alonzo.Scripts as Alonzo
Expand Down
2 changes: 1 addition & 1 deletion cardano-api/src/Cardano/Api/Shelley/Genesis.hs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import Cardano.Slotting.Slot (EpochSize (..))

import Ouroboros.Consensus.Shelley.Node (ShelleyGenesis (..), emptyGenesisStaking)

import Shelley.Spec.Ledger.PParams as Ledger (PParams' (..), emptyPParams)
import Cardano.Ledger.Shelley.PParams as Ledger (PParams' (..), emptyPParams)


-- | Some reasonable starting defaults for constructing a 'ShelleyGenesis'.
Expand Down
6 changes: 3 additions & 3 deletions cardano-api/src/Cardano/Api/Tx.hs
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ import qualified Cardano.Ledger.Era as Ledger
import qualified Cardano.Ledger.Keys as Shelley
import qualified Cardano.Ledger.SafeHash as Ledger
import qualified Cardano.Ledger.Shelley.Constraints as Shelley
import qualified Shelley.Spec.Ledger.Address.Bootstrap as Shelley
import qualified Shelley.Spec.Ledger.Tx as Shelley
import qualified Shelley.Spec.Ledger.TxBody as Ledger (EraIndependentTxBody)
import qualified Cardano.Ledger.Shelley.Address.Bootstrap as Shelley
import qualified Cardano.Ledger.Shelley.Tx as Shelley
import qualified Cardano.Ledger.Shelley.TxBody as Ledger (EraIndependentTxBody)

import qualified Cardano.Ledger.Alonzo as Alonzo
import qualified Cardano.Ledger.Alonzo.Tx as Alonzo
Expand Down
10 changes: 5 additions & 5 deletions cardano-api/src/Cardano/Api/TxBody.hs
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,11 @@ import qualified Cardano.Ledger.Keys as Shelley
import qualified Cardano.Ledger.SafeHash as SafeHash
import qualified Cardano.Ledger.Shelley.Constraints as Ledger

import qualified Shelley.Spec.Ledger.Genesis as Shelley
import qualified Shelley.Spec.Ledger.Metadata as Shelley
import qualified Shelley.Spec.Ledger.Tx as Shelley
import qualified Shelley.Spec.Ledger.TxBody as Shelley
import qualified Shelley.Spec.Ledger.UTxO as Shelley
import qualified Cardano.Ledger.Shelley.Genesis as Shelley
import qualified Cardano.Ledger.Shelley.Metadata as Shelley
import qualified Cardano.Ledger.Shelley.Tx as Shelley
import qualified Cardano.Ledger.Shelley.TxBody as Shelley
import qualified Cardano.Ledger.Shelley.UTxO as Shelley

import qualified Cardano.Ledger.ShelleyMA.AuxiliaryData as Allegra
import qualified Cardano.Ledger.ShelleyMA.AuxiliaryData as Mary
Expand Down
2 changes: 1 addition & 1 deletion cardano-api/src/Cardano/Api/TxMetadata.hs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ import Control.Monad (guard, when)

import qualified Cardano.Binary as CBOR

import qualified Shelley.Spec.Ledger.Metadata as Shelley
import qualified Cardano.Ledger.Shelley.Metadata as Shelley

import Cardano.Api.Eras
import Cardano.Api.Error
Expand Down
4 changes: 2 additions & 2 deletions cardano-api/test/Test/Cardano/Api/Genesis.hs
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ import Cardano.Ledger.BaseTypes (Network (..))
import Cardano.Ledger.Coin (Coin (..))
import Cardano.Ledger.Keys (GenDelegPair (..), Hash, KeyHash (..), KeyRole (..),
VerKeyVRF)
import Shelley.Spec.Ledger.PParams (PParams' (..), emptyPParams)
import Cardano.Ledger.Shelley.PParams (PParams' (..), emptyPParams)

import Test.Shelley.Spec.Ledger.Utils (unsafeBoundRational)
import Test.Cardano.Ledger.Shelley.Utils (unsafeBoundRational)

exampleShelleyGenesis :: ShelleyGenesis StandardShelley
exampleShelleyGenesis =
Expand Down
2 changes: 1 addition & 1 deletion cardano-api/test/Test/Cardano/Api/Ledger.hs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Gen.Tasty.Hedgehog.Group (fromGroup)
import Hedgehog (Property, discover)
import Ouroboros.Consensus.Shelley.Eras (StandardCrypto)
import Test.Cardano.Api.Genesis
import Test.Shelley.Spec.Ledger.Serialisation.Generators.Genesis (genAddress)
import Test.Cardano.Ledger.Shelley.Serialisation.Generators.Genesis (genAddress)
import Test.Tasty (TestTree)

import qualified Hedgehog as H
Expand Down
2 changes: 1 addition & 1 deletion cardano-cli/cardano-cli.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ library
, parsec
, plutus-ledger-api
, prettyprinter
, shelley-spec-ledger
, cardano-ledger-shelley
, small-steps
, split
, strict-containers
Expand Down
2 changes: 1 addition & 1 deletion cardano-cli/src/Cardano/CLI/Run/Friendly.hs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import Cardano.Api
import Cardano.Api.Byron (Lovelace (..))
import Cardano.Api.Shelley (Address (ShelleyAddress), StakeAddress (..))
import Cardano.Ledger.Crypto (Crypto)
import qualified Shelley.Spec.Ledger.API as Shelley
import qualified Cardano.Ledger.Shelley.API as Shelley

import Cardano.CLI.Helpers (textShow)

Expand Down
Loading

0 comments on commit 72f6a29

Please sign in to comment.