Open LexLuthr opened 5 months ago
We should have 2 methods:
@LexLuthr I've moved this to the lotus repo as the API is going to have to be here rather than in go-state-types.
@LexLuthr I've moved this to the lotus repo as the API is going to have to be here rather than in go-state-types.
Thank you. Look forward to have this soon. Along with https://github.com/filecoin-project/lotus/pull/11936, we will have all we need to track market deal reliably.
Will there be any progress here soon?
No, sorry, but it shouldn't be too hard to do. Would someone like to start off by proposing the method signatures and documentation that would slot into api/api_full.go
? I can probably tackle it once we have agreement from you (as users) on what we're actually implementing.
StateMarketSectorList(ctx, minerAddress) (map[sector number][]abi.DealID, err) StateMarketSector(ctx, minerAddress, sectorNumber) ([]abi.DealID, err)
I do a confusion here though. If a sector only contains f05 deals, should I assume that []abi.DealID would be in same order as present in physical sector or do we lose the order? What happens when DDO is in the mix for the above question?
We need a way to access information in https://github.com/filecoin-project/go-state-types/blob/ad909a3d6ebef5ebc5688b4310e954e27da2203b/builtin/v13/market/market_state.go#L66. This can be very useful to verify F05 deals post NV23 if sealer is using ProveCommitSector3 method to commit all sectors.