@@ -30,7 +30,6 @@ import Ouroboros.Consensus.Block (GenesisWindow (..), Header, Point,
30
30
WithOrigin (NotOrigin , Origin ), succWithOrigin )
31
31
import Ouroboros.Consensus.Genesis.Governor (DensityBounds (.. ),
32
32
GDDDebugInfo (.. ), TraceGDDEvent (.. ))
33
- import Ouroboros.Consensus.HeaderValidation (HeaderWithTime (.. ))
34
33
import Ouroboros.Consensus.MiniProtocol.ChainSync.Client
35
34
(TraceChainSyncClientEvent (.. ))
36
35
import Ouroboros.Consensus.MiniProtocol.ChainSync.Client.Jumping
@@ -60,9 +59,8 @@ import Ouroboros.Network.Protocol.ChainSync.Type (ChainSync,
60
59
import Test.Consensus.PointSchedule.NodeState (NodeState )
61
60
import Test.Consensus.PointSchedule.Peers (Peer (Peer ), PeerId )
62
61
import Test.Util.TersePrinting (terseAnchor , terseBlock ,
63
- terseFragment , terseHFragment , terseHWTFragment ,
64
- terseHeader , tersePoint , terseRealPoint , terseTip ,
65
- terseWithOrigin )
62
+ terseFragment , terseHFragment , terseHeader , tersePoint ,
63
+ terseRealPoint , terseTip , terseWithOrigin )
66
64
import Test.Util.TestBlock (TestBlock )
67
65
import Text.Printf (printf )
68
66
@@ -557,7 +555,7 @@ prettyDensityBounds bounds =
557
555
-- the density comparison should not be applied to two peers if they share any headers after the LoE fragment.
558
556
lastPoint =
559
557
" point: " ++
560
- tersePoint (castPoint @ (HeaderWithTime TestBlock ) @ TestBlock (AF. lastPoint clippedFragment)) ++
558
+ tersePoint (castPoint @ (Header TestBlock ) @ TestBlock (AF. lastPoint clippedFragment)) ++
561
559
" , "
562
560
563
561
showLatestSlot = \ case
@@ -584,14 +582,14 @@ terseGDDEvent = \case
584
582
} ->
585
583
unlines $ [
586
584
" GDD | Window: " ++ window sgen loeHead,
587
- " Selection: " ++ terseHWTFragment curChain,
585
+ " Selection: " ++ terseHFragment curChain,
588
586
" Candidates:"
589
587
] ++
590
588
showPeers (second (tersePoint . castPoint . AF. headPoint) <$> candidates) ++
591
589
[
592
590
" Candidate suffixes (bounds):"
593
591
] ++
594
- showPeers (second (terseHWTFragment . clippedFragment) <$> bounds) ++
592
+ showPeers (second (terseHFragment . clippedFragment) <$> bounds) ++
595
593
[" Density bounds:" ] ++
596
594
prettyDensityBounds bounds ++
597
595
[" New candidate tips:" ] ++
0 commit comments