Skip to content

Commit

Permalink
CAD-2770 new tracing: annotate the example tracer with types
Browse files Browse the repository at this point in the history
  • Loading branch information
deepfire authored and jutaro committed May 13, 2021
1 parent dc3f7e7 commit 2292c9c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cardano-node/src/Cardano/Tracing/Tracers.hs
Expand Up @@ -301,7 +301,9 @@ mkTracers _ TracingOnNew{} _ _ _ = do
[trL2]

pure Tracers
{ chainDBTracer = Tracer $ L2.traceWith trL2
{ chainDBTracer = Tracer
(L2.traceWith (trL2 :: L2.Trace IO (ChainDB.TraceEvent blk))
:: ChainDB.TraceEvent blk -> IO ())

, consensusTracers = Consensus.Tracers
{ Consensus.chainSyncClientTracer = nullTracer
Expand Down

0 comments on commit 2292c9c

Please sign in to comment.