fix lint and gen
This commit is contained in:
parent
21e27b8034
commit
60fe55cdc0
@ -246,6 +246,34 @@
|
||||
#Path = ""
|
||||
|
||||
|
||||
[IndexerProvider]
|
||||
# env var: LOTUS_INDEXERPROVIDER_LINKCACHESIZE
|
||||
#LinkCacheSize = 0
|
||||
|
||||
# env var: LOTUS_INDEXERPROVIDER_LINKEDCHUNKSIZE
|
||||
#LinkedChunkSize = 0
|
||||
|
||||
# env var: LOTUS_INDEXERPROVIDER_PUBSUBTOPIC
|
||||
#PubSubTopic = ""
|
||||
|
||||
# env var: LOTUS_INDEXERPROVIDER_PURGELINKCACHE
|
||||
#PurgeLinkCache = false
|
||||
|
||||
# Binding address for the libp2p host - 0 means random port.
|
||||
# Format: multiaddress; see https://multiformats.io/multiaddr/
|
||||
#
|
||||
# type: []string
|
||||
# env var: LOTUS_INDEXERPROVIDER_LISTENADDRESSES
|
||||
#ListenAddresses = ["/ip4/0.0.0.0/tcp/0", "/ip6/::/tcp/0"]
|
||||
|
||||
# The maximum number of simultaneous data transfers between the indexers
|
||||
# and the indexer provider
|
||||
#
|
||||
# type: uint64
|
||||
# env var: LOTUS_INDEXERPROVIDER_MAXSIMULTANEOUSTRANSFERS
|
||||
#MaxSimultaneousTransfers = 20
|
||||
|
||||
|
||||
[Sealing]
|
||||
# Upper bound on how many sectors can be waiting for more deals to be packed in it before it begins sealing at any given time.
|
||||
# If the miner is accepting multiple deals in parallel, up to MaxWaitDealsSectors of new sectors will be created.
|
||||
|
@ -7,13 +7,14 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
selectorparse "github.com/ipld/go-ipld-prime/traversal/selector/parse"
|
||||
|
||||
"github.com/filecoin-project/go-state-types/abi"
|
||||
ipld "github.com/ipfs/go-ipld-format"
|
||||
"github.com/ipld/go-car"
|
||||
"github.com/ipld/go-car/v2/blockstore"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/filecoin-project/go-fil-markets/shared"
|
||||
"github.com/filecoin-project/go-fil-markets/storagemarket"
|
||||
|
||||
"github.com/filecoin-project/lotus/api"
|
||||
@ -82,7 +83,7 @@ func TestDealRetrieveByAnyCid(t *testing.T) {
|
||||
require.NoError(t, err)
|
||||
|
||||
// Get all CIDs from the file
|
||||
sc := car.NewSelectiveCar(ctx, bs, []car.Dag{{Root: res.Root, Selector: shared.AllSelector()}})
|
||||
sc := car.NewSelectiveCar(ctx, bs, []car.Dag{{Root: res.Root, Selector: selectorparse.CommonSelector_ExploreAllRecursively}})
|
||||
prepared, err := sc.Prepare()
|
||||
require.NoError(t, err)
|
||||
cids := prepared.Cids()
|
||||
@ -147,7 +148,7 @@ func TestDealRetrieveByAnyCid(t *testing.T) {
|
||||
rd,
|
||||
[]car.Dag{{
|
||||
Root: targetCid,
|
||||
Selector: shared.AllSelector(),
|
||||
Selector: selectorparse.CommonSelector_ExploreAllRecursively,
|
||||
}},
|
||||
).Write(tmp)
|
||||
require.NoError(t, err)
|
||||
|
Loading…
Reference in New Issue
Block a user