diff --git a/build/openrpc/full.json.gz b/build/openrpc/full.json.gz index 508fde105..218c5e783 100644 Binary files a/build/openrpc/full.json.gz and b/build/openrpc/full.json.gz differ diff --git a/build/openrpc/miner.json.gz b/build/openrpc/miner.json.gz index 6e5bfa44f..779c83abc 100644 Binary files a/build/openrpc/miner.json.gz and b/build/openrpc/miner.json.gz differ diff --git a/build/openrpc/worker.json.gz b/build/openrpc/worker.json.gz index 402742605..8b198d659 100644 Binary files a/build/openrpc/worker.json.gz and b/build/openrpc/worker.json.gz differ diff --git a/documentation/en/api-v0-methods-miner.md b/documentation/en/api-v0-methods-miner.md index ab3eaf8db..d8b023488 100644 --- a/documentation/en/api-v0-methods-miner.md +++ b/documentation/en/api-v0-methods-miner.md @@ -380,7 +380,8 @@ Inputs: ```json [ { - "MaxConcurrency": 123 + "MaxConcurrency": 123, + "IncludeSealed": true } ] ``` diff --git a/markets/dagstore/wrapper_migration_test.go b/markets/dagstore/wrapper_migration_test.go index 044489428..ab5faa3e0 100644 --- a/markets/dagstore/wrapper_migration_test.go +++ b/markets/dagstore/wrapper_migration_test.go @@ -17,7 +17,7 @@ import ( func TestShardRegistration(t *testing.T) { ps := tut.NewTestPieceStore() - providerNode := testnodes.NewTestRetrievalProviderNode() + sa := testnodes.NewTestSectorAccessor() ctx := context.Background() cids := tut.GenerateCids(4) @@ -82,7 +82,7 @@ func TestShardRegistration(t *testing.T) { cfg := config.DefaultStorageMiner().DAGStore cfg.RootDir = t.TempDir() - mapi := NewMinerAPI(ps, providerNode, 10) + mapi := NewMinerAPI(ps, sa, 10) dagst, w, err := NewDAGStore(cfg, mapi) require.NoError(t, err) require.NotNil(t, dagst) diff --git a/node/config/doc_gen.go b/node/config/doc_gen.go index a24c92188..55fc7b2da 100644 --- a/node/config/doc_gen.go +++ b/node/config/doc_gen.go @@ -130,8 +130,8 @@ and storage providers`, Name: "RootDir", Type: "string", - Comment: `Default value: $LOTUS_MARKETS_PATH/dagStore (split deployment) or -$LOTUS_MINER_PATH/dagStore (monolith deployment)`, + Comment: `Default value: $LOTUS_MARKETS_PATH/dagstore (split deployment) or +$LOTUS_MINER_PATH/dagstore (monolith deployment)`, }, { Name: "MaxConcurrentIndex", @@ -146,7 +146,7 @@ Default value: 5.`, Comment: `The maximum amount of unsealed deals that can be fetched simultaneously from the storage subsystem. -Default value: 2.`, +Default value: 0.`, }, { Name: "MaxConcurrencyStorageCalls",