From 887e1b41a90c0b4fa7516284ce8bf0771a1d68ea Mon Sep 17 00:00:00 2001 From: weifanglab Date: Mon, 13 Jul 2026 23:59:52 +0800 Subject: [PATCH] chore: fix some comments to improve readability Signed-off-by: weifanglab --- pkg/sequencers/single/sequencer_test.go | 2 +- pkg/store/data_store_adapter_test.go | 2 +- pkg/store/header_store_adapter_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/sequencers/single/sequencer_test.go b/pkg/sequencers/single/sequencer_test.go index af099c9151..1891cbba99 100644 --- a/pkg/sequencers/single/sequencer_test.go +++ b/pkg/sequencers/single/sequencer_test.go @@ -1978,7 +1978,7 @@ func TestSequencer_CatchUp_CheckpointAdvancesDuringCatchUp(t *testing.T) { func TestSequencer_CatchUp_MonotonicTimestamps(t *testing.T) { // When a single DA epoch has more forced txs than fit in one block, // catch-up must produce strictly monotonic timestamps across the - // resulting blocks. The jitter scheme is: + // resulting blocks. The jitter scheme is: // epochStart = daEndTime - totalEpochTxs * 1ms // blockTimestamp = epochStart + txIndexForTimestamp * 1ms // where txIndexForTimestamp is the cumulative consumed-tx count diff --git a/pkg/store/data_store_adapter_test.go b/pkg/store/data_store_adapter_test.go index 63d8883013..5fe80c249e 100644 --- a/pkg/store/data_store_adapter_test.go +++ b/pkg/store/data_store_adapter_test.go @@ -531,7 +531,7 @@ func TestDataStoreAdapter_ContextTimeout(t *testing.T) { time.Sleep(1 * time.Millisecond) // Ensure context is expired // Operations should still work with in-memory store - // but this tests the context is being passed through + // but this tests that the context is being passed through _, d1 := types.GetRandomBlock(1, 1, "test-chain") // Note: In-memory store doesn't actually check context, but this verifies // the adapter passes the context through diff --git a/pkg/store/header_store_adapter_test.go b/pkg/store/header_store_adapter_test.go index 33f804c676..52fa51d1fe 100644 --- a/pkg/store/header_store_adapter_test.go +++ b/pkg/store/header_store_adapter_test.go @@ -529,7 +529,7 @@ func TestHeaderStoreAdapter_ContextTimeout(t *testing.T) { time.Sleep(1 * time.Millisecond) // Ensure context is expired // Operations should still work with in-memory store - // but this tests the context is being passed through + // but this tests that the context is being passed through h1, _ := types.GetRandomBlock(1, 1, "test-chain") // Note: In-memory store doesn't actually check context, but this verifies // the adapter passes the context through