Skip to content

Commit

Permalink
Fix IgnoreBlockOlderThanK bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jutaro committed Sep 12, 2024
1 parent 9349cca commit 7c2d476
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cardano-node/src/Cardano/Node/Tracing/Tracers/ChainDB.hs
Original file line number Diff line number Diff line change
Expand Up @@ -353,9 +353,7 @@ instance MetaTrace (ChainDB.TraceEvent blk) where
documentFor _ = Nothing

allNamespaces =
Namespace [] ["IgnoreBlockOlderThanK"]

: (map (nsPrependInner "AddBlockEvent")
map (nsPrependInner "AddBlockEvent")
(allNamespaces :: [Namespace (ChainDB.TraceAddBlockEvent blk)])
++ map (nsPrependInner "FollowerEvent")
(allNamespaces :: [Namespace (ChainDB.TraceFollowerEvent blk)])
Expand All @@ -377,7 +375,6 @@ instance MetaTrace (ChainDB.TraceEvent blk) where
(allNamespaces :: [Namespace (ImmDB.TraceEvent blk)])
++ map (nsPrependInner "VolatileDbEvent")
(allNamespaces :: [Namespace (VolDB.TraceEvent blk)])
)


--------------------------------------------------------------------------------
Expand Down

0 comments on commit 7c2d476

Please sign in to comment.