@@ -241,20 +241,23 @@ handleNodeWithTracers cmdPc nc p@(SomeConsensusProtocol blockType runP) = do
241241 (getLast (pncConfigFile cmdPc))
242242 case ncTraceConfig nc of
243243 TraceDispatcher {} -> do
244+ -- TODO fix
244245 blockForging <- snd (Api. protocolInfo runP)
245246 tracers <-
246247 initTraceDispatcher
247248 nc
248249 p
249250 networkMagic
250251 nodeKernelData
252+ -- TODO fix
251253 (null blockForging)
252254
253255 startupInfo <- getStartupInfo nc p fp
254256 mapM_ (traceWith $ startupTracer tracers) startupInfo
255257 traceNodeStartupInfo (nodeStartupInfoTracer tracers) startupInfo
256258 -- sends initial BlockForgingUpdate
257259 let isNonProducing = ncStartAsNonProducingNode nc
260+ -- TODO fix
258261 traceWith (startupTracer tracers)
259262 (BlockForgingUpdate (if isNonProducing || null blockForging
260263 then DisabledBlockForging
@@ -298,6 +301,7 @@ handleNodeWithTracers cmdPc nc p@(SomeConsensusProtocol blockType runP) = do
298301
299302 traceWith (nodeVersionTracer tracers) getNodeVersion
300303 let isNonProducing = ncStartAsNonProducingNode nc
304+ -- TODO fix
301305 blockForging <- snd (Api. protocolInfo runP)
302306 traceWith (startupTracer tracers)
303307 (BlockForgingUpdate (if isNonProducing || null blockForging
@@ -468,6 +472,7 @@ handleSimpleNode blockType runP tracers nc onKernel = do
468472 , rnProtocolInfo = pInfo
469473 , rnNodeKernelHook = \ registry nodeKernel -> do
470474 -- set the initial block forging
475+ -- TODO fix
471476 blockForging <- snd (Api. protocolInfo runP)
472477
473478 unless (ncStartAsNonProducingNode nc) $
@@ -688,6 +693,7 @@ updateBlockForging startupTracer blockType nodeKernel nc = do
688693 case Api. reflBlockType blockType blockType' of
689694 Just Refl -> do
690695 -- TODO: check if runP' has changed
696+ -- TODO fix
691697 blockForging <- snd (Api. protocolInfo runP')
692698 traceWith startupTracer
693699 (BlockForgingUpdate (if null blockForging
0 commit comments