Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion blockstore/badger/blockstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion chain/actors/manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion chain/index/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
//
Expand Down
2 changes: 1 addition & 1 deletion chain/sync_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
Loading