Skip to content
Browse files

Merge pull request #741 from input-output-hk/coot/run-demo-show

Add  Show (Header blk) constraint to RunDemo
  • Loading branch information...
mrBliss committed Jul 12, 2019
2 parents c7045df + cbc02bc commit 82322b90f682dfabb527156e0bf9e52fa12c0228
Showing with 6 additions and 0 deletions.
  1. +6 −0 ouroboros-consensus/src/Ouroboros/Consensus/Demo/Run.hs
@@ -64,7 +64,13 @@ class ( ProtocolLedgerView blk
, Condense (HeaderHash blk)
, Condense blk
, Condense [blk]
-- TODO: the show constraints are needed when using a tracer which logs
-- a mini-protocol messages, or the fetch client decisions, we should
-- rethink where the condense class lives so that we can provide
-- 'Condenese' instances for data structures defined in ouroboros-network
-- or provide them in the module where 'Condense' is defined.
, Show blk
, Show (Header blk)
, ApplyTx blk
, Show (ApplyTxErr blk)
, Condense (GenTx blk)

0 comments on commit 82322b9

Please sign in to comment.
You can’t perform that action at this time.