Skip to content

Commit 9400dc2

Browse files
committed
additional documentation adjustments
1 parent 8203b59 commit 9400dc2

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

state/protocol/badger/mutator_test.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -573,18 +573,18 @@ func TestExtendReceiptsValid(t *testing.T) {
573573
// event, then a commit event, then finalizing the first block of the next epoch.
574574
// Also tests that appropriate epoch transition events are fired.
575575
//
576-
// Epoch information becomes available in the protocol state in the block when processing
577-
// the block with relevant service event.
576+
// Epoch information becomes available in the protocol state in the block containing the seal
577+
// for the block in which the relevant service event was emitted.
578578
//
579579
// ROOT <- B1 <- B2(R1) <- B3(S1) <- B4 <- B5(R2) <- B6(S2) <- B7 <-|- B8
580580
//
581581
// B3 seals B1, in which EpochSetup is emitted.
582-
// * we can query the EpochSetup beginning with B3
583-
// * EpochSetupPhaseStarted triggered when B3 is finalized
582+
// - we can query the EpochSetup beginning with B3
583+
// - EpochSetupPhaseStarted triggered when B3 is finalized
584584
//
585585
// B6 seals B2, in which EpochCommitted is emitted.
586-
// * we can query the EpochCommit beginning with B6
587-
// * EpochSetupPhaseStarted triggered when B6 is finalized
586+
// - we can query the EpochCommit beginning with B6
587+
// - EpochCommittedPhaseStarted triggered when B6 is finalized
588588
//
589589
// B7 is the final block of the epoch.
590590
// B8 is the first block of the NEXT epoch.
@@ -1604,8 +1604,8 @@ func TestEmergencyEpochFallback(t *testing.T) {
16041604
})
16051605

16061606
// if an invalid epoch service event is incorporated, we should:
1607-
// * not apply the phase transition corresponding to the invalid service event
1608-
// * immediately trigger EECC
1607+
// - not apply the phase transition corresponding to the invalid service event
1608+
// - immediately trigger EECC
16091609
//
16101610
// Epoch Boundary
16111611
// |

0 commit comments

Comments
 (0)