Skip to content

Commit dd99033

Browse files
authored
chore: fix some comments to improve readability (#3382)
Signed-off-by: weifanglab <weifanglab@outlook.com>
1 parent 34b278a commit dd99033

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

pkg/sequencers/single/sequencer_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1978,7 +1978,7 @@ func TestSequencer_CatchUp_CheckpointAdvancesDuringCatchUp(t *testing.T) {
19781978
func TestSequencer_CatchUp_MonotonicTimestamps(t *testing.T) {
19791979
// When a single DA epoch has more forced txs than fit in one block,
19801980
// catch-up must produce strictly monotonic timestamps across the
1981-
// resulting blocks. The jitter scheme is:
1981+
// resulting blocks. The jitter scheme is:
19821982
// epochStart = daEndTime - totalEpochTxs * 1ms
19831983
// blockTimestamp = epochStart + txIndexForTimestamp * 1ms
19841984
// where txIndexForTimestamp is the cumulative consumed-tx count

pkg/store/data_store_adapter_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ func TestDataStoreAdapter_ContextTimeout(t *testing.T) {
531531
time.Sleep(1 * time.Millisecond) // Ensure context is expired
532532

533533
// Operations should still work with in-memory store
534-
// but this tests the context is being passed through
534+
// but this tests that the context is being passed through
535535
_, d1 := types.GetRandomBlock(1, 1, "test-chain")
536536
// Note: In-memory store doesn't actually check context, but this verifies
537537
// the adapter passes the context through

pkg/store/header_store_adapter_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ func TestHeaderStoreAdapter_ContextTimeout(t *testing.T) {
529529
time.Sleep(1 * time.Millisecond) // Ensure context is expired
530530

531531
// Operations should still work with in-memory store
532-
// but this tests the context is being passed through
532+
// but this tests that the context is being passed through
533533
h1, _ := types.GetRandomBlock(1, 1, "test-chain")
534534
// Note: In-memory store doesn't actually check context, but this verifies
535535
// the adapter passes the context through

0 commit comments

Comments
 (0)