more linter
This commit is contained in:
parent
f04aca767f
commit
e6e50ee9f7
@ -274,7 +274,7 @@ func FullNodeProxy[T api.FullNode](ins []T, outstr *api.FullNodeStruct) {
|
||||
}
|
||||
|
||||
total := len(rins)
|
||||
result, _ := retry.Retry(ctx, 5, initialBackoff, errorsToRetry, func() (results []reflect.Value, err2 error) {
|
||||
result, _ := retry.Retry(ctx, 5, initialBackoff, errorsToRetry, func() ([]reflect.Value, error) {
|
||||
curr = (curr + 1) % total
|
||||
|
||||
result := fns[curr].Call(args)
|
||||
|
@ -144,6 +144,7 @@ func TestGetAllocationForPendingDeal(t *testing.T) {
|
||||
require.NoError(t, err)
|
||||
|
||||
sig, err := api.WalletSign(ctx, verifiedClientAddr, serializedProposal.Bytes())
|
||||
require.NoError(t, err)
|
||||
|
||||
publishDealParams := markettypes.PublishStorageDealsParams{
|
||||
Deals: []markettypes.ClientDealProposal{{
|
||||
@ -194,5 +195,6 @@ func TestGetAllocationForPendingDeal(t *testing.T) {
|
||||
}
|
||||
|
||||
marketDeal, err := api.StateMarketStorageDeal(ctx, dealIds[0], types.EmptyTSK)
|
||||
require.NoError(t, err)
|
||||
require.Equal(t, marketDeal.State.SectorStartEpoch, abi.ChainEpoch(-1))
|
||||
}
|
||||
|
@ -183,6 +183,7 @@ func TestNoRemoveDatacapFromVerifreg(t *testing.T) {
|
||||
require.NoError(t, err)
|
||||
|
||||
sig, err := clientApi.WalletSign(ctx, verifiedClientAddr, serializedProposal.Bytes())
|
||||
require.NoError(t, err)
|
||||
|
||||
publishDealParams := markettypes.PublishStorageDealsParams{
|
||||
Deals: []markettypes.ClientDealProposal{{
|
||||
@ -274,6 +275,7 @@ func TestNoRemoveDatacapFromVerifreg(t *testing.T) {
|
||||
Params: params,
|
||||
Value: big.Zero(),
|
||||
}, types.EmptyTSK)
|
||||
require.Error(t, err)
|
||||
require.False(t, callResult.MsgRct.ExitCode.IsSuccess())
|
||||
|
||||
verifregDatacapAfter, err := clientApi.StateVerifiedClientStatus(ctx, builtin.VerifiedRegistryActorAddr, types.EmptyTSK)
|
||||
|
Loading…
Reference in New Issue
Block a user