chore: fix function names (#12043)

Co-authored-by: tomfees <170385392+tomfees@users.noreply.github.com>
This commit is contained in:
tomfees
2024-05-27 03:51:55 +00:00
committed by GitHub
co-authored by tomfees
parent 9851d35a38
commit 1879570628
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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)}
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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()
+1 -1
View File
@@ -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)))
}
+1 -1
View File
@@ -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 {