ProviderSectors is a nested HAMT structure, therefore it is hard to do the reversed search from dealID to ProviderID. It make the performance issue for miner_sector_deal_v2.
Solution
Use the new field: SectorNumber in DealState and combine with market.Proposals to refine the performance of miner_sector_deal_v2.
Description
ProviderSectors
is a nested HAMT structure, therefore it is hard to do the reversed search from dealID to ProviderID. It make the performance issue forminer_sector_deal_v2
.Solution
Use the new field:
SectorNumber
inDealState
and combine withmarket.Proposals
to refine the performance ofminer_sector_deal_v2
.