Skip to content

Commit 3879d73

Browse files
committed
cleanup comments
1 parent e6c5d04 commit 3879d73

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

pkg/sequencers/based/sequencer.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,6 @@ doneProcessing:
195195
// Spread blocks across the DA epoch window to produce monotonically increasing timestamps:
196196
// epochStart = daEndTime - totalEpochTxs * 1ms
197197
// blockTimestamp = epochStart + txIndexForTimestamp * 1ms
198-
// The last block of an epoch lands exactly on daEndTime; the first block of
199-
// the next epoch starts at nextDaEndTime - N*1ms >= prevDaEndTime.
200198
epochStart := s.currentDAEndTime.Add(-time.Duration(s.currentEpochTxCount) * time.Millisecond)
201199
timestamp := epochStart.Add(time.Duration(txIndexForTimestamp) * time.Millisecond)
202200

pkg/sequencers/single/sequencer.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,6 @@ func (c *Sequencer) GetNextBatch(ctx context.Context, req coresequencer.GetNextB
351351
// Spread catch-up blocks across the DA epoch window for monotonically increasing timestamps:
352352
// epochStart = daEndTime - totalEpochTxs * 1ms
353353
// blockTimestamp = epochStart + txIndexForTimestamp * 1ms
354-
// The last block of an epoch lands exactly on daEndTime; the first block of
355-
// the next epoch starts at nextDaEndTime - N*1ms >= prevDaEndTime.
356354
// During normal operation, use wall-clock time instead.
357355
timestamp := time.Now().UTC()
358356
currentBatchHasForcedTxs := forcedTxConsumedCount > 0

0 commit comments

Comments
 (0)