Skip to content

Commit 6f0c6b5

Browse files
committed
wip
1 parent f082199 commit 6f0c6b5

File tree

1 file changed

+3
-4
lines changed
  • cardano-chain-gen/src/Cardano/Mock/ChainSync

1 file changed

+3
-4
lines changed

cardano-chain-gen/src/Cardano/Mock/ChainSync/Server.hs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,11 @@ import Data.Maybe (fromJust)
5353
import Data.Void (Void)
5454
import qualified Network.Mux as Mux
5555
import Ouroboros.Consensus.Block (CodecConfig, HasHeader, Point, StandardHash, castPoint)
56+
import Ouroboros.Consensus.Byron.Ledger ()
5657
import Ouroboros.Consensus.Config (TopLevelConfig, configCodec)
58+
import Ouroboros.Consensus.HardFork.Combinator ()
5759
import Ouroboros.Consensus.Ledger.Query (BlockQuery, ShowQuery)
60+
import Ouroboros.Consensus.Shelley.Ledger ()
5861
import Ouroboros.Consensus.Ledger.SupportsMempool (ApplyTxErr, GenTx, TxId)
5962
import Ouroboros.Consensus.Ledger.SupportsProtocol (LedgerSupportsProtocol)
6063
import Ouroboros.Consensus.Network.NodeToClient (Apps (..), Codecs' (..), DefaultCodecs)
@@ -294,10 +297,6 @@ runLocalServer iom codecConfig netMagic localDomainSock chainProdState =
294297
channel
295298
(Effect (forever $ threadDelay 3_600_000_000))
296299

297-
-- TODO: it should be defined somewhere in `ouroboros-consensus`
298-
instance ShowProxy blk => ShowProxy (TxId (GenTx blk)) where
299-
showProxy _ = "TxId (GenTx (" ++ showProxy (Proxy :: Proxy blk) ++ ")"
300-
301300
chainSyncServer ::
302301
forall blk m.
303302
( HasHeader blk

0 commit comments

Comments
 (0)