File tree Expand file tree Collapse file tree 7 files changed +9
-4
lines changed
ouroboros-consensus-diffusion
test/consensus-test/Test/Consensus/HardFork/Combinator
src/unstable-mock-block/Ouroboros/Consensus/Mock/Protocol
consensus-test/Test/Consensus/HardFork
storage-test/Test/Ouroboros/Storage Expand file tree Collapse file tree 7 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ test-suite consensus-test
242242 , binary
243243 , bytestring
244244 , cardano-crypto-class
245- , cardano-slotting
245+ , cardano-slotting :{cardano-slotting, testlib}
246246 , containers
247247 , contra-tracer
248248 , directory
Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ import Ouroboros.Consensus.Util.Orphans ()
8686import Ouroboros.Network.Block (Serialised , unwrapCBORinCBOR ,
8787 wrapCBORinCBOR )
8888import Ouroboros.Network.Magic
89+ import Test.Cardano.Slotting.Numeric ()
8990import Test.Util.Time (dawnOfTime )
9091
9192{- ------------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ import Ouroboros.Consensus.Util.Orphans ()
7272import Ouroboros.Network.Block (Serialised , unwrapCBORinCBOR ,
7373 wrapCBORinCBOR )
7474import Ouroboros.Network.Magic
75+ import Test.Cardano.Slotting.Numeric ()
7576import Test.Util.Time (dawnOfTime )
7677
7778{- ------------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -438,7 +438,7 @@ library unstable-mock-block
438438 , bytestring
439439 , cardano-binary
440440 , cardano-crypto-class
441- , cardano-slotting
441+ , cardano-slotting :{cardano-slotting, testlib}
442442 , cborg
443443 , containers
444444 , deepseq
@@ -510,7 +510,7 @@ test-suite consensus-test
510510 , base-deriving-via
511511 , cardano-binary
512512 , cardano-crypto-class
513- , cardano-slotting
513+ , cardano-slotting :{cardano-slotting, testlib}
514514 , cborg
515515 , containers
516516 , contra-tracer
@@ -613,7 +613,7 @@ test-suite storage-test
613613 , binary
614614 , bytestring
615615 , cardano-crypto-class
616- , cardano-slotting
616+ , cardano-slotting :{cardano-slotting, testlib}
617617 , cborg
618618 , containers
619619 , contra-tracer
Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ import Ouroboros.Consensus.NodeId (CoreNodeId (..))
7777import Ouroboros.Consensus.Protocol.Abstract
7878import Ouroboros.Consensus.Protocol.Signed
7979import Ouroboros.Consensus.Util.Condense
80+ import Test.Cardano.Slotting.Numeric ()
8081
8182-- The Praos paper can be located at https://ia.cr/2017/573
8283--
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ import qualified Ouroboros.Consensus.HardFork.Combinator.State as State
5555import Ouroboros.Consensus.HardFork.Combinator.State.Types
5656import qualified Ouroboros.Consensus.HardFork.History as HF
5757import Ouroboros.Consensus.Util (nTimes )
58+ import Test.Cardano.Slotting.Numeric ()
5859import Test.Consensus.HardFork.Infra
5960import Test.QuickCheck
6061import Test.Tasty
Original file line number Diff line number Diff line change @@ -103,6 +103,7 @@ import Ouroboros.Consensus.Util.Condense
103103import Ouroboros.Consensus.Util.Orphans ()
104104import qualified Ouroboros.Network.Mock.Chain as Chain
105105import System.FS.API.Lazy
106+ import Test.Cardano.Slotting.Numeric ()
106107import Test.QuickCheck
107108import Test.Util.Orphans.Arbitrary ()
108109import Test.Util.Orphans.SignableRepresentation ()
You can’t perform that action at this time.
0 commit comments