Skip to content
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

FIP-0100: Removing Batch Balancer, Replacing It With a Per-sector Fee and Removing Gas-limited Constraints #1113

Merged
merged 27 commits into from
Feb 13, 2025
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
2eb1f38
Create fip-removeBatchBalancer.md
irenegia Feb 4, 2025
83d62a4
Update README.md
irenegia Feb 5, 2025
8df858c
Update fip-removeBatchBalancer.md
irenegia Feb 5, 2025
0391c90
Update fip-removeBatchBalancer.md
irenegia Feb 5, 2025
5825d68
Update fip-removeBatchBalancer.md
irenegia Feb 5, 2025
0651a8c
Create FIPxxxxAppendix.md
irenegia Feb 5, 2025
76d38c4
Update fip-removeBatchBalancer.md
irenegia Feb 5, 2025
539b183
Initial draft of specification and implementation details
rvagg Feb 6, 2025
401d866
Add migration details and termination memoisation/reconciliation details
rvagg Feb 7, 2025
ee4576d
Add section detailing CS changes needed to fix Calibnet
rvagg Feb 7, 2025
2267852
Further implementation notes and added test cases
rvagg Feb 7, 2025
81a309b
Update fip-removeBatchBalancer.md
irenegia Feb 10, 2025
490ad2e
Apply suggestions from code review
irenegia Feb 11, 2025
122afef
Apply suggestions from code review
momack2 Feb 11, 2025
836ead8
Update fip-removeBatchBalancer.md
irenegia Feb 12, 2025
a15afd9
Rename to 0100
rvagg Feb 13, 2025
614839b
Update implementation details
rvagg Feb 13, 2025
50ee35a
Remove power actor changes, clean-up and clarify details
rvagg Feb 13, 2025
85e8a64
fix grammar nit
momack2 Feb 13, 2025
b8e4846
Update fip-0100.md
irenegia Feb 13, 2025
d0ebcf3
Update fip-0100.md
irenegia Feb 13, 2025
7c368f7
Update and rename FIPxxxxAppendix.md to FIP0100Appendix.md
irenegia Feb 13, 2025
71c48f9
Update and rename FIP0100Appendix.md to fip0100Appendix.md
irenegia Feb 13, 2025
c502ec3
Update fip-0100.md
irenegia Feb 13, 2025
1e8cd39
Update fip-0100.md
irenegia Feb 13, 2025
31fbec0
Update FIPS/fip-0100.md
momack2 Feb 13, 2025
07e0be4
Update fip0100Appendix.md
irenegia Feb 13, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: MollyM <momack2@users.noreply.github.com>
irenegia and momack2 authored Feb 11, 2025

Verified

This commit was created on github.com and signed with GitHub’s verified signature.
commit 490ad2e9694153289dfe89fb287ebeb41c682cd1
2 changes: 1 addition & 1 deletion FIPS/fip-removeBatchBalancer.md
Original file line number Diff line number Diff line change
@@ -66,7 +66,7 @@ More in details: at provecommit time we compute the value
where `k = 7.4 E-15` is a system constant and `t` is the sector activation epoch. Then, we cap it using the `expected_day_reward` value that is currently already computed as part of the onchain sector info [link](https://github.com/filecoin-project/builtin-actors/blob/5aad41bfa29d8eab78f91eb5c82a03466c6062d2/actors/miner/src/types.rs#L447). That is, we compute:

dailyPayment = min (dailyFee, m * expected_day_reward)
where `m= 0.5` is another system constant. Then the daily payment is due everyday until sector expirationfor each new sector onboarded after this FIP is deployed. In particular:
where `m= 0.5` is another system constant. Then the daily payment is due everyday until sector expiration for each new sector onboarded after this FIP is deployed. In particular:
- Even if a sector becomes faulty for the day, the payment is due. In other words, the dailyPayment is paid at windowPoSt time for all sectors in one the following state: active, faulty, recovered;
- The total fee per sector over its full sector lifetime is: `sectorFee = dailyPayment * sectorDurationInDays`. If a sector is terminated, the remaining of `sectorFee` gets computed and paid at termination (paid together with termination fee);
- If a sector is extended or updated, the dailyFee is not changed but the cap is recompute considering the upated value of `expected_day_reward` (and therefore the dailyPayment is updated). The sector will keep paying dailyPayment for the extended lifetime.