-
Notifications
You must be signed in to change notification settings - Fork 87
Description
Background
Due to FIP-0045, aggregate sectors with FIL+ deals consume additional gas to activate deals and perform Datacap allocation. Unfortunately, the gas cost increase also leads to undesired consequences. ProveCommitAggregation (PCA) messages with FIL+ deals are more expensive than committing sectors individually, as for the later the jobs are handled in corn and paid by the system during prove commit.
For example:
PCA with 30 deals - 5,215,780,263 / 30 = 173,859,342 gas/sector, while a single ProveCommit only cost 74,550,507.
These are undesired regressions introduced toward SP operations. As defined by [FIP-0013](https://github.com/filecoin-project/FIPs/blob/master/FIPS/fip-0013.md), prove commit aggregated sectors should cost less than sending prove commits individually when the network base fee is above the batch balancer. Also with FVM M1, operations should be charged.
Also, in the long term, handling system critical & state/computation intensive jobs in cron shall be considered as critical bugs.
Impact
Note the above regression mostly impacts FIL+ sectors, and way less on CC/regular deal sectors. This is more noticeable now as the base fee is constantly above the batch balancer crossover. SPs have started to aggregate the proof which should be financially beneficial for them yet its having the opposite effect, where SPs are paying more than they have to.
Note that actor maintainers think even tho the impact is high with this issue for some users, we don't think it’s a show stopper for nv19 - mitigating market cron is more time sensitive. That being said, this is a P1 for actor developers to actively mitigate in the upcoming network upgrades. Intermediately we can ask FIL+ SPs to stop aggregating to avoid the additional cost, the trade-off is that less of the network bandwidth is freed up.
## Potential Work Items
- [ ] https://github.com/filecoin-project/builtin-actors/issues/1277
- [ ] https://github.com/filecoin-project/builtin-actors/issues/1278
- [ ] https://github.com/filecoin-project/builtin-actors/issues/1101
- [ ] https://github.com/filecoin-project/builtin-actors/issues/1306