remove some outdated todos
This commit is contained in:
parent
be0d07e143
commit
eca5501923
@ -77,7 +77,7 @@ type FullNode interface {
|
|||||||
ClientGetDealInfo(context.Context, cid.Cid) (*DealInfo, error)
|
ClientGetDealInfo(context.Context, cid.Cid) (*DealInfo, error)
|
||||||
ClientListDeals(ctx context.Context) ([]DealInfo, error)
|
ClientListDeals(ctx context.Context) ([]DealInfo, error)
|
||||||
ClientHasLocal(ctx context.Context, root cid.Cid) (bool, error)
|
ClientHasLocal(ctx context.Context, root cid.Cid) (bool, error)
|
||||||
ClientFindData(ctx context.Context, root cid.Cid) ([]QueryOffer, error) // TODO: specify serialization mode we want (defaults to unixfs for now)
|
ClientFindData(ctx context.Context, root cid.Cid) ([]QueryOffer, error)
|
||||||
ClientRetrieve(ctx context.Context, order RetrievalOrder, path string) error
|
ClientRetrieve(ctx context.Context, order RetrievalOrder, path string) error
|
||||||
ClientQueryAsk(ctx context.Context, p peer.ID, miner address.Address) (*types.SignedStorageAsk, error)
|
ClientQueryAsk(ctx context.Context, p peer.ID, miner address.Address) (*types.SignedStorageAsk, error)
|
||||||
|
|
||||||
|
@ -436,7 +436,6 @@ func (sma StorageMarketActor) ActivateStorageDeals(act *types.Actor, vmctx types
|
|||||||
|
|
||||||
deals, err := amt.LoadAMT(types.WrapStorage(vmctx.Storage()), self.Deals)
|
deals, err := amt.LoadAMT(types.WrapStorage(vmctx.Storage()), self.Deals)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
// TODO: kind of annoying that this can be caused by gas, otherwise could be fatal
|
|
||||||
return nil, aerrors.HandleExternalError(err, "loading deals amt")
|
return nil, aerrors.HandleExternalError(err, "loading deals amt")
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -502,7 +501,6 @@ func (sma StorageMarketActor) ProcessStorageDealsPayment(act *types.Actor, vmctx
|
|||||||
|
|
||||||
deals, err := amt.LoadAMT(types.WrapStorage(vmctx.Storage()), self.Deals)
|
deals, err := amt.LoadAMT(types.WrapStorage(vmctx.Storage()), self.Deals)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
// TODO: kind of annoying that this can be caused by gas, otherwise could be fatal
|
|
||||||
return nil, aerrors.HandleExternalError(err, "loading deals amt")
|
return nil, aerrors.HandleExternalError(err, "loading deals amt")
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -602,7 +600,6 @@ func (sma StorageMarketActor) ComputeDataCommitment(act *types.Actor, vmctx type
|
|||||||
|
|
||||||
deals, err := amt.LoadAMT(types.WrapStorage(vmctx.Storage()), self.Deals)
|
deals, err := amt.LoadAMT(types.WrapStorage(vmctx.Storage()), self.Deals)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
// TODO: kind of annoying that this can be caused by gas, otherwise could be fatal
|
|
||||||
return nil, aerrors.HandleExternalError(err, "loading deals amt")
|
return nil, aerrors.HandleExternalError(err, "loading deals amt")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user