From 8cec2c29c079284813042c3be6edfa95b510be1e Mon Sep 17 00:00:00 2001 From: myetcd Date: Wed, 30 Sep 2026 19:04:34 +0800 Subject: [PATCH] chore: fix grammar mistakes in code comments --- pkg/genesis/genesis.go | 2 +- types/signed_header_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/genesis/genesis.go b/pkg/genesis/genesis.go index e1a401d9fc..26bd4df692 100644 --- a/pkg/genesis/genesis.go +++ b/pkg/genesis/genesis.go @@ -18,7 +18,7 @@ type Genesis struct { // DAStartHeight corresponds to the height at which the first DA header/data has been published. // This value is meant to be updated after genesis and shared to all syncing nodes for speeding up syncing via DA. DAStartHeight uint64 `json:"da_start_height"` - // DaEpochForcedInclusion corresponds to the amount of DA blocks are considered an epoch + // DaEpochForcedInclusion corresponds to the number of DA blocks that make up an epoch // When forced inclusion is enabled, the epoch size determines at what frequency the forced included transactions are executed by the application. DAEpochForcedInclusion uint64 `json:"da_epoch_forced_inclusion"` } diff --git a/types/signed_header_test.go b/types/signed_header_test.go index c89299964f..63c3bf8489 100644 --- a/types/signed_header_test.go +++ b/types/signed_header_test.go @@ -59,7 +59,7 @@ func testVerify(t *testing.T, trusted *SignedHeader, untrustedAdj *SignedHeader, }, }, // 2. Test non-adjacent - // increments the BaseHeader.Height so it's headers are non-adjacent + // increments the BaseHeader.Height so its headers are non-adjacent // Expect success { prepare: func() (*SignedHeader, bool) {