Skip to content

Commit aba1be5

Browse files
committed
Re-add ShowProxy SlotNo orphan instance
We can't release our packages with the ouroboros-network s-r-p.
1 parent c06b883 commit aba1be5

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

cabal.project

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,3 @@ import: ./asserts.cabal
3636
if(os(windows))
3737
constraints:
3838
bitvec -simd
39-
40-
source-repository-package
41-
type: git
42-
location: https://github.com/IntersectMBO/ouroboros-network
43-
tag: 431bb599940d2947b2cb99d3ae29b7f2c4cdd36d
44-
--sha256: 1a62hqddpnc0j5r7nl54q79nrxyw77dphpsgp68hxij210dkpvca
45-
subdir:
46-
ouroboros-network-api
47-
ouroboros-network-protocols

ouroboros-consensus/src/ouroboros-consensus/Ouroboros/Consensus/Util/Orphans.hs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import Data.SOP.BasicFunctors
2727
import NoThunks.Class (InspectHeap (..), InspectHeapNamed (..),
2828
NoThunks (..), OnlyCheckWhnfNamed (..), allNoThunks,
2929
noThunksInKeysAndValues)
30+
import Ouroboros.Consensus.Block.Abstract
3031
import Ouroboros.Network.Util.ShowProxy
3132
import System.FS.API (SomeHasFS)
3233
import System.FS.API.Types (FsPath, Handle)
@@ -42,6 +43,12 @@ instance Serialise (VerKeyDSIGN MockDSIGN) where
4243
encode = encodeVerKeyDSIGN
4344
decode = decodeVerKeyDSIGN
4445

46+
{-------------------------------------------------------------------------------
47+
ShowProxy
48+
-------------------------------------------------------------------------------}
49+
50+
instance ShowProxy SlotNo where
51+
4552
{-------------------------------------------------------------------------------
4653
NoThunks
4754
-------------------------------------------------------------------------------}

0 commit comments

Comments
 (0)