Skip to content

Commit

Permalink
chore: fix function names (#12043)
Browse files Browse the repository at this point in the history
Co-authored-by: tomfees <170385392+tomfees@users.noreply.github.com>
  • Loading branch information
tomfees and tomfees authored May 27, 2024
1 parent 9851d35 commit 1879570
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion blockstore/splitstore/splitstore_prune.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)}
Expand Down
2 changes: 1 addition & 1 deletion chain/market/fundmanager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions itests/fevm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion lib/harmony/harmonydb/harmonydb.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
}
Expand Down
2 changes: 1 addition & 1 deletion storage/pipeline/numassign.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1879570

Please sign in to comment.