-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New method to access ProviderSectors HAMT from market actor #11997
Comments
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. |
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 |
StateMarketSectorList(ctx, minerAddress) (map[sector number][]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? |
Labelling this Also related to #12791 so this might help sort that issue out. |
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.
The text was updated successfully, but these errors were encountered: