Skip to content

Commit 9d8fb93

Browse files
committed
Changes due to updating cardano-base
1 parent fb5f16f commit 9d8fb93

3 files changed

Lines changed: 4 additions & 14 deletions

File tree

cabal.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ index-state:
1818
, hackage.haskell.org 2024-12-10T16:20:07Z
1919

2020
-- Bump this if you need newer packages from CHaP
21-
, cardano-haskell-packages 2024-11-26T16:00:26Z
21+
, cardano-haskell-packages 2026-04-11T06:29:42Z
2222

2323
packages: ./cardano-ping
2424
./monoidal-synchronisation

flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ouroboros-network-protocols/testlib/Test/ChainGenerators.hs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -97,16 +97,6 @@ tests = testGroup "Chain"
9797
(mapSize (min 40) prop_shrink_TestChainFork)
9898
]
9999

100-
101-
instance Arbitrary BlockNo where
102-
arbitrary = BlockNo <$>
103-
((getPositive <$> arbitrary)
104-
`suchThat`
105-
(\n -> n < maxBound - 2^(32 :: Int)))
106-
-- need some room, we're assuming we'll never wrap around 64bits
107-
108-
shrink (BlockNo n) = [ BlockNo n' | n' <- shrink n, n' > 0 ]
109-
110100
instance Arbitrary ConcreteHeaderHash where
111101
arbitrary = HeaderHash <$> arbitrary
112102

0 commit comments

Comments
 (0)