From 9160d3de0a0c5671b6964f61a0dffb0d3685b725 Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Fri, 16 Aug 2024 15:44:01 +1000 Subject: [PATCH] feat!: ni-porep PoC in lotus-miner pipeline --- api/api_storage.go | 5 +- api/api_worker.go | 1 + api/proxy_gen.go | 34 +- build/openrpc/full.json | 450 +++++++++---------- build/openrpc/gateway.json | 200 ++++----- build/openrpc/miner.json | 324 +++++++++---- build/openrpc/worker.json | 201 +++++++-- chain/actors/builtin/miner/actor.go.template | 3 + chain/actors/builtin/miner/miner.go | 3 + cmd/lotus-miner/sectors.go | 2 +- documentation/en/api-v0-methods-miner.md | 35 +- documentation/en/api-v0-methods-worker.md | 31 ++ itests/deadlines_test.go | 6 +- itests/direct_data_onboard_test.go | 2 +- itests/direct_data_onboard_verified_test.go | 2 +- itests/kit/node_miner.go | 8 +- itests/sealing_resources_test.go | 2 +- itests/sector_miner_collateral_test.go | 2 +- itests/sector_numassign_test.go | 6 +- itests/sector_pledge_test.go | 51 ++- itests/sector_terminate_test.go | 2 +- itests/sector_unseal_test.go | 2 +- itests/wdpost_config_test.go | 8 +- itests/wdpost_dispute_test.go | 6 +- itests/wdpost_no_miner_storage_test.go | 2 +- itests/wdpost_test.go | 6 +- itests/worker_test.go | 8 +- node/impl/storminer.go | 4 +- storage/pipeline/checks.go | 72 +-- storage/pipeline/commit_batch.go | 154 +++++-- storage/pipeline/garbage.go | 11 +- storage/pipeline/sealing.go | 2 +- storage/pipeline/states_sealing.go | 71 ++- storage/sealer/ffiwrapper/sealer_cgo.go | 4 + storage/sealer/manager.go | 48 ++ storage/sealer/mock/mock.go | 18 + storage/sealer/sched_test.go | 4 + storage/sealer/storiface/storage.go | 1 + storage/sealer/storiface/worker.go | 2 + storage/sealer/teststorage_test.go | 4 + storage/sealer/worker_local.go | 81 ++-- 41 files changed, 1242 insertions(+), 636 deletions(-) diff --git a/api/api_storage.go b/api/api_storage.go index 46e3ce51e11..db310963b18 100644 --- a/api/api_storage.go +++ b/api/api_storage.go @@ -61,8 +61,8 @@ type StorageMiner interface { ComputeDataCid(ctx context.Context, pieceSize abi.UnpaddedPieceSize, pieceData storiface.Data) (abi.PieceInfo, error) //perm:admin - // Temp api for testing - PledgeSector(context.Context) (abi.SectorID, error) //perm:write + // Temp api for testing, use -1 as seal proof to use the default + PledgeSector(context.Context, abi.RegisteredSealProof) (abi.SectorID, error) //perm:write // Get the status of a given sector by ID SectorsStatus(ctx context.Context, sid abi.SectorNumber, showOnChainInfo bool) (SectorInfo, error) //perm:read @@ -156,6 +156,7 @@ type StorageMiner interface { ReturnSealPreCommit2(ctx context.Context, callID storiface.CallID, sealed storiface.SectorCids, err *storiface.CallError) error //perm:admin retry:true ReturnSealCommit1(ctx context.Context, callID storiface.CallID, out storiface.Commit1Out, err *storiface.CallError) error //perm:admin retry:true ReturnSealCommit2(ctx context.Context, callID storiface.CallID, proof storiface.Proof, err *storiface.CallError) error //perm:admin retry:true + ReturnSealCommit2CircuitProofs(ctx context.Context, callID storiface.CallID, proof storiface.Proof, err *storiface.CallError) error //perm:admin retry:true ReturnFinalizeSector(ctx context.Context, callID storiface.CallID, err *storiface.CallError) error //perm:admin retry:true ReturnReplicaUpdate(ctx context.Context, callID storiface.CallID, out storiface.ReplicaUpdateOut, err *storiface.CallError) error //perm:admin retry:true ReturnProveReplicaUpdate1(ctx context.Context, callID storiface.CallID, vanillaProofs storiface.ReplicaVanillaProofs, err *storiface.CallError) error //perm:admin retry:true diff --git a/api/api_worker.go b/api/api_worker.go index 197ca898d43..48779ebacc8 100644 --- a/api/api_worker.go +++ b/api/api_worker.go @@ -39,6 +39,7 @@ type Worker interface { SealPreCommit2(ctx context.Context, sector storiface.SectorRef, pc1o storiface.PreCommit1Out) (storiface.CallID, error) //perm:admin SealCommit1(ctx context.Context, sector storiface.SectorRef, ticket abi.SealRandomness, seed abi.InteractiveSealRandomness, pieces []abi.PieceInfo, cids storiface.SectorCids) (storiface.CallID, error) //perm:admin SealCommit2(ctx context.Context, sector storiface.SectorRef, c1o storiface.Commit1Out) (storiface.CallID, error) //perm:admin + SealCommit2CircuitProofs(ctx context.Context, sector storiface.SectorRef, c1o storiface.Commit1Out) (storiface.CallID, error) //perm:admin FinalizeSector(ctx context.Context, sector storiface.SectorRef) (storiface.CallID, error) //perm:admin FinalizeReplicaUpdate(ctx context.Context, sector storiface.SectorRef) (storiface.CallID, error) //perm:admin ReplicaUpdate(ctx context.Context, sector storiface.SectorRef, pieces []abi.PieceInfo) (storiface.CallID, error) //perm:admin diff --git a/api/proxy_gen.go b/api/proxy_gen.go index 6e07ec96046..38cc43a0d3b 100644 --- a/api/proxy_gen.go +++ b/api/proxy_gen.go @@ -892,7 +892,7 @@ type StorageMinerMethods struct { MiningBase func(p0 context.Context) (*types.TipSet, error) `perm:"read"` - PledgeSector func(p0 context.Context) (abi.SectorID, error) `perm:"write"` + PledgeSector func(p0 context.Context, p1 abi.RegisteredSealProof) (abi.SectorID, error) `perm:"write"` RecoverFault func(p0 context.Context, p1 []abi.SectorNumber) ([]cid.Cid, error) `perm:"admin"` @@ -926,6 +926,8 @@ type StorageMinerMethods struct { ReturnSealCommit2 func(p0 context.Context, p1 storiface.CallID, p2 storiface.Proof, p3 *storiface.CallError) error `perm:"admin"` + ReturnSealCommit2CircuitProofs func(p0 context.Context, p1 storiface.CallID, p2 storiface.Proof, p3 *storiface.CallError) error `perm:"admin"` + ReturnSealPreCommit1 func(p0 context.Context, p1 storiface.CallID, p2 storiface.PreCommit1Out, p3 *storiface.CallError) error `perm:"admin"` ReturnSealPreCommit2 func(p0 context.Context, p1 storiface.CallID, p2 storiface.SectorCids, p3 *storiface.CallError) error `perm:"admin"` @@ -1119,6 +1121,8 @@ type WorkerMethods struct { SealCommit2 func(p0 context.Context, p1 storiface.SectorRef, p2 storiface.Commit1Out) (storiface.CallID, error) `perm:"admin"` + SealCommit2CircuitProofs func(p0 context.Context, p1 storiface.SectorRef, p2 storiface.Commit1Out) (storiface.CallID, error) `perm:"admin"` + SealPreCommit1 func(p0 context.Context, p1 storiface.SectorRef, p2 abi.SealRandomness, p3 []abi.PieceInfo) (storiface.CallID, error) `perm:"admin"` SealPreCommit2 func(p0 context.Context, p1 storiface.SectorRef, p2 storiface.PreCommit1Out) (storiface.CallID, error) `perm:"admin"` @@ -5379,14 +5383,14 @@ func (s *StorageMinerStub) MiningBase(p0 context.Context) (*types.TipSet, error) return nil, ErrNotSupported } -func (s *StorageMinerStruct) PledgeSector(p0 context.Context) (abi.SectorID, error) { +func (s *StorageMinerStruct) PledgeSector(p0 context.Context, p1 abi.RegisteredSealProof) (abi.SectorID, error) { if s.Internal.PledgeSector == nil { return *new(abi.SectorID), ErrNotSupported } - return s.Internal.PledgeSector(p0) + return s.Internal.PledgeSector(p0, p1) } -func (s *StorageMinerStub) PledgeSector(p0 context.Context) (abi.SectorID, error) { +func (s *StorageMinerStub) PledgeSector(p0 context.Context, p1 abi.RegisteredSealProof) (abi.SectorID, error) { return *new(abi.SectorID), ErrNotSupported } @@ -5566,6 +5570,17 @@ func (s *StorageMinerStub) ReturnSealCommit2(p0 context.Context, p1 storiface.Ca return ErrNotSupported } +func (s *StorageMinerStruct) ReturnSealCommit2CircuitProofs(p0 context.Context, p1 storiface.CallID, p2 storiface.Proof, p3 *storiface.CallError) error { + if s.Internal.ReturnSealCommit2CircuitProofs == nil { + return ErrNotSupported + } + return s.Internal.ReturnSealCommit2CircuitProofs(p0, p1, p2, p3) +} + +func (s *StorageMinerStub) ReturnSealCommit2CircuitProofs(p0 context.Context, p1 storiface.CallID, p2 storiface.Proof, p3 *storiface.CallError) error { + return ErrNotSupported +} + func (s *StorageMinerStruct) ReturnSealPreCommit1(p0 context.Context, p1 storiface.CallID, p2 storiface.PreCommit1Out, p3 *storiface.CallError) error { if s.Internal.ReturnSealPreCommit1 == nil { return ErrNotSupported @@ -6523,6 +6538,17 @@ func (s *WorkerStub) SealCommit2(p0 context.Context, p1 storiface.SectorRef, p2 return *new(storiface.CallID), ErrNotSupported } +func (s *WorkerStruct) SealCommit2CircuitProofs(p0 context.Context, p1 storiface.SectorRef, p2 storiface.Commit1Out) (storiface.CallID, error) { + if s.Internal.SealCommit2CircuitProofs == nil { + return *new(storiface.CallID), ErrNotSupported + } + return s.Internal.SealCommit2CircuitProofs(p0, p1, p2) +} + +func (s *WorkerStub) SealCommit2CircuitProofs(p0 context.Context, p1 storiface.SectorRef, p2 storiface.Commit1Out) (storiface.CallID, error) { + return *new(storiface.CallID), ErrNotSupported +} + func (s *WorkerStruct) SealPreCommit1(p0 context.Context, p1 storiface.SectorRef, p2 abi.SealRandomness, p3 []abi.PieceInfo) (storiface.CallID, error) { if s.Internal.SealPreCommit1 == nil { return *new(storiface.CallID), ErrNotSupported diff --git a/build/openrpc/full.json b/build/openrpc/full.json index 42d764b59af..dff92d43595 100644 --- a/build/openrpc/full.json +++ b/build/openrpc/full.json @@ -37,7 +37,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1323" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1327" } }, { @@ -60,7 +60,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1334" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1338" } }, { @@ -103,7 +103,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1345" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1349" } }, { @@ -214,7 +214,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1367" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1371" } }, { @@ -454,7 +454,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1378" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1382" } }, { @@ -685,7 +685,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1389" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1393" } }, { @@ -784,7 +784,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1400" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1404" } }, { @@ -816,7 +816,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1411" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1415" } }, { @@ -922,7 +922,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1422" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1426" } }, { @@ -1019,7 +1019,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1433" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1437" } }, { @@ -1078,7 +1078,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1444" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1448" } }, { @@ -1171,7 +1171,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1455" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1459" } }, { @@ -1255,7 +1255,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1466" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1470" } }, { @@ -1355,7 +1355,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1477" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1481" } }, { @@ -1411,7 +1411,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1488" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1492" } }, { @@ -1484,7 +1484,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1499" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1503" } }, { @@ -1557,7 +1557,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1510" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1514" } }, { @@ -1604,7 +1604,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1521" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1525" } }, { @@ -1636,7 +1636,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1532" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1536" } }, { @@ -1691,7 +1691,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1543" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1547" } }, { @@ -1743,7 +1743,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1565" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1569" } }, { @@ -1780,7 +1780,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1576" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1580" } }, { @@ -1827,7 +1827,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1587" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1591" } }, { @@ -1874,7 +1874,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1598" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1602" } }, { @@ -1954,7 +1954,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1609" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1613" } }, { @@ -2006,7 +2006,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1620" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1624" } }, { @@ -2045,7 +2045,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1631" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1635" } }, { @@ -2092,7 +2092,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1642" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1646" } }, { @@ -2147,7 +2147,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1653" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1657" } }, { @@ -2176,7 +2176,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1664" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1668" } }, { @@ -2313,7 +2313,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1675" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1679" } }, { @@ -2342,7 +2342,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1686" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1690" } }, { @@ -2396,7 +2396,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1697" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1701" } }, { @@ -2487,7 +2487,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1708" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1712" } }, { @@ -2515,7 +2515,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1719" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1723" } }, { @@ -2605,7 +2605,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1730" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1734" } }, { @@ -2861,7 +2861,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1741" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1745" } }, { @@ -3106,7 +3106,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1752" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1756" } }, { @@ -3162,7 +3162,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1763" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1767" } }, { @@ -3209,7 +3209,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1774" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1778" } }, { @@ -3307,7 +3307,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1785" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1789" } }, { @@ -3373,7 +3373,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1796" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1800" } }, { @@ -3439,7 +3439,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1807" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1811" } }, { @@ -3548,7 +3548,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1818" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1822" } }, { @@ -3606,7 +3606,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1829" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1833" } }, { @@ -3728,7 +3728,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1840" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1844" } }, { @@ -3937,7 +3937,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1851" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1855" } }, { @@ -4137,7 +4137,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1862" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1866" } }, { @@ -4329,7 +4329,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1873" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1877" } }, { @@ -4538,7 +4538,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1884" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1888" } }, { @@ -4629,7 +4629,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1895" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1899" } }, { @@ -4687,7 +4687,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1906" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1910" } }, { @@ -4945,7 +4945,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1917" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1921" } }, { @@ -5220,7 +5220,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1928" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1932" } }, { @@ -5248,7 +5248,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1939" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1943" } }, { @@ -5286,7 +5286,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1950" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1954" } }, { @@ -5394,7 +5394,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1961" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1965" } }, { @@ -5432,7 +5432,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1972" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1976" } }, { @@ -5461,7 +5461,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1983" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1987" } }, { @@ -5524,7 +5524,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1994" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1998" } }, { @@ -5587,7 +5587,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2005" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2009" } }, { @@ -5632,7 +5632,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2016" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2020" } }, { @@ -5754,7 +5754,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2027" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2031" } }, { @@ -5930,7 +5930,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2038" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2042" } }, { @@ -6085,7 +6085,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2049" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2053" } }, { @@ -6207,7 +6207,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2060" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2064" } }, { @@ -6261,7 +6261,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2071" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2075" } }, { @@ -6315,7 +6315,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2082" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2086" } }, { @@ -6504,7 +6504,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2093" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2097" } }, { @@ -6587,7 +6587,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2104" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2108" } }, { @@ -6670,7 +6670,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2115" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2119" } }, { @@ -6841,7 +6841,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2126" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2130" } }, { @@ -6917,7 +6917,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2137" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2141" } }, { @@ -6980,7 +6980,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2148" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2152" } }, { @@ -7123,7 +7123,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2159" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2163" } }, { @@ -7250,7 +7250,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2170" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2174" } }, { @@ -7352,7 +7352,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2181" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2185" } }, { @@ -7575,7 +7575,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2192" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2196" } }, { @@ -7758,7 +7758,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2203" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2207" } }, { @@ -7838,7 +7838,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2214" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2218" } }, { @@ -7883,7 +7883,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2225" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2229" } }, { @@ -7939,7 +7939,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2236" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2240" } }, { @@ -8019,7 +8019,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2247" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2251" } }, { @@ -8099,7 +8099,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2258" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2262" } }, { @@ -8584,7 +8584,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2269" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2273" } }, { @@ -8778,7 +8778,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2280" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2284" } }, { @@ -8933,7 +8933,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2291" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2295" } }, { @@ -9182,7 +9182,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2302" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2306" } }, { @@ -9337,7 +9337,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2313" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2317" } }, { @@ -9514,7 +9514,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2324" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2328" } }, { @@ -9612,7 +9612,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2335" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2339" } }, { @@ -9777,7 +9777,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2346" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2350" } }, { @@ -9816,7 +9816,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2357" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2361" } }, { @@ -9881,7 +9881,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2368" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2372" } }, { @@ -9927,7 +9927,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2379" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2383" } }, { @@ -10077,7 +10077,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2390" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2394" } }, { @@ -10214,7 +10214,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2401" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2405" } }, { @@ -10445,7 +10445,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2412" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2416" } }, { @@ -10582,7 +10582,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2423" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2427" } }, { @@ -10747,7 +10747,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2434" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2438" } }, { @@ -10824,7 +10824,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2445" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2449" } }, { @@ -11019,7 +11019,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2467" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2471" } }, { @@ -11198,7 +11198,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2478" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2482" } }, { @@ -11360,7 +11360,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2489" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2493" } }, { @@ -11508,7 +11508,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2500" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2504" } }, { @@ -11736,7 +11736,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2511" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2515" } }, { @@ -11884,7 +11884,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2522" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2526" } }, { @@ -12096,7 +12096,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2533" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2537" } }, { @@ -12302,7 +12302,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2544" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2548" } }, { @@ -12370,7 +12370,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2555" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2559" } }, { @@ -12487,7 +12487,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2566" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2570" } }, { @@ -12578,7 +12578,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2577" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2581" } }, { @@ -12664,7 +12664,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2588" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2592" } }, { @@ -12859,7 +12859,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2599" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2603" } }, { @@ -13021,7 +13021,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2610" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2614" } }, { @@ -13217,7 +13217,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2621" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2625" } }, { @@ -13397,7 +13397,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2632" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2636" } }, { @@ -13560,7 +13560,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2643" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2647" } }, { @@ -13587,7 +13587,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2654" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2658" } }, { @@ -13614,7 +13614,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2665" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2669" } }, { @@ -13713,7 +13713,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2676" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2680" } }, { @@ -13759,7 +13759,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2687" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2691" } }, { @@ -13859,7 +13859,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2698" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2702" } }, { @@ -13975,7 +13975,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2709" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2713" } }, { @@ -14023,7 +14023,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2720" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2724" } }, { @@ -14115,7 +14115,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2731" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2735" } }, { @@ -14230,7 +14230,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2742" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2746" } }, { @@ -14278,7 +14278,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2753" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2757" } }, { @@ -14315,7 +14315,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2764" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2768" } }, { @@ -14587,7 +14587,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2775" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2779" } }, { @@ -14635,7 +14635,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2786" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2790" } }, { @@ -14693,7 +14693,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2797" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2801" } }, { @@ -14898,7 +14898,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2808" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2812" } }, { @@ -15101,7 +15101,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2819" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2823" } }, { @@ -15270,7 +15270,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2830" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2834" } }, { @@ -15474,7 +15474,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2841" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2845" } }, { @@ -15641,7 +15641,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2852" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2856" } }, { @@ -15848,7 +15848,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2863" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2867" } }, { @@ -15916,7 +15916,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2874" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2878" } }, { @@ -15968,7 +15968,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2885" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2889" } }, { @@ -16017,7 +16017,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2896" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2900" } }, { @@ -16108,7 +16108,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2907" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2911" } }, { @@ -16614,7 +16614,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2918" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2922" } }, { @@ -16720,7 +16720,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2929" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2933" } }, { @@ -16772,7 +16772,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2940" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2944" } }, { @@ -17324,7 +17324,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2951" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2955" } }, { @@ -17438,7 +17438,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2962" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2966" } }, { @@ -17535,7 +17535,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2973" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2977" } }, { @@ -17635,7 +17635,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2984" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2988" } }, { @@ -17723,7 +17723,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2995" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2999" } }, { @@ -17823,7 +17823,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3006" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3010" } }, { @@ -17910,7 +17910,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3017" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3021" } }, { @@ -18001,7 +18001,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3028" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3032" } }, { @@ -18126,7 +18126,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3039" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3043" } }, { @@ -18235,7 +18235,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3050" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3054" } }, { @@ -18305,7 +18305,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3061" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3065" } }, { @@ -18408,7 +18408,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3072" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3076" } }, { @@ -18469,7 +18469,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3083" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3087" } }, { @@ -18599,7 +18599,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3094" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3098" } }, { @@ -18706,7 +18706,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3105" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3109" } }, { @@ -18920,7 +18920,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3116" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3120" } }, { @@ -18997,7 +18997,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3127" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3131" } }, { @@ -19074,7 +19074,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3138" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3142" } }, { @@ -19183,7 +19183,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3149" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3153" } }, { @@ -19292,7 +19292,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3160" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3164" } }, { @@ -19353,7 +19353,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3171" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3175" } }, { @@ -19463,7 +19463,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3182" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3186" } }, { @@ -19524,7 +19524,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3193" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3197" } }, { @@ -19592,7 +19592,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3204" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3208" } }, { @@ -19660,7 +19660,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3215" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3219" } }, { @@ -19741,7 +19741,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3226" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3230" } }, { @@ -19895,7 +19895,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3237" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3241" } }, { @@ -19967,7 +19967,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3248" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3252" } }, { @@ -20131,7 +20131,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3259" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3263" } }, { @@ -20296,7 +20296,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3270" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3274" } }, { @@ -20366,7 +20366,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3281" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3285" } }, { @@ -20434,7 +20434,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3292" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3296" } }, { @@ -20527,7 +20527,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3303" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3307" } }, { @@ -20598,7 +20598,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3314" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3318" } }, { @@ -20799,7 +20799,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3325" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3329" } }, { @@ -20931,7 +20931,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3336" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3340" } }, { @@ -21068,7 +21068,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3347" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3351" } }, { @@ -21179,7 +21179,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3358" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3362" } }, { @@ -21311,7 +21311,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3369" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3373" } }, { @@ -21442,7 +21442,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3380" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3384" } }, { @@ -21513,7 +21513,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3391" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3395" } }, { @@ -21597,7 +21597,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3402" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3406" } }, { @@ -21683,7 +21683,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3413" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3417" } }, { @@ -21866,7 +21866,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3424" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3428" } }, { @@ -21893,7 +21893,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3435" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3439" } }, { @@ -21946,7 +21946,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3446" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3450" } }, { @@ -22034,7 +22034,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3457" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3461" } }, { @@ -22485,7 +22485,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3468" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3472" } }, { @@ -22652,7 +22652,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3479" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3483" } }, { @@ -22750,7 +22750,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3490" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3494" } }, { @@ -22923,7 +22923,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3501" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3505" } }, { @@ -23021,7 +23021,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3512" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3516" } }, { @@ -23172,7 +23172,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3523" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3527" } }, { @@ -23257,7 +23257,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3534" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3538" } }, { @@ -23325,7 +23325,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3545" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3549" } }, { @@ -23377,7 +23377,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3556" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3560" } }, { @@ -23445,7 +23445,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3567" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3571" } }, { @@ -23606,7 +23606,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3578" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3582" } }, { @@ -23653,7 +23653,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3600" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3604" } }, { @@ -23700,7 +23700,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3611" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3615" } }, { @@ -23743,7 +23743,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3633" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3637" } }, { @@ -23839,7 +23839,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3644" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3648" } }, { @@ -24105,7 +24105,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3655" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3659" } }, { @@ -24128,7 +24128,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3666" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3670" } }, { @@ -24171,7 +24171,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3677" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3681" } }, { @@ -24222,7 +24222,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3688" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3692" } }, { @@ -24267,7 +24267,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3699" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3703" } }, { @@ -24295,7 +24295,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3710" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3714" } }, { @@ -24335,7 +24335,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3721" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3725" } }, { @@ -24394,7 +24394,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3732" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3736" } }, { @@ -24438,7 +24438,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3743" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3747" } }, { @@ -24497,7 +24497,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3754" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3758" } }, { @@ -24534,7 +24534,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3765" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3769" } }, { @@ -24578,7 +24578,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3776" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3780" } }, { @@ -24618,7 +24618,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3787" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3791" } }, { @@ -24693,7 +24693,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3798" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3802" } }, { @@ -24901,7 +24901,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3809" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3813" } }, { @@ -24945,7 +24945,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3820" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3824" } }, { @@ -25035,7 +25035,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3831" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3835" } }, { @@ -25062,7 +25062,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3842" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3846" } } ] diff --git a/build/openrpc/gateway.json b/build/openrpc/gateway.json index c48d4a27508..84ec6fd5d00 100644 --- a/build/openrpc/gateway.json +++ b/build/openrpc/gateway.json @@ -242,7 +242,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3853" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3857" } }, { @@ -473,7 +473,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3864" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3868" } }, { @@ -572,7 +572,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3875" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3879" } }, { @@ -604,7 +604,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3886" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3890" } }, { @@ -710,7 +710,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3897" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3901" } }, { @@ -803,7 +803,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3908" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3912" } }, { @@ -887,7 +887,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3919" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3923" } }, { @@ -987,7 +987,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3930" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3934" } }, { @@ -1043,7 +1043,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3941" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3945" } }, { @@ -1116,7 +1116,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3952" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3956" } }, { @@ -1189,7 +1189,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3963" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3967" } }, { @@ -1236,7 +1236,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3974" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3978" } }, { @@ -1268,7 +1268,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3985" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3989" } }, { @@ -1305,7 +1305,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4007" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4011" } }, { @@ -1352,7 +1352,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4018" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4022" } }, { @@ -1392,7 +1392,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4029" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4033" } }, { @@ -1439,7 +1439,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4040" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4044" } }, { @@ -1494,7 +1494,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4051" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4055" } }, { @@ -1523,7 +1523,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4062" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4066" } }, { @@ -1660,7 +1660,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4073" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4077" } }, { @@ -1689,7 +1689,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4084" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4088" } }, { @@ -1743,7 +1743,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4095" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4099" } }, { @@ -1834,7 +1834,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4106" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4110" } }, { @@ -1862,7 +1862,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4117" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4121" } }, { @@ -1952,7 +1952,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4128" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4132" } }, { @@ -2208,7 +2208,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4139" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4143" } }, { @@ -2453,7 +2453,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4150" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4154" } }, { @@ -2509,7 +2509,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4161" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4165" } }, { @@ -2556,7 +2556,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4172" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4176" } }, { @@ -2654,7 +2654,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4183" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4187" } }, { @@ -2720,7 +2720,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4194" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4198" } }, { @@ -2786,7 +2786,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4205" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4209" } }, { @@ -2895,7 +2895,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4216" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4220" } }, { @@ -2953,7 +2953,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4227" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4231" } }, { @@ -3075,7 +3075,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4238" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4242" } }, { @@ -3267,7 +3267,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4249" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4253" } }, { @@ -3476,7 +3476,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4260" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4264" } }, { @@ -3567,7 +3567,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4271" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4275" } }, { @@ -3625,7 +3625,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4282" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4286" } }, { @@ -3883,7 +3883,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4293" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4297" } }, { @@ -4158,7 +4158,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4304" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4308" } }, { @@ -4186,7 +4186,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4315" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4319" } }, { @@ -4224,7 +4224,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4326" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4330" } }, { @@ -4332,7 +4332,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4337" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4341" } }, { @@ -4370,7 +4370,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4348" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4352" } }, { @@ -4399,7 +4399,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4359" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4363" } }, { @@ -4462,7 +4462,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4370" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4374" } }, { @@ -4525,7 +4525,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4381" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4385" } }, { @@ -4570,7 +4570,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4392" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4396" } }, { @@ -4692,7 +4692,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4403" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4407" } }, { @@ -4868,7 +4868,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4414" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4418" } }, { @@ -5023,7 +5023,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4425" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4429" } }, { @@ -5145,7 +5145,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4436" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4440" } }, { @@ -5199,7 +5199,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4447" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4451" } }, { @@ -5253,7 +5253,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4458" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4462" } }, { @@ -5316,7 +5316,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4469" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4473" } }, { @@ -5418,7 +5418,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4480" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4484" } }, { @@ -5641,7 +5641,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4491" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4495" } }, { @@ -5824,7 +5824,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4502" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4506" } }, { @@ -6018,7 +6018,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4513" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4517" } }, { @@ -6064,7 +6064,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4524" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4528" } }, { @@ -6214,7 +6214,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4535" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4539" } }, { @@ -6351,7 +6351,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4546" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4550" } }, { @@ -6419,7 +6419,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4557" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4561" } }, { @@ -6536,7 +6536,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4568" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4572" } }, { @@ -6627,7 +6627,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4579" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4583" } }, { @@ -6713,7 +6713,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4590" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4594" } }, { @@ -6740,7 +6740,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4601" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4605" } }, { @@ -6767,7 +6767,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4612" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4616" } }, { @@ -6835,7 +6835,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4623" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4627" } }, { @@ -7341,7 +7341,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4634" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4638" } }, { @@ -7438,7 +7438,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4645" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4649" } }, { @@ -7538,7 +7538,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4656" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4660" } }, { @@ -7638,7 +7638,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4667" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4671" } }, { @@ -7763,7 +7763,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4678" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4682" } }, { @@ -7872,7 +7872,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4689" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4693" } }, { @@ -7975,7 +7975,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4700" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4704" } }, { @@ -8105,7 +8105,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4711" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4715" } }, { @@ -8212,7 +8212,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4722" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4726" } }, { @@ -8273,7 +8273,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4733" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4737" } }, { @@ -8341,7 +8341,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4744" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4748" } }, { @@ -8422,7 +8422,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4755" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4759" } }, { @@ -8586,7 +8586,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4766" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4770" } }, { @@ -8679,7 +8679,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4777" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4781" } }, { @@ -8880,7 +8880,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4788" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4792" } }, { @@ -8991,7 +8991,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4799" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4803" } }, { @@ -9122,7 +9122,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4810" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4814" } }, { @@ -9208,7 +9208,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4821" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4825" } }, { @@ -9235,7 +9235,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4832" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4836" } }, { @@ -9288,7 +9288,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4843" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4847" } }, { @@ -9376,7 +9376,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4854" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4858" } }, { @@ -9827,7 +9827,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4865" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4869" } }, { @@ -9994,7 +9994,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4876" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4880" } }, { @@ -10167,7 +10167,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4887" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4891" } }, { @@ -10235,7 +10235,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4898" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4902" } }, { @@ -10303,7 +10303,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4909" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4913" } }, { @@ -10464,7 +10464,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4920" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4924" } }, { @@ -10509,7 +10509,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4942" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4946" } }, { @@ -10554,7 +10554,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4953" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4957" } }, { @@ -10581,7 +10581,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4964" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4968" } } ] diff --git a/build/openrpc/miner.json b/build/openrpc/miner.json index a2a5ae75af3..8d8ec1ff892 100644 --- a/build/openrpc/miner.json +++ b/build/openrpc/miner.json @@ -30,7 +30,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5250" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5254" } }, { @@ -109,7 +109,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5261" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5265" } }, { @@ -155,7 +155,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5272" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5276" } }, { @@ -203,7 +203,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5283" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5287" } }, { @@ -251,7 +251,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5294" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5298" } }, { @@ -354,7 +354,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5305" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5309" } }, { @@ -428,7 +428,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5316" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5320" } }, { @@ -591,7 +591,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5327" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5331" } }, { @@ -742,7 +742,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5338" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5342" } }, { @@ -781,7 +781,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5349" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5353" } }, { @@ -913,7 +913,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5360" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5364" } }, { @@ -945,15 +945,33 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5371" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5375" } }, { "name": "Filecoin.PledgeSector", - "description": "```go\nfunc (s *StorageMinerStruct) PledgeSector(p0 context.Context) (abi.SectorID, error) {\n\tif s.Internal.PledgeSector == nil {\n\t\treturn *new(abi.SectorID), ErrNotSupported\n\t}\n\treturn s.Internal.PledgeSector(p0)\n}\n```", - "summary": "Temp api for testing\n", + "description": "```go\nfunc (s *StorageMinerStruct) PledgeSector(p0 context.Context, p1 abi.RegisteredSealProof) (abi.SectorID, error) {\n\tif s.Internal.PledgeSector == nil {\n\t\treturn *new(abi.SectorID), ErrNotSupported\n\t}\n\treturn s.Internal.PledgeSector(p0, p1)\n}\n```", + "summary": "Temp api for testing, use -1 as seal proof to use the default\n", "paramStructure": "by-position", - "params": [], + "params": [ + { + "name": "p1", + "description": "abi.RegisteredSealProof", + "summary": "", + "schema": { + "title": "number", + "description": "Number is a number", + "examples": [ + 8 + ], + "type": [ + "number" + ] + }, + "required": true, + "deprecated": false + } + ], "result": { "name": "abi.SectorID", "description": "abi.SectorID", @@ -986,7 +1004,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5382" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5386" } }, { @@ -1054,7 +1072,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5393" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5397" } }, { @@ -1185,7 +1203,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5404" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5408" } }, { @@ -1316,7 +1334,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5415" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5419" } }, { @@ -1416,7 +1434,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5426" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5430" } }, { @@ -1516,7 +1534,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5437" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5441" } }, { @@ -1616,7 +1634,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5448" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5452" } }, { @@ -1716,7 +1734,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5459" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5463" } }, { @@ -1816,7 +1834,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5470" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5474" } }, { @@ -1916,7 +1934,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5481" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5485" } }, { @@ -2040,7 +2058,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5492" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5496" } }, { @@ -2164,7 +2182,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5503" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5507" } }, { @@ -2279,7 +2297,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5514" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5518" } }, { @@ -2379,7 +2397,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5525" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5529" } }, { @@ -2512,7 +2530,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5536" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5540" } }, { @@ -2636,7 +2654,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5547" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5551" } }, { @@ -2760,7 +2778,131 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5558" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5562" + } + }, + { + "name": "Filecoin.ReturnSealCommit2CircuitProofs", + "description": "```go\nfunc (s *StorageMinerStruct) ReturnSealCommit2CircuitProofs(p0 context.Context, p1 storiface.CallID, p2 storiface.Proof, p3 *storiface.CallError) error {\n\tif s.Internal.ReturnSealCommit2CircuitProofs == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.ReturnSealCommit2CircuitProofs(p0, p1, p2, p3)\n}\n```", + "summary": "", + "paramStructure": "by-position", + "params": [ + { + "name": "p1", + "description": "storiface.CallID", + "summary": "", + "schema": { + "examples": [ + { + "Sector": { + "Miner": 1000, + "Number": 9 + }, + "ID": "07070707-0707-0707-0707-070707070707" + } + ], + "additionalProperties": false, + "properties": { + "ID": { + "items": { + "description": "Number is a number", + "title": "number", + "type": "number" + }, + "maxItems": 16, + "minItems": 16, + "type": "array" + }, + "Sector": { + "additionalProperties": false, + "properties": { + "Miner": { + "title": "number", + "type": "number" + }, + "Number": { + "title": "number", + "type": "number" + } + }, + "type": "object" + } + }, + "type": [ + "object" + ] + }, + "required": true, + "deprecated": false + }, + { + "name": "p2", + "description": "storiface.Proof", + "summary": "", + "schema": { + "examples": [ + "Bw==" + ], + "items": [ + { + "title": "number", + "description": "Number is a number", + "type": [ + "number" + ] + } + ], + "type": [ + "array" + ] + }, + "required": true, + "deprecated": false + }, + { + "name": "p3", + "description": "*storiface.CallError", + "summary": "", + "schema": { + "examples": [ + { + "Code": 0, + "Message": "string value" + } + ], + "additionalProperties": false, + "properties": { + "Code": { + "title": "number", + "type": "number" + }, + "Message": { + "type": "string" + } + }, + "type": [ + "object" + ] + }, + "required": true, + "deprecated": false + } + ], + "result": { + "name": "Null", + "description": "Null", + "schema": { + "type": [ + "null" + ] + }, + "required": true, + "deprecated": false + }, + "deprecated": false, + "externalDocs": { + "description": "Github remote link", + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5573" } }, { @@ -2884,7 +3026,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5569" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5584" } }, { @@ -3017,7 +3159,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5580" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5595" } }, { @@ -3117,7 +3259,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5591" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5606" } }, { @@ -3157,7 +3299,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5602" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5617" } }, { @@ -3229,7 +3371,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5613" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5628" } }, { @@ -3279,7 +3421,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5624" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5639" } }, { @@ -3323,7 +3465,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5635" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5650" } }, { @@ -3364,7 +3506,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5646" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5661" } }, { @@ -3608,7 +3750,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5657" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5672" } }, { @@ -3682,7 +3824,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5668" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5683" } }, { @@ -3732,7 +3874,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5679" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5694" } }, { @@ -3761,7 +3903,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5690" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5705" } }, { @@ -3790,7 +3932,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5701" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5716" } }, { @@ -3846,7 +3988,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5712" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5727" } }, { @@ -3869,7 +4011,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5723" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5738" } }, { @@ -3929,7 +4071,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5734" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5749" } }, { @@ -3968,7 +4110,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5745" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5760" } }, { @@ -4008,7 +4150,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5756" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5771" } }, { @@ -4081,7 +4223,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5767" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5782" } }, { @@ -4145,7 +4287,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5778" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5793" } }, { @@ -4208,7 +4350,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5789" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5804" } }, { @@ -4258,7 +4400,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5800" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5815" } }, { @@ -4817,7 +4959,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5811" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5826" } }, { @@ -4858,7 +5000,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5822" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5837" } }, { @@ -4899,7 +5041,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5833" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5848" } }, { @@ -4940,7 +5082,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5844" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5859" } }, { @@ -4981,7 +5123,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5855" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5870" } }, { @@ -5022,7 +5164,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5866" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5881" } }, { @@ -5053,7 +5195,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5877" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5892" } }, { @@ -5103,7 +5245,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5888" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5903" } }, { @@ -5144,7 +5286,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5899" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5914" } }, { @@ -5183,7 +5325,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5910" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5925" } }, { @@ -5247,7 +5389,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5921" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5936" } }, { @@ -5305,7 +5447,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5932" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5947" } }, { @@ -5752,7 +5894,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5943" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5958" } }, { @@ -5788,7 +5930,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5954" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5969" } }, { @@ -5931,7 +6073,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5965" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5980" } }, { @@ -5987,7 +6129,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5976" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5991" } }, { @@ -6026,7 +6168,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5987" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6002" } }, { @@ -6203,7 +6345,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5998" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6013" } }, { @@ -6255,7 +6397,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6009" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6024" } }, { @@ -6447,7 +6589,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6020" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6035" } }, { @@ -6547,7 +6689,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6031" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6046" } }, { @@ -6601,7 +6743,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6042" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6057" } }, { @@ -6640,7 +6782,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6053" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6068" } }, { @@ -6725,7 +6867,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6064" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6079" } }, { @@ -6919,7 +7061,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6075" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6090" } }, { @@ -7017,7 +7159,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6086" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6101" } }, { @@ -7149,7 +7291,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6097" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6112" } }, { @@ -7203,7 +7345,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6108" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6123" } }, { @@ -7237,7 +7379,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6119" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6134" } }, { @@ -7324,7 +7466,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6130" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6145" } }, { @@ -7378,7 +7520,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6141" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6156" } }, { @@ -7478,7 +7620,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6152" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6167" } }, { @@ -7555,7 +7697,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6163" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6178" } }, { @@ -7646,7 +7788,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6174" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6189" } }, { @@ -7685,7 +7827,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6185" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6200" } }, { @@ -7801,7 +7943,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6196" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6211" } }, { @@ -9901,7 +10043,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6207" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6222" } } ] diff --git a/build/openrpc/worker.json b/build/openrpc/worker.json index ed08b043887..596a8d91324 100644 --- a/build/openrpc/worker.json +++ b/build/openrpc/worker.json @@ -161,7 +161,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6295" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6310" } }, { @@ -252,7 +252,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6306" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6321" } }, { @@ -420,7 +420,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6317" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6332" } }, { @@ -447,7 +447,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6328" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6343" } }, { @@ -597,7 +597,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6339" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6354" } }, { @@ -700,7 +700,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6350" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6365" } }, { @@ -803,7 +803,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6361" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6376" } }, { @@ -925,7 +925,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6372" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6387" } }, { @@ -1135,7 +1135,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6383" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6398" } }, { @@ -1306,7 +1306,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6394" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6409" } }, { @@ -3350,7 +3350,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6405" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6420" } }, { @@ -3470,7 +3470,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6416" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6431" } }, { @@ -3531,7 +3531,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6427" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6442" } }, { @@ -3569,7 +3569,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6438" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6453" } }, { @@ -3729,7 +3729,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6449" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6464" } }, { @@ -3913,7 +3913,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6460" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6475" } }, { @@ -4054,7 +4054,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6471" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6486" } }, { @@ -4107,7 +4107,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6482" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6497" } }, { @@ -4250,7 +4250,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6493" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6508" } }, { @@ -4474,7 +4474,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6504" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6519" } }, { @@ -4601,7 +4601,134 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6515" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6530" + } + }, + { + "name": "Filecoin.SealCommit2CircuitProofs", + "description": "```go\nfunc (s *WorkerStruct) SealCommit2CircuitProofs(p0 context.Context, p1 storiface.SectorRef, p2 storiface.Commit1Out) (storiface.CallID, error) {\n\tif s.Internal.SealCommit2CircuitProofs == nil {\n\t\treturn *new(storiface.CallID), ErrNotSupported\n\t}\n\treturn s.Internal.SealCommit2CircuitProofs(p0, p1, p2)\n}\n```", + "summary": "", + "paramStructure": "by-position", + "params": [ + { + "name": "p1", + "description": "storiface.SectorRef", + "summary": "", + "schema": { + "examples": [ + { + "ID": { + "Miner": 1000, + "Number": 9 + }, + "ProofType": 8 + } + ], + "additionalProperties": false, + "properties": { + "ID": { + "additionalProperties": false, + "properties": { + "Miner": { + "title": "number", + "type": "number" + }, + "Number": { + "title": "number", + "type": "number" + } + }, + "type": "object" + }, + "ProofType": { + "title": "number", + "type": "number" + } + }, + "type": [ + "object" + ] + }, + "required": true, + "deprecated": false + }, + { + "name": "p2", + "description": "storiface.Commit1Out", + "summary": "", + "schema": { + "examples": [ + "Bw==" + ], + "items": [ + { + "title": "number", + "description": "Number is a number", + "type": [ + "number" + ] + } + ], + "type": [ + "array" + ] + }, + "required": true, + "deprecated": false + } + ], + "result": { + "name": "storiface.CallID", + "description": "storiface.CallID", + "summary": "", + "schema": { + "examples": [ + { + "Sector": { + "Miner": 1000, + "Number": 9 + }, + "ID": "07070707-0707-0707-0707-070707070707" + } + ], + "additionalProperties": false, + "properties": { + "ID": { + "items": { + "description": "Number is a number", + "title": "number", + "type": "number" + }, + "maxItems": 16, + "minItems": 16, + "type": "array" + }, + "Sector": { + "additionalProperties": false, + "properties": { + "Miner": { + "title": "number", + "type": "number" + }, + "Number": { + "title": "number", + "type": "number" + } + }, + "type": "object" + } + }, + "type": [ + "object" + ] + }, + "required": true, + "deprecated": false + }, + "deprecated": false, + "externalDocs": { + "description": "Github remote link", + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6541" } }, { @@ -4768,7 +4895,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6526" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6552" } }, { @@ -4895,7 +5022,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6537" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6563" } }, { @@ -4933,7 +5060,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6548" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6574" } }, { @@ -4972,7 +5099,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6559" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6585" } }, { @@ -4995,7 +5122,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6570" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6596" } }, { @@ -5034,7 +5161,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6581" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6607" } }, { @@ -5057,7 +5184,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6592" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6618" } }, { @@ -5096,7 +5223,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6603" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6629" } }, { @@ -5130,7 +5257,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6614" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6640" } }, { @@ -5184,7 +5311,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6625" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6651" } }, { @@ -5223,7 +5350,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6636" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6662" } }, { @@ -5262,7 +5389,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6647" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6673" } }, { @@ -5297,7 +5424,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6658" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6684" } }, { @@ -5477,7 +5604,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6669" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6695" } }, { @@ -5506,7 +5633,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6680" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6706" } }, { @@ -5529,7 +5656,7 @@ "deprecated": false, "externalDocs": { "description": "Github remote link", - "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6691" + "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6717" } } ] diff --git a/chain/actors/builtin/miner/actor.go.template b/chain/actors/builtin/miner/actor.go.template index c29590bba28..1e60696ec09 100644 --- a/chain/actors/builtin/miner/actor.go.template +++ b/chain/actors/builtin/miner/actor.go.template @@ -18,6 +18,7 @@ import ( "github.com/filecoin-project/lotus/chain/actors/adt" "github.com/filecoin-project/lotus/chain/types" minertypes13 "github.com/filecoin-project/go-state-types/builtin/v13/miner" + minertypes14 "github.com/filecoin-project/go-state-types/builtin/v14/miner" minertypes "github.com/filecoin-project/go-state-types/builtin/v9/miner" "github.com/filecoin-project/go-state-types/manifest" @@ -253,10 +254,12 @@ type WithdrawBalanceParams = minertypes.WithdrawBalanceParams type PieceActivationManifest = minertypes13.PieceActivationManifest type ProveCommitSectors3Params = minertypes13.ProveCommitSectors3Params +type ProveCommitSectorsNIParams = minertypes14.ProveCommitSectorsNIParams type SectorActivationManifest = minertypes13.SectorActivationManifest type ProveReplicaUpdates3Params = minertypes13.ProveReplicaUpdates3Params type SectorUpdateManifest = minertypes13.SectorUpdateManifest type SectorOnChainInfoFlags = minertypes13.SectorOnChainInfoFlags +type SectorNIActivationInfo = minertypes14.SectorNIActivationInfo var QAPowerMax = minertypes.QAPowerMax diff --git a/chain/actors/builtin/miner/miner.go b/chain/actors/builtin/miner/miner.go index e3e0f617996..732cf92ee41 100644 --- a/chain/actors/builtin/miner/miner.go +++ b/chain/actors/builtin/miner/miner.go @@ -10,6 +10,7 @@ import ( actorstypes "github.com/filecoin-project/go-state-types/actors" "github.com/filecoin-project/go-state-types/big" minertypes13 "github.com/filecoin-project/go-state-types/builtin/v13/miner" + minertypes14 "github.com/filecoin-project/go-state-types/builtin/v14/miner" minertypes "github.com/filecoin-project/go-state-types/builtin/v9/miner" "github.com/filecoin-project/go-state-types/cbor" "github.com/filecoin-project/go-state-types/dline" @@ -325,10 +326,12 @@ type WithdrawBalanceParams = minertypes.WithdrawBalanceParams type PieceActivationManifest = minertypes13.PieceActivationManifest type ProveCommitSectors3Params = minertypes13.ProveCommitSectors3Params +type ProveCommitSectorsNIParams = minertypes14.ProveCommitSectorsNIParams type SectorActivationManifest = minertypes13.SectorActivationManifest type ProveReplicaUpdates3Params = minertypes13.ProveReplicaUpdates3Params type SectorUpdateManifest = minertypes13.SectorUpdateManifest type SectorOnChainInfoFlags = minertypes13.SectorOnChainInfoFlags +type SectorNIActivationInfo = minertypes14.SectorNIActivationInfo var QAPowerMax = minertypes.QAPowerMax diff --git a/cmd/lotus-miner/sectors.go b/cmd/lotus-miner/sectors.go index 2ee4e9bf4a5..c80a97d2a5f 100644 --- a/cmd/lotus-miner/sectors.go +++ b/cmd/lotus-miner/sectors.go @@ -87,7 +87,7 @@ var sectorsPledgeCmd = &cli.Command{ defer closer() ctx := lcli.ReqContext(cctx) - id, err := minerApi.PledgeSector(ctx) + id, err := minerApi.PledgeSector(ctx, -1) if err != nil { return err } diff --git a/documentation/en/api-v0-methods-miner.md b/documentation/en/api-v0-methods-miner.md index 0bf4d3325c8..f709f64b653 100644 --- a/documentation/en/api-v0-methods-miner.md +++ b/documentation/en/api-v0-methods-miner.md @@ -51,6 +51,7 @@ * [ReturnReplicaUpdate](#ReturnReplicaUpdate) * [ReturnSealCommit1](#ReturnSealCommit1) * [ReturnSealCommit2](#ReturnSealCommit2) + * [ReturnSealCommit2CircuitProofs](#ReturnSealCommit2CircuitProofs) * [ReturnSealPreCommit1](#ReturnSealPreCommit1) * [ReturnSealPreCommit2](#ReturnSealPreCommit2) * [ReturnUnsealPiece](#ReturnUnsealPiece) @@ -605,12 +606,17 @@ Response: ### PledgeSector -Temp api for testing +Temp api for testing, use -1 as seal proof to use the default Perms: write -Inputs: `null` +Inputs: +```json +[ + 8 +] +``` Response: ```json @@ -1019,6 +1025,31 @@ Response: `{}` ### ReturnSealCommit2 +Perms: admin + +Inputs: +```json +[ + { + "Sector": { + "Miner": 1000, + "Number": 9 + }, + "ID": "07070707-0707-0707-0707-070707070707" + }, + "Bw==", + { + "Code": 0, + "Message": "string value" + } +] +``` + +Response: `{}` + +### ReturnSealCommit2CircuitProofs + + Perms: admin Inputs: diff --git a/documentation/en/api-v0-methods-worker.md b/documentation/en/api-v0-methods-worker.md index 1c2100c9c9e..73edbae0e9a 100644 --- a/documentation/en/api-v0-methods-worker.md +++ b/documentation/en/api-v0-methods-worker.md @@ -35,6 +35,7 @@ * [Seal](#Seal) * [SealCommit1](#SealCommit1) * [SealCommit2](#SealCommit2) + * [SealCommit2CircuitProofs](#SealCommit2CircuitProofs) * [SealPreCommit1](#SealPreCommit1) * [SealPreCommit2](#SealPreCommit2) * [Set](#Set) @@ -2651,6 +2652,36 @@ Response: ### SealCommit2 +Perms: admin + +Inputs: +```json +[ + { + "ID": { + "Miner": 1000, + "Number": 9 + }, + "ProofType": 8 + }, + "Bw==" +] +``` + +Response: +```json +{ + "Sector": { + "Miner": 1000, + "Number": 9 + }, + "ID": "07070707-0707-0707-0707-070707070707" +} +``` + +### SealCommit2CircuitProofs + + Perms: admin Inputs: diff --git a/itests/deadlines_test.go b/itests/deadlines_test.go index 70da4be5a51..98b3c66b524 100644 --- a/itests/deadlines_test.go +++ b/itests/deadlines_test.go @@ -96,7 +96,7 @@ func TestDeadlineToggling(t *testing.T) { // pledge sectors on C, go through a PP, check for power { - minerC.PledgeSectors(ctx, sectorsC, 0, nil) + minerC.PledgeSectors(ctx, -1, sectorsC, 0, nil) //stm: @CHAIN_STATE_MINER_CALCULATE_DEADLINE_001 di, err := client.StateMinerProvingDeadline(ctx, maddrC, types.EmptyTSK) @@ -167,10 +167,10 @@ func TestDeadlineToggling(t *testing.T) { checkMiner(maddrE, types.NewInt(0), false, types.EmptyTSK) // pledge sectors on minerB/minerD, stop post on minerC - minerB.PledgeSectors(ctx, sectorsB, 0, nil) + minerB.PledgeSectors(ctx, -1, sectorsB, 0, nil) checkMiner(maddrB, types.NewInt(0), true, types.EmptyTSK) - minerD.PledgeSectors(ctx, sectorsD, 0, nil) + minerD.PledgeSectors(ctx, -1, sectorsD, 0, nil) checkMiner(maddrD, types.NewInt(0), true, types.EmptyTSK) minerC.StorageMiner.(*impl.StorageMinerAPI).IStorageMgr.(*mock.SectorMgr).Fail() diff --git a/itests/direct_data_onboard_test.go b/itests/direct_data_onboard_test.go index 071b441cc0e..fa0bfa75975 100644 --- a/itests/direct_data_onboard_test.go +++ b/itests/direct_data_onboard_test.go @@ -338,7 +338,7 @@ func TestOnboardRawPieceSnap(t *testing.T) { })) ens.InterconnectAll().BeginMiningMustPost(blocktime) - miner.PledgeSectors(ctx, 1, 0, nil) + miner.PledgeSectors(ctx, -1, 1, 0, nil) sl, err := miner.SectorsListNonGenesis(ctx) require.NoError(t, err) require.Len(t, sl, 1, "expected 1 sector") diff --git a/itests/direct_data_onboard_verified_test.go b/itests/direct_data_onboard_verified_test.go index 8d3d9fef78c..facae7c6863 100644 --- a/itests/direct_data_onboard_verified_test.go +++ b/itests/direct_data_onboard_verified_test.go @@ -97,7 +97,7 @@ func TestOnboardRawPieceVerified_WithActorEvents(t *testing.T) { minerId, err := address.IDFromAddress(miner.ActorAddr) require.NoError(t, err) - miner.PledgeSectors(ctx, 1, 0, nil) + miner.PledgeSectors(ctx, -1, 1, 0, nil) sl, err := miner.SectorsListNonGenesis(ctx) require.NoError(t, err) require.Len(t, sl, 1, "expected 1 sector") diff --git a/itests/kit/node_miner.go b/itests/kit/node_miner.go index dda9d22427c..6e60da9d443 100644 --- a/itests/kit/node_miner.go +++ b/itests/kit/node_miner.go @@ -90,8 +90,8 @@ type TestMiner struct { options nodeOpts } -func (tm *TestMiner) PledgeSectors(ctx context.Context, n, existing int, blockNotif <-chan struct{}) { - toCheck := tm.StartPledge(ctx, n, existing, blockNotif) +func (tm *TestMiner) PledgeSectors(ctx context.Context, spt abi.RegisteredSealProof, n, existing int, blockNotif <-chan struct{}) { + toCheck := tm.StartPledge(ctx, spt, n, existing, blockNotif) tm.WaitSectorsProving(ctx, toCheck) } @@ -123,14 +123,14 @@ func (tm *TestMiner) WaitSectorsProvingAllowFails(ctx context.Context, toCheck m } } -func (tm *TestMiner) StartPledge(ctx context.Context, n, existing int, blockNotif <-chan struct{}) map[abi.SectorNumber]struct{} { +func (tm *TestMiner) StartPledge(ctx context.Context, spt abi.RegisteredSealProof, n, existing int, blockNotif <-chan struct{}) map[abi.SectorNumber]struct{} { for i := 0; i < n; i++ { if i%3 == 0 && blockNotif != nil { <-blockNotif tm.t.Log("WAIT") } tm.t.Logf("PLEDGING %d", i) - _, err := tm.StorageMiner.PledgeSector(ctx) + _, err := tm.StorageMiner.PledgeSector(ctx, spt) require.NoError(tm.t, err) } diff --git a/itests/sealing_resources_test.go b/itests/sealing_resources_test.go index 85779fd88e7..ffdd7269c34 100644 --- a/itests/sealing_resources_test.go +++ b/itests/sealing_resources_test.go @@ -60,5 +60,5 @@ func TestPledgeMaxConcurrentGet(t *testing.T) { */ - miner.PledgeSectors(ctx, 3, 0, nil) + miner.PledgeSectors(ctx, -1, 3, 0, nil) } diff --git a/itests/sector_miner_collateral_test.go b/itests/sector_miner_collateral_test.go index 579b4e535a1..c5328860313 100644 --- a/itests/sector_miner_collateral_test.go +++ b/itests/sector_miner_collateral_test.go @@ -75,7 +75,7 @@ func TestMinerBalanceCollateral(t *testing.T) { ens.InterconnectAll().BeginMining(blockTime) full.WaitTillChain(ctx, kit.HeightAtLeast(10)) - toCheck := miner.StartPledge(ctx, nSectors, 0, nil) + toCheck := miner.StartPledge(ctx, -1, nSectors, 0, nil) for len(toCheck) > 0 { states := map[api.SectorState]int{} diff --git a/itests/sector_numassign_test.go b/itests/sector_numassign_test.go index af667aa9213..d17afba4a18 100644 --- a/itests/sector_numassign_test.go +++ b/itests/sector_numassign_test.go @@ -34,7 +34,7 @@ func TestAssignBasic(t *testing.T) { require.Equal(t, abi.SectorNumber(miner.PresealSectors+1), nam.Next) } - miner.PledgeSectors(ctx, nSectors, 0, nil) + miner.PledgeSectors(ctx, -1, nSectors, 0, nil) sl, err := miner.SectorsListNonGenesis(ctx) require.NoError(t, err) @@ -98,7 +98,7 @@ func TestAssignReservation(t *testing.T) { require.Equal(t, abi.SectorNumber(11), nam.Next) } - miner.PledgeSectors(ctx, nSectors, 0, nil) + miner.PledgeSectors(ctx, -1, nSectors, 0, nil) sl, err := miner.SectorsListNonGenesis(ctx) require.NoError(t, err) @@ -119,7 +119,7 @@ func TestAssignReservation(t *testing.T) { require.Equal(t, abi.SectorNumber(3), nam.Next) } - miner.PledgeSectors(ctx, 1, nSectors, nil) + miner.PledgeSectors(ctx, -1, 1, nSectors, nil) sl, err = miner.SectorsListNonGenesis(ctx) require.NoError(t, err) diff --git a/itests/sector_pledge_test.go b/itests/sector_pledge_test.go index eb93cfe9a1c..47a042f7747 100644 --- a/itests/sector_pledge_test.go +++ b/itests/sector_pledge_test.go @@ -13,10 +13,12 @@ import ( "github.com/filecoin-project/go-state-types/abi" "github.com/filecoin-project/go-state-types/big" + "github.com/filecoin-project/go-state-types/network" miner5 "github.com/filecoin-project/specs-actors/v5/actors/builtin/miner" "github.com/filecoin-project/lotus/api" "github.com/filecoin-project/lotus/build" + "github.com/filecoin-project/lotus/chain/actors/builtin/miner" "github.com/filecoin-project/lotus/chain/types" "github.com/filecoin-project/lotus/itests/kit" "github.com/filecoin-project/lotus/node/config" @@ -42,7 +44,46 @@ func TestPledgeSectors(t *testing.T) { _, miner, ens := kit.EnsembleMinimal(t, kit.MockProofs()) ens.InterconnectAll().BeginMiningMustPost(blockTime) - miner.PledgeSectors(ctx, nSectors, 0, nil) + miner.PledgeSectors(ctx, -1, nSectors, 0, nil) + } + + t.Run("1", func(t *testing.T) { + runTest(t, 1) + }) + + t.Run("100", func(t *testing.T) { + runTest(t, 100) + }) + + t.Run("1000", func(t *testing.T) { + if testing.Short() { // takes ~16s + t.Skip("skipping test in short mode") + } + + runTest(t, 1000) + }) +} + +func TestPledgeNiPoRepSectors(t *testing.T) { + kit.QuietMiningLogs() + + sectorSize := abi.SectorSize(2 << 10) // 2KiB + sealProofType, err := miner.SealProofTypeFromSectorSize(sectorSize, network.Version23, miner.SealProofVariant_NonInteractive) + require.NoError(t, err) + + blockTime := 50 * time.Millisecond + + runTest := func(t *testing.T, nSectors int) { + ctx, cancel := context.WithCancel(context.Background()) + defer cancel() + + _, miner, ens := kit.EnsembleMinimal(t, kit.MockProofs()) + ens.InterconnectAll().BeginMiningMustPost(blockTime) + + // TODO: this is likely necessary when running real-proofs + // miner.FullNode.WaitTillChain(ctx, kit.HeightAtLeast(policy.SealRandomnessLookback)) + + miner.PledgeSectors(ctx, sealProofType, nSectors, 0, nil) } t.Run("1", func(t *testing.T) { @@ -81,7 +122,7 @@ func TestPledgeBatching(t *testing.T) { client.WaitTillChain(ctx, kit.HeightAtLeast(10)) - toCheck := miner.StartPledge(ctx, nSectors, 0, nil) + toCheck := miner.StartPledge(ctx, -1, nSectors, 0, nil) for len(toCheck) > 0 { states := map[api.SectorState]int{} @@ -151,7 +192,7 @@ func TestPledgeMaxBatching(t *testing.T) { cfg.MinCommitBatch = miner5.MaxAggregatedSectors require.NoError(t, m.SetSealingConfigFunc(cfg)) - toCheck := miner.StartPledge(ctx, nSectors, 0, nil) + toCheck := miner.StartPledge(ctx, -1, nSectors, 0, nil) var lastSectorNo abi.SectorNumber for len(toCheck) > 0 { @@ -222,7 +263,7 @@ func TestPledgeSynth(t *testing.T) { ens.InterconnectAll().BeginMiningMustPost(blockTime) - miner.PledgeSectors(ctx, nSectors, 0, nil) + miner.PledgeSectors(ctx, -1, nSectors, 0, nil) } t.Run("1", func(t *testing.T) { @@ -247,7 +288,7 @@ func TestSectorsSummary(t *testing.T) { _, miner, ens := kit.EnsembleMinimal(t, kit.MockProofs(), kit.PresealSectors(nPreseal)) ens.InterconnectAll().BeginMining(blockTime) - miner.PledgeSectors(ctx, 1, 0, nil) + miner.PledgeSectors(ctx, -1, 1, 0, nil) ms, err := miner.SectorsSummary(ctx) require.NoError(t, err) diff --git a/itests/sector_terminate_test.go b/itests/sector_terminate_test.go index f3524c1984f..755b0e721c2 100644 --- a/itests/sector_terminate_test.go +++ b/itests/sector_terminate_test.go @@ -56,7 +56,7 @@ func TestTerminate(t *testing.T) { t.Log("Seal a sector") - miner.PledgeSectors(ctx, 1, 0, nil) + miner.PledgeSectors(ctx, -1, 1, 0, nil) t.Log("wait for power") diff --git a/itests/sector_unseal_test.go b/itests/sector_unseal_test.go index 5d05cb0e33c..3410f3cef0e 100644 --- a/itests/sector_unseal_test.go +++ b/itests/sector_unseal_test.go @@ -115,7 +115,7 @@ func TestUnsealPiece(t *testing.T) { checkSectors(storiface.FTNone, storiface.FTNone) // get a sector for upgrading - miner.PledgeSectors(ctx, 1, 0, nil) + miner.PledgeSectors(ctx, -1, 1, 0, nil) sl, err := miner.SectorsListNonGenesis(ctx) require.NoError(t, err) require.Len(t, sl, 1, "expected 1 sector") diff --git a/itests/wdpost_config_test.go b/itests/wdpost_config_test.go index 984650ae6a6..487eb667065 100644 --- a/itests/wdpost_config_test.go +++ b/itests/wdpost_config_test.go @@ -39,7 +39,7 @@ func TestWindowPostNoPreChecks(t *testing.T) { nSectors := 10 - miner.PledgeSectors(ctx, nSectors, 0, nil) + miner.PledgeSectors(ctx, -1, nSectors, 0, nil) maddr, err := miner.ActorAddress(ctx) require.NoError(t, err) @@ -164,7 +164,7 @@ func TestWindowPostNoPreChecks(t *testing.T) { // pledge a sector after recovery - miner.PledgeSectors(ctx, 1, nSectors, nil) + miner.PledgeSectors(ctx, -1, 1, nSectors, nil) { // Wait until proven. @@ -204,7 +204,7 @@ func TestWindowPostMaxSectorsRecoveryConfig(t *testing.T) { nSectors := 10 - miner.PledgeSectors(ctx, nSectors, 0, nil) + miner.PledgeSectors(ctx, -1, nSectors, 0, nil) maddr, err := miner.ActorAddress(ctx) require.NoError(t, err) @@ -318,7 +318,7 @@ func TestWindowPostManualSectorsRecovery(t *testing.T) { nSectors := 10 - miner.PledgeSectors(ctx, nSectors, 0, nil) + miner.PledgeSectors(ctx, -1, nSectors, 0, nil) maddr, err := miner.ActorAddress(ctx) require.NoError(t, err) diff --git a/itests/wdpost_dispute_test.go b/itests/wdpost_dispute_test.go index 49f0d2053ce..7705f37dda0 100644 --- a/itests/wdpost_dispute_test.go +++ b/itests/wdpost_dispute_test.go @@ -64,9 +64,9 @@ func TestWindowPostDispute(t *testing.T) { ens.InterconnectAll().BeginMining(blocktime, &chainMiner) // Give the chain miner enough sectors to win every block. - chainMiner.PledgeSectors(ctx, 10, 0, nil) + chainMiner.PledgeSectors(ctx, -1, 10, 0, nil) // And the evil one 1 sector. No cookie for you. - evilMiner.PledgeSectors(ctx, 1, 0, nil) + evilMiner.PledgeSectors(ctx, -1, 1, 0, nil) // Let the evil miner's sectors gain power. evilMinerAddr, err := evilMiner.ActorAddress(ctx) @@ -260,7 +260,7 @@ func TestWindowPostDisputeFails(t *testing.T) { build.Clock.Sleep(time.Second) - miner.PledgeSectors(ctx, 10, 0, nil) + miner.PledgeSectors(ctx, -1, 10, 0, nil) //stm: @CHAIN_STATE_MINER_CALCULATE_DEADLINE_001 di, err := client.StateMinerProvingDeadline(ctx, maddr, types.EmptyTSK) diff --git a/itests/wdpost_no_miner_storage_test.go b/itests/wdpost_no_miner_storage_test.go index 8c0e112f574..3c75396dd0d 100644 --- a/itests/wdpost_no_miner_storage_test.go +++ b/itests/wdpost_no_miner_storage_test.go @@ -39,7 +39,7 @@ func TestWindowPostNoMinerStorage(t *testing.T) { ens.InterconnectAll().BeginMiningMustPost(10 * time.Millisecond) - miner.PledgeSectors(ctx, sealSectors, 0, nil) + miner.PledgeSectors(ctx, -1, sealSectors, 0, nil) maddr, err := miner.ActorAddress(ctx) require.NoError(t, err) diff --git a/itests/wdpost_test.go b/itests/wdpost_test.go index 2a6fc866ea8..09d2332c314 100644 --- a/itests/wdpost_test.go +++ b/itests/wdpost_test.go @@ -65,7 +65,7 @@ func testWindowPostUpgrade(t *testing.T, blocktime time.Duration, nSectors int, kit.LatestActorsAt(upgradeHeight)) ens.InterconnectAll().BeginMining(blocktime) - miner.PledgeSectors(ctx, nSectors, 0, nil) + miner.PledgeSectors(ctx, -1, nSectors, 0, nil) maddr, err := miner.ActorAddress(ctx) require.NoError(t, err) @@ -199,7 +199,7 @@ func testWindowPostUpgrade(t *testing.T, blocktime time.Duration, nSectors int, // pledge a sector after recovery - miner.PledgeSectors(ctx, 1, nSectors, nil) + miner.PledgeSectors(ctx, -1, 1, nSectors, nil) { // Wait until proven. @@ -250,7 +250,7 @@ func TestWindowPostBaseFeeBurn(t *testing.T) { mi, err := client.StateMinerInfo(ctx, maddr, types.EmptyTSK) require.NoError(t, err) - miner.PledgeSectors(ctx, 10, 0, nil) + miner.PledgeSectors(ctx, -1, 10, 0, nil) //stm: @CHAIN_STATE_GET_ACTOR_001 wact, err := client.StateGetActor(ctx, mi.Worker, types.EmptyTSK) require.NoError(t, err) diff --git a/itests/worker_test.go b/itests/worker_test.go index b3b8edd7632..00c16f66a62 100644 --- a/itests/worker_test.go +++ b/itests/worker_test.go @@ -44,7 +44,7 @@ func TestWorkerPledge(t *testing.T) { require.NoError(t, err) require.True(t, e) - miner.PledgeSectors(ctx, 1, 0, nil) + miner.PledgeSectors(ctx, -1, 1, 0, nil) } func TestWorkerPledgeSpread(t *testing.T) { @@ -60,7 +60,7 @@ func TestWorkerPledgeSpread(t *testing.T) { require.NoError(t, err) require.True(t, e) - miner.PledgeSectors(ctx, 1, 0, nil) + miner.PledgeSectors(ctx, -1, 1, 0, nil) } func TestWorkerPledgeLocalFin(t *testing.T) { @@ -76,7 +76,7 @@ func TestWorkerPledgeLocalFin(t *testing.T) { require.NoError(t, err) require.True(t, e) - miner.PledgeSectors(ctx, 1, 0, nil) + miner.PledgeSectors(ctx, -1, 1, 0, nil) } func TestWorkerDataCid(t *testing.T) { @@ -455,7 +455,7 @@ func TestSchedulerRemoveRequest(t *testing.T) { require.NoError(t, err) require.True(t, e) - tocheck := miner.StartPledge(ctx, 1, 0, nil) + tocheck := miner.StartPledge(ctx, -1, 1, 0, nil) var sn abi.SectorNumber for n := range tocheck { sn = n diff --git a/node/impl/storminer.go b/node/impl/storminer.go index 10a0d01b625..886c4dc3c14 100644 --- a/node/impl/storminer.go +++ b/node/impl/storminer.go @@ -137,8 +137,8 @@ func (sm *StorageMinerAPI) ActorSectorSize(ctx context.Context, addr address.Add return mi.SectorSize, nil } -func (sm *StorageMinerAPI) PledgeSector(ctx context.Context) (abi.SectorID, error) { - sr, err := sm.Miner.PledgeSector(ctx) +func (sm *StorageMinerAPI) PledgeSector(ctx context.Context, spt abi.RegisteredSealProof) (abi.SectorID, error) { + sr, err := sm.Miner.PledgeSector(ctx, spt) if err != nil { return abi.SectorID{}, err } diff --git a/storage/pipeline/checks.go b/storage/pipeline/checks.go index b34488e8ce6..50f91fa80fe 100644 --- a/storage/pipeline/checks.go +++ b/storage/pipeline/checks.go @@ -196,56 +196,58 @@ func (m *Sealing) checkCommit(ctx context.Context, si SectorInfo, proof []byte, return &ErrBadSeed{xerrors.Errorf("seed epoch was not set")} } - pci, err := m.Api.StateSectorPreCommitInfo(ctx, m.maddr, si.SectorNumber, tsk) - if err != nil { - return xerrors.Errorf("getting precommit info: %w", err) - } - - if pci == nil { - alloc, err := m.Api.StateMinerSectorAllocated(ctx, m.maddr, si.SectorNumber, tsk) + if !si.SectorType.IsNonInteractive() { + pci, err := m.Api.StateSectorPreCommitInfo(ctx, m.maddr, si.SectorNumber, tsk) if err != nil { - return xerrors.Errorf("checking if sector is allocated: %w", err) + return xerrors.Errorf("getting precommit info: %w", err) } - if alloc { - // not much more we can check here, basically try to wait for commit, - // and hope that this will work - if si.CommitMessage != nil { - return &ErrCommitWaitFailed{err} + if pci == nil { + alloc, err := m.Api.StateMinerSectorAllocated(ctx, m.maddr, si.SectorNumber, tsk) + if err != nil { + return xerrors.Errorf("checking if sector is allocated: %w", err) } + if alloc { + // not much more we can check here, basically try to wait for commit, + // and hope that this will work - return xerrors.Errorf("sector %d is allocated, but PreCommit info wasn't found on chain", si.SectorNumber) - } + if si.CommitMessage != nil { + return &ErrCommitWaitFailed{err} + } - return &ErrNoPrecommit{xerrors.Errorf("precommit info not found on-chain")} - } + return xerrors.Errorf("sector %d is allocated, but PreCommit info wasn't found on chain", si.SectorNumber) + } - if pci.PreCommitEpoch+policy.GetPreCommitChallengeDelay() != si.SeedEpoch { - return &ErrBadSeed{xerrors.Errorf("seed epoch doesn't match on chain info: %d != %d", pci.PreCommitEpoch+policy.GetPreCommitChallengeDelay(), si.SeedEpoch)} - } + return &ErrNoPrecommit{xerrors.Errorf("precommit info not found on-chain")} + } - buf := new(bytes.Buffer) - if err := m.maddr.MarshalCBOR(buf); err != nil { - return err - } + if pci.PreCommitEpoch+policy.GetPreCommitChallengeDelay() != si.SeedEpoch { + return &ErrBadSeed{xerrors.Errorf("seed epoch doesn't match on chain info: %d != %d", pci.PreCommitEpoch+policy.GetPreCommitChallengeDelay(), si.SeedEpoch)} + } - seed, err := m.Api.StateGetRandomnessFromBeacon(ctx, crypto.DomainSeparationTag_InteractiveSealChallengeSeed, si.SeedEpoch, buf.Bytes(), tsk) - if err != nil { - return &ErrApi{xerrors.Errorf("failed to get randomness for computing seal proof: %w", err)} - } + if *si.CommR != pci.Info.SealedCID { + log.Warn("on-chain sealed CID doesn't match!") + } - if string(seed) != string(si.SeedValue) { - return &ErrBadSeed{xerrors.Errorf("seed has changed")} - } + buf := new(bytes.Buffer) + if err := m.maddr.MarshalCBOR(buf); err != nil { + return err + } - if *si.CommR != pci.Info.SealedCID { - log.Warn("on-chain sealed CID doesn't match!") + seed, err := m.Api.StateGetRandomnessFromBeacon(ctx, crypto.DomainSeparationTag_InteractiveSealChallengeSeed, si.SeedEpoch, buf.Bytes(), tsk) + if err != nil { + return &ErrApi{xerrors.Errorf("failed to get randomness for computing seal proof: %w", err)} + } + + if string(seed) != string(si.SeedValue) { + return &ErrBadSeed{xerrors.Errorf("seed has changed")} + } } ok, err := m.verif.VerifySeal(prooftypes.SealVerifyInfo{ SectorID: m.minerSectorID(si.SectorNumber), - SealedCID: pci.Info.SealedCID, - SealProof: pci.Info.SealProof, + SealedCID: *si.CommR, + SealProof: si.SectorType, Proof: proof, Randomness: si.TicketValue, InteractiveRandomness: si.SeedValue, diff --git a/storage/pipeline/commit_batch.go b/storage/pipeline/commit_batch.go index d14b7c00b6d..5e9dc14ba04 100644 --- a/storage/pipeline/commit_batch.go +++ b/storage/pipeline/commit_batch.go @@ -59,13 +59,13 @@ type PledgeApi interface { } type AggregateInput struct { - Spt abi.RegisteredSealProof - Info proof.AggregateSealVerifyInfo - Proof []byte - Weight abi.StoragePower + Spt abi.RegisteredSealProof + Info proof.AggregateSealVerifyInfo + SealRandEpoch abi.ChainEpoch + Proof []byte + Weight abi.StoragePower ActivationManifest miner.SectorActivationManifest - DealIDPrecommit bool } type CommitBatcher struct { @@ -77,6 +77,7 @@ type CommitBatcher struct { feeCfg config.MinerFeeConfig getConfig dtypes.GetSealingConfigFunc prover storiface.Prover + pcp PreCommitPolicy cutoffs map[abi.SectorNumber]time.Time todo map[abi.SectorNumber]AggregateInput @@ -87,7 +88,7 @@ type CommitBatcher struct { lk sync.Mutex } -func NewCommitBatcher(mctx context.Context, maddr address.Address, api CommitBatcherApi, addrSel AddressSelector, feeCfg config.MinerFeeConfig, getConfig dtypes.GetSealingConfigFunc, prov storiface.Prover, pa PledgeApi) (*CommitBatcher, error) { +func NewCommitBatcher(mctx context.Context, maddr address.Address, api CommitBatcherApi, addrSel AddressSelector, feeCfg config.MinerFeeConfig, getConfig dtypes.GetSealingConfigFunc, prov storiface.Prover, pa PledgeApi, pcp PreCommitPolicy) (*CommitBatcher, error) { b := &CommitBatcher{ api: api, maddr: maddr, @@ -97,6 +98,7 @@ func NewCommitBatcher(mctx context.Context, maddr address.Address, api CommitBat getConfig: getConfig, prover: prov, pledgeApi: pa, + pcp: pcp, cutoffs: map[abi.SectorNumber]time.Time{}, todo: map[abi.SectorNumber]AggregateInput{}, @@ -248,14 +250,18 @@ func (b *CommitBatcher) maybeStartBatch(notif bool) ([]sealiface.CommitBatchRes, } } - // After nv21, we have a new ProveCommitSectors2 method, which supports + // After nv21, we have a new ProveCommitSectors3 method, which supports // batching without aggregation, but it doesn't support onboarding // sectors which were precommitted with DealIDs in the precommit message. // We prefer it for all other sectors, so first we use the new processBatchV2 var sectors []abi.SectorNumber - for sn := range b.todo { - sectors = append(sectors, sn) + for sn, sector := range b.todo { + // group sectors by proof type, don't submit different proofs at the same time + // TODO: could this be more intelligent? if you have niporep mixed with standard, should there be a separate funnel for them? + if len(sectors) == 0 || sector.Spt == b.todo[sectors[0]].Spt { + sectors = append(sectors, sn) + } } res, err = b.processBatchV2(cfg, sectors, nv, !individual) if err != nil { @@ -307,25 +313,48 @@ func (b *CommitBatcher) processBatchV2(cfg sealiface.Config, sectors []abi.Secto res := sealiface.CommitBatchRes{ FailedSectors: map[abi.SectorNumber]string{}, } - - params := miner.ProveCommitSectors3Params{ + pcs3Params := miner.ProveCommitSectors3Params{ RequireActivationSuccess: cfg.RequireActivationSuccess, RequireNotificationSuccess: cfg.RequireNotificationSuccess, } - - infos := make([]proof.AggregateSealVerifyInfo, 0, total) - collateral := big.Zero() + pcsniParams := miner.ProveCommitSectorsNIParams{ + AggregateProofType: abi.RegisteredAggregationProof_SnarkPackV2, + RequireActivationSuccess: cfg.RequireActivationSuccess, + } + var niExpiration abi.ChainEpoch mid, err := address.IDFromAddress(b.maddr) if err != nil { return nil, err } + minerId := abi.ActorID(mid) - for _, sector := range sectors { - if b.todo[sector].DealIDPrecommit { - continue + nonInteractive := b.todo[sectors[0]].Spt.IsNonInteractive() + method := builtin.MethodsMiner.ProveCommitSectors3 + + if nonInteractive { + aggregate = true + method = builtin.MethodsMiner.ProveCommitSectorsNI + + pcsniParams.Sectors = make([]miner.SectorNIActivationInfo, 0) + pcsniParams.AggregateProof = nil + pcsniParams.SealProofType = b.todo[sectors[0]].Spt + pcsniParams.ProvingDeadline = 0 // TODO: make this configurable, but also we need to avoid submitting during this deadline and the one after ("mutable deadline") + + niExpiration, err = b.pcp.Expiration(b.mctx) + if err != nil { + return nil, xerrors.Errorf("getting expiration: %w", err) } + } + + infos := make([]proof.AggregateSealVerifyInfo, 0, total) + collateral := big.Zero() + for i, sector := range sectors { + si := b.todo[sector] + if i > 0 && si.Spt != b.todo[sectors[0]].Spt { + return nil, xerrors.Errorf("mismatch in proof type, can't submit different proof types in the same batch: %d != %d", si.Spt, b.todo[sectors[0]].Spt) + } res.Sectors = append(res.Sectors, sector) sc, err := b.getSectorCollateral(sector, ts.Key()) @@ -336,22 +365,33 @@ func (b *CommitBatcher) processBatchV2(cfg sealiface.Config, sectors []abi.Secto collateral = big.Add(collateral, sc) - manifest := b.todo[sector].ActivationManifest + manifest := si.ActivationManifest if len(manifest.Pieces) > 0 { precomitInfo, err := b.api.StateSectorPreCommitInfo(b.mctx, b.maddr, sector, ts.Key()) if err != nil { res.FailedSectors[sector] = err.Error() continue } - err = b.allocationCheck(manifest.Pieces, precomitInfo, abi.ActorID(mid), ts) + err = b.allocationCheck(manifest.Pieces, precomitInfo, minerId, ts) if err != nil { res.FailedSectors[sector] = err.Error() continue } } - params.SectorActivations = append(params.SectorActivations, b.todo[sector].ActivationManifest) - params.SectorProofs = append(params.SectorProofs, b.todo[sector].Proof) + if nonInteractive { + pcsniParams.Sectors = append(pcsniParams.Sectors, miner.SectorNIActivationInfo{ + SealingNumber: sector, + SealerID: minerId, + SealedCID: si.Info.SealedCID, + SectorNumber: sector, + SealRandEpoch: si.SealRandEpoch, + Expiration: niExpiration, + }) + } else { + pcs3Params.SectorActivations = append(pcs3Params.SectorActivations, si.ActivationManifest) + pcs3Params.SectorProofs = append(pcs3Params.SectorProofs, si.Proof) + } infos = append(infos, b.todo[sector].Info) } @@ -368,22 +408,15 @@ func (b *CommitBatcher) processBatchV2(cfg sealiface.Config, sectors []abi.Secto needFunds := collateral if aggregate { - params.SectorProofs = nil // can't be set when aggregating + pcs3Params.SectorProofs = nil // can't be set when aggregating arp, err := b.aggregateProofType(nv) if err != nil { res.Error = err.Error() return []sealiface.CommitBatchRes{res}, xerrors.Errorf("getting aggregate proof type: %w", err) } - params.AggregateProofType = &arp - - mid, err := address.IDFromAddress(b.maddr) - if err != nil { - res.Error = err.Error() - return []sealiface.CommitBatchRes{res}, xerrors.Errorf("getting miner id: %w", err) - } - params.AggregateProof, err = b.prover.AggregateSealProofs(proof.AggregateSealVerifyProofAndInfos{ - Miner: abi.ActorID(mid), + ap, err := b.prover.AggregateSealProofs(proof.AggregateSealVerifyProofAndInfos{ + Miner: minerId, SealProof: b.todo[infos[0].Number].Spt, AggregateProof: arp, Infos: infos, @@ -393,6 +426,14 @@ func (b *CommitBatcher) processBatchV2(cfg sealiface.Config, sectors []abi.Secto return []sealiface.CommitBatchRes{res}, xerrors.Errorf("aggregating proofs: %w", err) } + if nonInteractive { + pcsniParams.AggregateProof = ap + pcsniParams.AggregateProofType = arp + } else { + pcs3Params.AggregateProof = ap + pcs3Params.AggregateProofType = &arp + } + aggFeeRaw, err := policy.AggregateProveCommitNetworkFee(nv, len(infos), ts.MinTicketBlock().ParentBaseFee) if err != nil { res.Error = err.Error() @@ -427,12 +468,19 @@ func (b *CommitBatcher) processBatchV2(cfg sealiface.Config, sectors []abi.Secto } enc := new(bytes.Buffer) - if err := params.MarshalCBOR(enc); err != nil { - res.Error = err.Error() - return []sealiface.CommitBatchRes{res}, xerrors.Errorf("couldn't serialize ProveCommitSectors3Params: %w", err) + if nonInteractive { + if err := pcsniParams.MarshalCBOR(enc); err != nil { + res.Error = err.Error() + return []sealiface.CommitBatchRes{res}, xerrors.Errorf("couldn't serialize ProveCommitSectorsNIParams: %w", err) + } + } else { + if err := pcs3Params.MarshalCBOR(enc); err != nil { + res.Error = err.Error() + return []sealiface.CommitBatchRes{res}, xerrors.Errorf("couldn't serialize ProveCommitSectors3Params: %w", err) + } } - _, err = simulateMsgGas(b.mctx, b.api, from, b.maddr, builtin.MethodsMiner.ProveCommitSectors3, needFunds, maxFee, enc.Bytes()) + _, err = simulateMsgGas(b.mctx, b.api, from, b.maddr, method, needFunds, maxFee, enc.Bytes()) if err != nil && (!api.ErrorIsIn(err, []error{&api.ErrOutOfGas{}}) || len(sectors) < miner.MinAggregatedSectors*2) { log.Errorf("simulating CommitBatch %s", err) @@ -452,14 +500,18 @@ func (b *CommitBatcher) processBatchV2(cfg sealiface.Config, sectors []abi.Secto return append(ret0, ret1...), nil } - mcid, err := sendMsg(b.mctx, b.api, from, b.maddr, builtin.MethodsMiner.ProveCommitSectors3, needFunds, maxFee, enc.Bytes()) + mcid, err := sendMsg(b.mctx, b.api, from, b.maddr, method, needFunds, maxFee, enc.Bytes()) if err != nil { return []sealiface.CommitBatchRes{res}, xerrors.Errorf("sending message failed (params size: %d, sectors: %d, agg: %t): %w", len(enc.Bytes()), len(sectors), aggregate, err) } res.Msg = &mcid - log.Infow("Sent ProveCommitSectors3 message", "cid", mcid, "from", from, "todo", total, "sectors", len(infos)) + if nonInteractive { + log.Infow("Sent ProveCommitSectorsNI message", "cid", mcid, "from", from, "todo", total, "sectors", len(infos)) + } else { + log.Infow("Sent ProveCommitSectors3 message", "cid", mcid, "from", from, "todo", total, "sectors", len(infos)) + } return []sealiface.CommitBatchRes{res}, nil } @@ -550,6 +602,10 @@ func (b *CommitBatcher) Stop(ctx context.Context) error { // TODO: If this returned epochs, it would make testing much easier func (b *CommitBatcher) getCommitCutoff(si SectorInfo) (time.Time, error) { + if si.SectorType.IsNonInteractive() { + return time.Now(), nil + } + ts, err := b.api.ChainHead(b.mctx) if err != nil { return time.Now(), xerrors.Errorf("getting chain head: %s", err) @@ -605,25 +661,29 @@ func (b *CommitBatcher) getCommitCutoff(si SectorInfo) (time.Time, error) { } func (b *CommitBatcher) getSectorCollateral(sn abi.SectorNumber, tsk types.TipSetKey) (abi.TokenAmount, error) { - pci, err := b.api.StateSectorPreCommitInfo(b.mctx, b.maddr, sn, tsk) - if err != nil { - return big.Zero(), xerrors.Errorf("getting precommit info: %w", err) - } - if pci == nil { - return big.Zero(), xerrors.Errorf("precommit info not found on chain") - } - collateral, err := b.pledgeApi.pledgeForPower(b.mctx, b.todo[sn].Weight) // b.maddr, pci.Info, tsk if err != nil { return big.Zero(), xerrors.Errorf("getting initial pledge collateral: %w", err) } - collateral = big.Sub(collateral, pci.PreCommitDeposit) + pcd := big.Zero() + if !b.todo[sn].Spt.IsNonInteractive() { + pci, err := b.api.StateSectorPreCommitInfo(b.mctx, b.maddr, sn, tsk) + if err != nil { + return big.Zero(), xerrors.Errorf("getting precommit info: %w", err) + } + if pci == nil { + return big.Zero(), xerrors.Errorf("precommit info not found on chain") + } + pcd = pci.PreCommitDeposit + collateral = big.Sub(collateral, pcd) + } + if collateral.LessThan(big.Zero()) { collateral = big.Zero() } - log.Infow("getSectorCollateral", "collateral", types.FIL(collateral), "sn", sn, "precommit", types.FIL(pci.PreCommitDeposit), "pledge", types.FIL(collateral), "weight", b.todo[sn].Weight) + log.Infow("getSectorCollateral", "collateral", types.FIL(collateral), "sn", sn, "precommit", types.FIL(pcd), "pledge", types.FIL(collateral), "weight", b.todo[sn].Weight) return collateral, nil } diff --git a/storage/pipeline/garbage.go b/storage/pipeline/garbage.go index 6c4c20743f9..8553eb7a77a 100644 --- a/storage/pipeline/garbage.go +++ b/storage/pipeline/garbage.go @@ -5,10 +5,12 @@ import ( "golang.org/x/xerrors" + abi "github.com/filecoin-project/go-state-types/abi" + "github.com/filecoin-project/lotus/storage/sealer/storiface" ) -func (m *Sealing) PledgeSector(ctx context.Context) (storiface.SectorRef, error) { +func (m *Sealing) PledgeSector(ctx context.Context, spt abi.RegisteredSealProof) (storiface.SectorRef, error) { m.startupWait.Wait() m.inputLk.Lock() @@ -25,9 +27,10 @@ func (m *Sealing) PledgeSector(ctx context.Context) (storiface.SectorRef, error) } } - spt, err := m.currentSealProof(ctx) - if err != nil { - return storiface.SectorRef{}, xerrors.Errorf("getting seal proof type: %w", err) + if spt == -1 { + if spt, err = m.currentSealProof(ctx); err != nil { + return storiface.SectorRef{}, xerrors.Errorf("getting seal proof type: %w", err) + } } sid, err := m.createSector(ctx, cfg, spt) diff --git a/storage/pipeline/sealing.go b/storage/pipeline/sealing.go index 4ef0323ff1f..d4fa26f0078 100644 --- a/storage/pipeline/sealing.go +++ b/storage/pipeline/sealing.go @@ -273,7 +273,7 @@ func New(mctx context.Context, sapi SealingAPI, fc config.MinerFeeConfig, events } s.precommiter = pc - cc, err := NewCommitBatcher(mctx, maddr, sapi, addrSel, fc, gc, prov, s) + cc, err := NewCommitBatcher(mctx, maddr, sapi, addrSel, fc, gc, prov, s, pcp) if err != nil { return nil, err } diff --git a/storage/pipeline/states_sealing.go b/storage/pipeline/states_sealing.go index bffd003c2d7..8f330359ac6 100644 --- a/storage/pipeline/states_sealing.go +++ b/storage/pipeline/states_sealing.go @@ -40,6 +40,8 @@ import ( const MinDDONetworkVersion = network.Version22 +var niPorepInteractiveRandomness = abi.InteractiveSealRandomness([]byte{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}) + var DealSectorPriority = 1024 var MaxTicketAge = policy.MaxPreCommitRandomnessLookback @@ -452,6 +454,16 @@ func (m *Sealing) handleSubmitPreCommitBatch(ctx statemachine.Context, sector Se return ctx.Send(SectorSealPreCommit1Failed{xerrors.Errorf("sector had nil commR or commD")}) } + if sector.SectorType.IsNonInteractive() { + ts, err := m.Api.ChainHead(ctx.Context()) + if err != nil { + log.Errorf("handleSubmitPreCommitBatch: api error, not proceeding: %+v", err) + return nil + } + return ctx.Send(SectorPreCommitLanded{TipSet: ts.Key()}) + // return ctx.Send(SectorPreCommitBatchSent{cid.MustParse("bafkqaaa")}) // TODO: dummy cid, can we do better? can't be a pointer and can't be undef, can we avoid this? + } + params, deposit, _, err := m.preCommitInfo(ctx, sector) if err != nil { return ctx.Send(SectorChainPreCommitFailed{xerrors.Errorf("preCommitInfo: %w", err)}) @@ -477,6 +489,15 @@ func (m *Sealing) handleSubmitPreCommitBatch(ctx statemachine.Context, sector Se } func (m *Sealing) handlePreCommitWait(ctx statemachine.Context, sector SectorInfo) error { + if sector.SectorType.IsNonInteractive() { + ts, err := m.Api.ChainHead(ctx.Context()) + if err != nil { + log.Errorf("handlePreCommitWait: api error, not proceeding: %+v", err) + return nil + } + return ctx.Send(SectorSeedReady{SeedValue: niPorepInteractiveRandomness, SeedEpoch: ts.Height()}) + } + if sector.PreCommitMessage == nil { return ctx.Send(SectorChainPreCommitFailed{xerrors.Errorf("precommit message was nil")}) } @@ -514,6 +535,10 @@ func (m *Sealing) handleWaitSeed(ctx statemachine.Context, sector SectorInfo) er return nil } + if sector.SectorType.IsNonInteractive() { + return ctx.Send(SectorSeedReady{SeedValue: niPorepInteractiveRandomness, SeedEpoch: ts.Height()}) + } + pci, err := m.Api.StateSectorPreCommitInfo(ctx.Context(), m.maddr, sector.SectorNumber, ts.Key()) if err != nil { return xerrors.Errorf("getting precommit info: %w", err) @@ -529,7 +554,7 @@ func (m *Sealing) handleWaitSeed(ctx statemachine.Context, sector SectorInfo) er // get from the events API ts, err := m.Api.ChainHead(ctx.Context()) if err != nil { - log.Errorf("handleCommitting: api error, not proceeding: %+v", err) + log.Errorf("handleWaitSeed: api error, not proceeding: %+v", err) return nil } @@ -638,14 +663,24 @@ func (m *Sealing) handleCommitting(ctx statemachine.Context, sector SectorInfo) if sector.RemoteCommit2Endpoint == "" { // Local Commit2 - porepProof, err = m.sealer.SealCommit2(sector.sealingCtx(ctx.Context()), m.minerSector(sector.SectorType, sector.SectorNumber), c2in) - if err != nil { - log.Errorw("Commit2 error", "error", err) - return ctx.Send(SectorComputeProofFailed{xerrors.Errorf("computing seal proof failed(2): %w", err)}) + if sector.SectorType.IsNonInteractive() { + porepProof, err = m.sealer.SealCommit2CircuitProofs(sector.sealingCtx(ctx.Context()), m.minerSector(sector.SectorType, sector.SectorNumber), c2in) + if err != nil { + log.Errorw("Commit2 error", "error", err) + return ctx.Send(SectorComputeProofFailed{xerrors.Errorf("computing seal proof failed(2): %w", err)}) + } + } else { + porepProof, err = m.sealer.SealCommit2(sector.sealingCtx(ctx.Context()), m.minerSector(sector.SectorType, sector.SectorNumber), c2in) + if err != nil { + log.Errorw("Commit2 error", "error", err) + return ctx.Send(SectorComputeProofFailed{xerrors.Errorf("computing seal proof failed(2): %w", err)}) + } } } else { // Remote Commit2 + // TODO: remote circuitproofs for NI-PoRep + reqData := api.RemoteCommit2Params{ ProofType: sector.SectorType, Sector: m.minerSectorID(sector.SectorNumber), @@ -688,6 +723,7 @@ func (m *Sealing) handleCommitting(ctx statemachine.Context, sector SectorInfo) } if err := m.checkCommit(ctx.Context(), sector, porepProof, ts.Key()); err != nil { + log.Errorf("handleCommitting: checkCommit error: %+v", err) return ctx.Send(SectorCommitFailed{xerrors.Errorf("commit check error: %w", err)}) } } @@ -780,14 +816,18 @@ func (m *Sealing) handleSubmitCommitAggregate(ctx statemachine.Context, sector S return err } - pci, err := m.Api.StateSectorPreCommitInfo(ctx.Context(), m.maddr, sector.SectorNumber, types.EmptyTSK) - if err != nil { - return xerrors.Errorf("getting precommit info: %w", err) - } + weight := big.Zero() - weight, err := m.sectorWeight(ctx.Context(), sector, pci.Info.Expiration) - if err != nil { - return xerrors.Errorf("getting sector weight: %w", err) + if !sector.SectorType.IsNonInteractive() { + pci, err := m.Api.StateSectorPreCommitInfo(ctx.Context(), m.maddr, sector.SectorNumber, types.EmptyTSK) + if err != nil { + return xerrors.Errorf("getting precommit info: %w", err) + } + + weight, err = m.sectorWeight(ctx.Context(), sector, pci.Info.Expiration) + if err != nil { + return xerrors.Errorf("getting sector weight: %w", err) + } } res, err := m.commiter.AddCommit(ctx.Context(), sector, AggregateInput{ @@ -798,9 +838,10 @@ func (m *Sealing) handleSubmitCommitAggregate(ctx statemachine.Context, sector S SealedCID: *sector.CommR, UnsealedCID: *sector.CommD, }, - Proof: sector.Proof, - Spt: sector.SectorType, - Weight: weight, + SealRandEpoch: sector.TicketEpoch, + Proof: sector.Proof, + Spt: sector.SectorType, + Weight: weight, ActivationManifest: miner2.SectorActivationManifest{ SectorNumber: sector.SectorNumber, diff --git a/storage/sealer/ffiwrapper/sealer_cgo.go b/storage/sealer/ffiwrapper/sealer_cgo.go index 30a0fe632b1..112a76715e7 100644 --- a/storage/sealer/ffiwrapper/sealer_cgo.go +++ b/storage/sealer/ffiwrapper/sealer_cgo.go @@ -1023,6 +1023,10 @@ func (sb *Sealer) SealCommit2(ctx context.Context, sector storiface.SectorRef, p return ffi.SealCommitPhase2(phase1Out, sector.ID.Number, sector.ID.Miner) } +func (sb *Sealer) SealCommit2CircuitProofs(ctx context.Context, sector storiface.SectorRef, phase1Out storiface.Commit1Out) (storiface.Proof, error) { + return ffi.SealCommitPhase2CircuitProofs(phase1Out, sector.ID.Number) +} + func (sb *Sealer) ReplicaUpdate(ctx context.Context, sector storiface.SectorRef, pieces []abi.PieceInfo) (storiface.ReplicaUpdateOut, error) { empty := storiface.ReplicaUpdateOut{} paths, done, err := sb.sectors.AcquireSector(ctx, sector, storiface.FTUnsealed|storiface.FTSealed|storiface.FTCache, storiface.FTUpdate|storiface.FTUpdateCache, storiface.PathSealing) diff --git a/storage/sealer/manager.go b/storage/sealer/manager.go index 00514c79eda..1b5eb3ba1c7 100644 --- a/storage/sealer/manager.go +++ b/storage/sealer/manager.go @@ -646,6 +646,50 @@ func (m *Manager) SealCommit2(ctx context.Context, sector storiface.SectorRef, p return out, waitErr } +func (m *Manager) SealCommit2CircuitProofs(ctx context.Context, sector storiface.SectorRef, phase1Out storiface.Commit1Out) (out storiface.Proof, err error) { + // TODO: does this need a new sealtasks type? probably + wk, wait, cancel, err := m.getWork(ctx, sealtasks.TTCommit2, sector, phase1Out) + if err != nil { + return storiface.Proof{}, xerrors.Errorf("getWork: %w", err) + } + defer cancel() + + var waitErr error + waitRes := func() { + p, werr := m.waitWork(ctx, wk) + if werr != nil { + waitErr = werr + return + } + if p != nil { + out = p.(storiface.Proof) + } + } + + if wait { // already in progress + waitRes() + return out, waitErr + } + + selector := newTaskSelector() + + err = m.sched.Schedule(ctx, sector, sealtasks.TTCommit2, selector, schedNop, func(ctx context.Context, w Worker) error { + err := m.startWork(ctx, w, wk)(w.SealCommit2CircuitProofs(ctx, sector, phase1Out)) + if err != nil { + return err + } + + waitRes() + return nil + }) + + if err != nil { + return nil, err + } + + return out, waitErr +} + // sectorStorageType tries to figure out storage type for a given sector; expects only a single copy of the file in the // storage system func (m *Manager) sectorStorageType(ctx context.Context, sector storiface.SectorRef, ft storiface.SectorFileType) (sectorFound bool, ptype storiface.PathType, err error) { @@ -1196,6 +1240,10 @@ func (m *Manager) ReturnSealCommit2(ctx context.Context, callID storiface.CallID return m.returnResult(ctx, callID, proof, err) } +func (m *Manager) ReturnSealCommit2CircuitProofs(ctx context.Context, callID storiface.CallID, proof storiface.Proof, err *storiface.CallError) error { + return m.returnResult(ctx, callID, proof, err) +} + func (m *Manager) ReturnFinalizeSector(ctx context.Context, callID storiface.CallID, err *storiface.CallError) error { return m.returnResult(ctx, callID, nil, err) } diff --git a/storage/sealer/mock/mock.go b/storage/sealer/mock/mock.go index bcd86b1178a..77f4d53e1dc 100644 --- a/storage/sealer/mock/mock.go +++ b/storage/sealer/mock/mock.go @@ -262,6 +262,20 @@ func (mgr *SectorMgr) SealCommit2(ctx context.Context, sid storiface.SectorRef, return out[:], nil } +func (mgr *SectorMgr) SealCommit2CircuitProofs(ctx context.Context, sid storiface.SectorRef, phase1Out storiface.Commit1Out) (proof storiface.Proof, err error) { + plen, err := sid.ProofType.ProofSize() + if err != nil { + return nil, err + } + + out := make([]byte, plen) + for i := range out[:len(phase1Out)] { + out[i] = phase1Out[i] ^ byte(sid.ID.Number&0xff) + } + + return out[:], nil +} + func (mgr *SectorMgr) ReplicaUpdate(ctx context.Context, sid storiface.SectorRef, pieces []abi.PieceInfo) (storiface.ReplicaUpdateOut, error) { out := storiface.ReplicaUpdateOut{} return out, nil @@ -570,6 +584,10 @@ func (mgr *SectorMgr) ReturnSealCommit2(ctx context.Context, callID storiface.Ca panic("not supported") } +func (mgr *SectorMgr) ReturnSealCommit2CircuitProofs(ctx context.Context, callID storiface.CallID, proof storiface.Proof, err *storiface.CallError) error { + panic("not supported") +} + func (mgr *SectorMgr) ReturnFinalizeSector(ctx context.Context, callID storiface.CallID, err *storiface.CallError) error { panic("not supported") } diff --git a/storage/sealer/sched_test.go b/storage/sealer/sched_test.go index a991ff3fde2..26ba047f053 100644 --- a/storage/sealer/sched_test.go +++ b/storage/sealer/sched_test.go @@ -92,6 +92,10 @@ func (s *schedTestWorker) SealCommit2(ctx context.Context, sector storiface.Sect panic("implement me") } +func (s *schedTestWorker) SealCommit2CircuitProofs(ctx context.Context, sector storiface.SectorRef, c1o storiface.Commit1Out) (storiface.CallID, error) { + panic("implement me") +} + func (s *schedTestWorker) FinalizeSector(ctx context.Context, sector storiface.SectorRef) (storiface.CallID, error) { panic("implement me") } diff --git a/storage/sealer/storiface/storage.go b/storage/sealer/storiface/storage.go index 601c2abb2dd..4111193fb74 100644 --- a/storage/sealer/storiface/storage.go +++ b/storage/sealer/storiface/storage.go @@ -83,6 +83,7 @@ type Sealer interface { SealCommit1(ctx context.Context, sector SectorRef, ticket abi.SealRandomness, seed abi.InteractiveSealRandomness, pieces []abi.PieceInfo, cids SectorCids) (Commit1Out, error) SealCommit2(ctx context.Context, sector SectorRef, c1o Commit1Out) (Proof, error) + SealCommit2CircuitProofs(ctx context.Context, sector SectorRef, c1o Commit1Out) (Proof, error) FinalizeSector(ctx context.Context, sector SectorRef) error diff --git a/storage/sealer/storiface/worker.go b/storage/sealer/storiface/worker.go index e84fd8aa9a8..b09cced7e30 100644 --- a/storage/sealer/storiface/worker.go +++ b/storage/sealer/storiface/worker.go @@ -138,6 +138,7 @@ type WorkerCalls interface { SealPreCommit2(ctx context.Context, sector SectorRef, pc1o PreCommit1Out) (CallID, error) SealCommit1(ctx context.Context, sector SectorRef, ticket abi.SealRandomness, seed abi.InteractiveSealRandomness, pieces []abi.PieceInfo, cids SectorCids) (CallID, error) SealCommit2(ctx context.Context, sector SectorRef, c1o Commit1Out) (CallID, error) + SealCommit2CircuitProofs(ctx context.Context, sector SectorRef, c1o Commit1Out) (CallID, error) FinalizeSector(ctx context.Context, sector SectorRef) (CallID, error) FinalizeReplicaUpdate(ctx context.Context, sector SectorRef) (CallID, error) ReleaseUnsealed(ctx context.Context, sector SectorRef, safeToFree []Range) (CallID, error) @@ -230,6 +231,7 @@ type WorkerReturn interface { ReturnSealPreCommit2(ctx context.Context, callID CallID, sealed SectorCids, err *CallError) error ReturnSealCommit1(ctx context.Context, callID CallID, out Commit1Out, err *CallError) error ReturnSealCommit2(ctx context.Context, callID CallID, proof Proof, err *CallError) error + ReturnSealCommit2CircuitProofs(ctx context.Context, callID CallID, proof Proof, err *CallError) error ReturnFinalizeSector(ctx context.Context, callID CallID, err *CallError) error ReturnReleaseUnsealed(ctx context.Context, callID CallID, err *CallError) error ReturnReplicaUpdate(ctx context.Context, callID CallID, out ReplicaUpdateOut, err *CallError) error diff --git a/storage/sealer/teststorage_test.go b/storage/sealer/teststorage_test.go index 6e50044b3eb..40c2b7c8674 100644 --- a/storage/sealer/teststorage_test.go +++ b/storage/sealer/teststorage_test.go @@ -61,6 +61,10 @@ func (t *testExec) SealCommit2(ctx context.Context, sector storiface.SectorRef, panic("implement me") } +func (t *testExec) SealCommit2CircuitProofs(ctx context.Context, sector storiface.SectorRef, c1o storiface.Commit1Out) (storiface.Proof, error) { + panic("implement me") +} + func (t *testExec) FinalizeSector(ctx context.Context, sector storiface.SectorRef) error { panic("implement me") } diff --git a/storage/sealer/worker_local.go b/storage/sealer/worker_local.go index 7bb2da55497..8bc4ca8867f 100644 --- a/storage/sealer/worker_local.go +++ b/storage/sealer/worker_local.go @@ -192,23 +192,24 @@ func FFIExec(opts ...ffiwrapper.FFIWrapperOpt) func(l *LocalWorker) (storiface.S type ReturnType string const ( - DataCid ReturnType = "DataCid" - AddPiece ReturnType = "AddPiece" - SealPreCommit1 ReturnType = "SealPreCommit1" - SealPreCommit2 ReturnType = "SealPreCommit2" - SealCommit1 ReturnType = "SealCommit1" - SealCommit2 ReturnType = "SealCommit2" - FinalizeSector ReturnType = "FinalizeSector" - FinalizeReplicaUpdate ReturnType = "FinalizeReplicaUpdate" - ReplicaUpdate ReturnType = "ReplicaUpdate" - ProveReplicaUpdate1 ReturnType = "ProveReplicaUpdate1" - ProveReplicaUpdate2 ReturnType = "ProveReplicaUpdate2" - GenerateSectorKey ReturnType = "GenerateSectorKey" - ReleaseUnsealed ReturnType = "ReleaseUnsealed" - MoveStorage ReturnType = "MoveStorage" - UnsealPiece ReturnType = "UnsealPiece" - DownloadSector ReturnType = "DownloadSector" - Fetch ReturnType = "Fetch" + DataCid ReturnType = "DataCid" + AddPiece ReturnType = "AddPiece" + SealPreCommit1 ReturnType = "SealPreCommit1" + SealPreCommit2 ReturnType = "SealPreCommit2" + SealCommit1 ReturnType = "SealCommit1" + SealCommit2 ReturnType = "SealCommit2" + SealCommit2CircuitProofs ReturnType = "SealCommit2CircuitProofs" + FinalizeSector ReturnType = "FinalizeSector" + FinalizeReplicaUpdate ReturnType = "FinalizeReplicaUpdate" + ReplicaUpdate ReturnType = "ReplicaUpdate" + ProveReplicaUpdate1 ReturnType = "ProveReplicaUpdate1" + ProveReplicaUpdate2 ReturnType = "ProveReplicaUpdate2" + GenerateSectorKey ReturnType = "GenerateSectorKey" + ReleaseUnsealed ReturnType = "ReleaseUnsealed" + MoveStorage ReturnType = "MoveStorage" + UnsealPiece ReturnType = "UnsealPiece" + DownloadSector ReturnType = "DownloadSector" + Fetch ReturnType = "Fetch" ) // in: func(WorkerReturn, context.Context, CallID, err string) @@ -246,23 +247,24 @@ func rfunc(in interface{}) func(context.Context, storiface.CallID, storiface.Wor } var returnFunc = map[ReturnType]func(context.Context, storiface.CallID, storiface.WorkerReturn, interface{}, *storiface.CallError) error{ - DataCid: rfunc(storiface.WorkerReturn.ReturnDataCid), - AddPiece: rfunc(storiface.WorkerReturn.ReturnAddPiece), - SealPreCommit1: rfunc(storiface.WorkerReturn.ReturnSealPreCommit1), - SealPreCommit2: rfunc(storiface.WorkerReturn.ReturnSealPreCommit2), - SealCommit1: rfunc(storiface.WorkerReturn.ReturnSealCommit1), - SealCommit2: rfunc(storiface.WorkerReturn.ReturnSealCommit2), - FinalizeSector: rfunc(storiface.WorkerReturn.ReturnFinalizeSector), - ReleaseUnsealed: rfunc(storiface.WorkerReturn.ReturnReleaseUnsealed), - ReplicaUpdate: rfunc(storiface.WorkerReturn.ReturnReplicaUpdate), - ProveReplicaUpdate1: rfunc(storiface.WorkerReturn.ReturnProveReplicaUpdate1), - ProveReplicaUpdate2: rfunc(storiface.WorkerReturn.ReturnProveReplicaUpdate2), - GenerateSectorKey: rfunc(storiface.WorkerReturn.ReturnGenerateSectorKeyFromData), - FinalizeReplicaUpdate: rfunc(storiface.WorkerReturn.ReturnFinalizeReplicaUpdate), - MoveStorage: rfunc(storiface.WorkerReturn.ReturnMoveStorage), - UnsealPiece: rfunc(storiface.WorkerReturn.ReturnUnsealPiece), - DownloadSector: rfunc(storiface.WorkerReturn.ReturnDownloadSector), - Fetch: rfunc(storiface.WorkerReturn.ReturnFetch), + DataCid: rfunc(storiface.WorkerReturn.ReturnDataCid), + AddPiece: rfunc(storiface.WorkerReturn.ReturnAddPiece), + SealPreCommit1: rfunc(storiface.WorkerReturn.ReturnSealPreCommit1), + SealPreCommit2: rfunc(storiface.WorkerReturn.ReturnSealPreCommit2), + SealCommit1: rfunc(storiface.WorkerReturn.ReturnSealCommit1), + SealCommit2: rfunc(storiface.WorkerReturn.ReturnSealCommit2), + SealCommit2CircuitProofs: rfunc(storiface.WorkerReturn.ReturnSealCommit2CircuitProofs), + FinalizeSector: rfunc(storiface.WorkerReturn.ReturnFinalizeSector), + ReleaseUnsealed: rfunc(storiface.WorkerReturn.ReturnReleaseUnsealed), + ReplicaUpdate: rfunc(storiface.WorkerReturn.ReturnReplicaUpdate), + ProveReplicaUpdate1: rfunc(storiface.WorkerReturn.ReturnProveReplicaUpdate1), + ProveReplicaUpdate2: rfunc(storiface.WorkerReturn.ReturnProveReplicaUpdate2), + GenerateSectorKey: rfunc(storiface.WorkerReturn.ReturnGenerateSectorKeyFromData), + FinalizeReplicaUpdate: rfunc(storiface.WorkerReturn.ReturnFinalizeReplicaUpdate), + MoveStorage: rfunc(storiface.WorkerReturn.ReturnMoveStorage), + UnsealPiece: rfunc(storiface.WorkerReturn.ReturnUnsealPiece), + DownloadSector: rfunc(storiface.WorkerReturn.ReturnDownloadSector), + Fetch: rfunc(storiface.WorkerReturn.ReturnFetch), } func (l *LocalWorker) asyncCall(ctx context.Context, sector storiface.SectorRef, rt ReturnType, work func(ctx context.Context, ci storiface.CallID) (interface{}, error)) (storiface.CallID, error) { @@ -441,6 +443,17 @@ func (l *LocalWorker) SealCommit2(ctx context.Context, sector storiface.SectorRe }) } +func (l *LocalWorker) SealCommit2CircuitProofs(ctx context.Context, sector storiface.SectorRef, phase1Out storiface.Commit1Out) (storiface.CallID, error) { + sb, err := l.executor(l) + if err != nil { + return storiface.UndefCall, err + } + + return l.asyncCall(ctx, sector, SealCommit2CircuitProofs, func(ctx context.Context, ci storiface.CallID) (interface{}, error) { + return sb.SealCommit2CircuitProofs(ctx, sector, phase1Out) + }) +} + func (l *LocalWorker) ReplicaUpdate(ctx context.Context, sector storiface.SectorRef, pieces []abi.PieceInfo) (storiface.CallID, error) { sb, err := l.executor(l) if err != nil {