diff --git a/blockstore/badger/blockstore.go b/blockstore/badger/blockstore.go index 0789899a870..00f8ade80fe 100644 --- a/blockstore/badger/blockstore.go +++ b/blockstore/badger/blockstore.go @@ -96,7 +96,7 @@ type bsMoveState int const ( // moveStateNone signifies that there is no move in progress moveStateNone bsMoveState = iota - // moveStateMoving signifies that there is a move in a progress + // moveStateMoving signifies that there is a move in a progress moveStateMoving // moveStateCleanup signifies that a move has completed or aborted and we are cleaning up moveStateCleanup diff --git a/chain/actors/manifest.go b/chain/actors/manifest.go index 7afd197a1a9..70bf9f3409f 100644 --- a/chain/actors/manifest.go +++ b/chain/actors/manifest.go @@ -101,7 +101,7 @@ func GetActorCodeIDsFromManifest(av actorstypes.Version) (map[string]cid.Cid, bo return cids, ok } -// LoadManifest will get the manifest for a given Manifest CID from the store and Load data into its entries +// LoadManifest will get the manifest for a given Manifest CID from the store and Load data into its entries func LoadManifest(ctx context.Context, mfCid cid.Cid, adtStore adt.Store) (*manifest.Manifest, error) { var mf manifest.Manifest diff --git a/chain/index/helpers.go b/chain/index/helpers.go index a4db495c99e..f7050a6b76a 100644 --- a/chain/index/helpers.go +++ b/chain/index/helpers.go @@ -20,7 +20,7 @@ const retryDelay = 150 * time.Millisecond // PopulateFromSnapshot initializes and populates the chain index from a snapshot. // // This function creates a new Index at the specified path and populates -// it by using the chain state from the provided ChainStore. It starts from the heaviest +// it by using the chain state from the provided ChainStore. It starts from the heaviest // tipset and works backwards, indexing each tipset until it reaches the genesis // block or encounters a tipset for which it is unable to find messages in the chain store. // diff --git a/chain/sync_manager_test.go b/chain/sync_manager_test.go index 02b35fe009f..9d449cd6f75 100644 --- a/chain/sync_manager_test.go +++ b/chain/sync_manager_test.go @@ -255,7 +255,7 @@ func TestSyncManagerBucketSet(t *testing.T) { require.Equal(t, 1, len(bucketSet.buckets)) require.Equal(t, 3, len(bucketSet.buckets[0].tips)) - // inserting a tipset from new chain, should create a new bucket + // inserting a tipset from new chain, should create a new bucket ts4fork := mock.TipSet(mock.MkBlock(nil, 1, 1)) bucketSet.Insert(ts4fork) require.Equal(t, 2, len(bucketSet.buckets))