diff --git a/blockstore/splitstore/splitstore_prune.go b/blockstore/splitstore/splitstore_prune.go index 08d5b8cca..aebc3c001 100644 --- a/blockstore/splitstore/splitstore_prune.go +++ b/blockstore/splitstore/splitstore_prune.go @@ -47,7 +47,7 @@ var ( PruneThreshold = 7 * build.Finality ) -// GCHotstore runs online GC on the chain state in the hotstore according the to options specified +// GCHotStore runs online GC on the chain state in the hotstore according the to options specified func (s *SplitStore) GCHotStore(opts api.HotGCOpts) error { if opts.Moving { gcOpts := []bstore.BlockstoreGCOption{bstore.WithFullGC(true)} diff --git a/chain/market/fundmanager_test.go b/chain/market/fundmanager_test.go index d79afbc51..fb359aa07 100644 --- a/chain/market/fundmanager_test.go +++ b/chain/market/fundmanager_test.go @@ -294,7 +294,7 @@ func TestFundManagerReserveByWallet(t *testing.T) { checkAddMessageFields(t, msg, walletAddrB, s.acctAddr, types.BigAdd(amtB1, amtB2)) } -// TestFundManagerWithdrawal verifies that as many withdraw operations as +// TestFundManagerWithdrawalLimit verifies that as many withdraw operations as // possible are processed func TestFundManagerWithdrawalLimit(t *testing.T) { //stm: @MARKET_RESERVE_FUNDS_001, @MARKET_RELEASE_FUNDS_001, @MARKET_WITHDRAW_FUNDS_001 diff --git a/itests/fevm_test.go b/itests/fevm_test.go index 2dcb8ef1d..80eb91689 100644 --- a/itests/fevm_test.go +++ b/itests/fevm_test.go @@ -376,7 +376,7 @@ func TestFEVMTestApp(t *testing.T) { } -// TestFEVMTestApp creates a contract that just has a self destruct feature and calls it +// TestFEVMTestConstructor creates a contract that just has a self destruct feature and calls it func TestFEVMTestConstructor(t *testing.T) { ctx, cancel, client := kit.SetupFEVMTest(t) defer cancel() @@ -407,7 +407,7 @@ func TestFEVMAutoSelfDestruct(t *testing.T) { require.NoError(t, err) } -// TestFEVMTestApp creates a contract that just has a self destruct feature and calls it +// TestFEVMTestSendToContract creates a contract that just has a self destruct feature and calls it func TestFEVMTestSendToContract(t *testing.T) { ctx, cancel, client := kit.SetupFEVMTest(t) defer cancel() diff --git a/lib/harmony/harmonydb/harmonydb.go b/lib/harmony/harmonydb/harmonydb.go index a20eebee3..28b071c2e 100644 --- a/lib/harmony/harmonydb/harmonydb.go +++ b/lib/harmony/harmonydb/harmonydb.go @@ -25,7 +25,7 @@ import ( type ITestID string -// ItestNewID see ITestWithID doc +// ITestNewID see ITestWithID doc func ITestNewID() ITestID { return ITestID(strconv.Itoa(rand.Intn(99999))) } diff --git a/storage/pipeline/numassign.go b/storage/pipeline/numassign.go index 60dddec98..aaeb023ed 100644 --- a/storage/pipeline/numassign.go +++ b/storage/pipeline/numassign.go @@ -212,7 +212,7 @@ func (m *Sealing) NumReserve(ctx context.Context, name string, reserving bitfiel return m.numReserveLocked(ctx, name, reserving, force) } -// NumReserve creates a new sector reservation +// numReserveLocked creates a new sector reservation func (m *Sealing) numReserveLocked(ctx context.Context, name string, reserving bitfield.BitField, force bool) error { rk, err := reservationKey(name) if err != nil {