File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed
leios-trace-verifier/hs-src/test/Spec
simulation/src/LeiosProtocol/Short Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -119,6 +119,7 @@ data Event where
119119 , pipeline :: ! PipelineNo
120120 , bytes :: ! Word64
121121 , input_blocks :: ! [BlockRef ]
122+ , endorser_blocks :: ! [BlockRef ]
122123 } ->
123124 Event
124125 RBGenerated ::
Original file line number Diff line number Diff line change @@ -214,6 +214,7 @@ transition GenerateEB =
214214 pipeline <- uses stageLength $ (slot `div` ) . fromIntegral
215215 bytes <- lift arbitrary
216216 input_blocks <- lift . sublistOf =<< uses ibs (fmap BlockRef . S. toList)
217+ endorser_blocks <- lift . sublistOf =<< uses ebs (fmap BlockRef . S. toList)
217218 pure [EBGenerated {.. }]
218219transition ReceiveEB =
219220 do
Original file line number Diff line number Diff 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+ , endorser_blocks = map (Shared. BlockRef . T. pack . mkStringId) eb. endorseBlocksEarlierPipeline
358359 , pipeline = coerce $ endorseBlockPipeline leios eb
359360 , ..
360361 }
You can’t perform that action at this time.
0 commit comments