lpmarket: Fix stub SectorStatus

This commit is contained in:
Łukasz Magiera 2024-02-08 23:47:17 +01:00
parent 87892ffe84
commit f644cf11e1

View File

@ -5,6 +5,7 @@ import (
"encoding/base64" "encoding/base64"
"github.com/BurntSushi/toml" "github.com/BurntSushi/toml"
"github.com/filecoin-project/go-jsonrpc/auth" "github.com/filecoin-project/go-jsonrpc/auth"
"github.com/filecoin-project/go-state-types/big"
"github.com/filecoin-project/lotus/lib/harmony/harmonydb" "github.com/filecoin-project/lotus/lib/harmony/harmonydb"
"github.com/filecoin-project/lotus/node/config" "github.com/filecoin-project/lotus/node/config"
"github.com/gbrlsnchs/jwt/v3" "github.com/gbrlsnchs/jwt/v3"
@ -85,9 +86,9 @@ func (l *LMRPCProvider) SectorsStatus(ctx context.Context, sid abi.SectorNumber,
SealProof: 0, SealProof: 0,
Activation: 0, Activation: 0,
Expiration: 0, Expiration: 0,
DealWeight: abi.DealWeight{}, DealWeight: big.Zero(),
VerifiedDealWeight: abi.DealWeight{}, VerifiedDealWeight: big.Zero(),
InitialPledge: abi.TokenAmount{}, InitialPledge: big.Zero(),
OnTime: 0, OnTime: 0,
Early: 0, Early: 0,
}, nil }, nil
@ -120,9 +121,9 @@ func (l *LMRPCProvider) SectorsStatus(ctx context.Context, sid abi.SectorNumber,
SealProof: 0, SealProof: 0,
Activation: 0, Activation: 0,
Expiration: 0, Expiration: 0,
DealWeight: abi.DealWeight{}, DealWeight: big.Zero(),
VerifiedDealWeight: abi.DealWeight{}, VerifiedDealWeight: big.Zero(),
InitialPledge: abi.TokenAmount{}, InitialPledge: big.Zero(),
OnTime: 0, OnTime: 0,
Early: 0, Early: 0,
}, nil }, nil