chore: fix function names (#12043)
Co-authored-by: tomfees <170385392+tomfees@users.noreply.github.com>
This commit is contained in:
parent
9851d35a38
commit
1879570628
@ -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)}
|
||||
|
@ -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
|
||||
|
@ -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()
|
||||
|
@ -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)))
|
||||
}
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user