Skip to content

Commit d5068d6

Browse files
committed
Apply suggestions from PR review
1 parent ac9319d commit d5068d6

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

state/protocol/badger/mutator.go

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -848,12 +848,10 @@ func (m *FollowerState) epochTransitionMetricsAndEventsOnBlockFinalized(block *f
848848
return
849849
}
850850

851-
// epochPhaseMetricsAndEventsOnBlockFinalized determines metrics to update
852-
// and protocol events to emit, if this block is the first of a new epoch phase.
853-
//
854-
// Protocol events and metric updates happen when we finalize the block at
855-
// which a service event causing an epoch phase change comes into effect.
856-
// See handleEpochServiceEvents for details.
851+
// epochPhaseMetricsAndEventsOnBlockFinalized determines metrics to update and protocol
852+
// events to emit. Service Events embedded into an execution result take effect, when the
853+
// execution result's _seal is finalized_ (i.e. when the block holding a seal for the
854+
// result is finalized). See also handleEpochServiceEvents for further details. Example:
857855
//
858856
// Convention:
859857
//

0 commit comments

Comments
 (0)