Skip to content

Commit 9979bba

Browse files
committed
Add EB links to EBGenerated event
1 parent 9af61b1 commit 9979bba

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

leios-trace-hs/src/LeiosEvents.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ data Event where
119119
, pipeline :: !PipelineNo
120120
, bytes :: !Word64
121121
, input_blocks :: ![BlockRef]
122+
, endorsement_blocks :: ![BlockRef]
122123
} ->
123124
Event
124125
RBGenerated ::

simulation/src/LeiosProtocol/Short/Sim.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@ sharedEvent leios nodeNames e = case e of
355355
Shared.EBGenerated
356356
{ bytes = fromIntegral (messageSizeBytes eb)
357357
, input_blocks = map (Shared.BlockRef . T.pack . mkStringId) eb.inputBlocks
358+
, endorsement_blocks = map (Shared.BlockRef . T.pack . mkStringId) eb.endorseBlocksEarlierPipeline
358359
, pipeline = coerce $ endorseBlockPipeline leios eb
359360
, ..
360361
}

0 commit comments

Comments
 (0)