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
Update fip-0100.md
fixed broken link
irenegia authored Feb 13, 2025

Verified

This commit was created on github.com and signed with GitHub’s verified signature.
commit c502ec3ba170033a61ae91c6ac67bd0274e1f58b
3 changes: 2 additions & 1 deletion FIPS/fip-0100.md
Original file line number Diff line number Diff line change
@@ -233,9 +233,10 @@ We aimed for a design that is simple to understand and model, and relatively sim

- **Flat Fee vs. Dynamic Fee**: A fixed per-sector fee provides predictability and consistency, while a fluctuating fee based on network congestion, onboarding rate, or other variables better captures value when the network is actively providing a service. We chose a model where the fee is a fixed fraction of a quantity that adjusts to economic conditions. We evaluated the following economic indicators for determining the per-sector fee: Initial Pledge (IP), per-sector Block Reward (BR) and Circulating Supply (CS).
- The IP-based fee was discarded to avoid complex system dependencies, as changes to IP in future FIPs could unintentionally impact the per-sector fee.
- The BR-based fee was discarded because the fee-to-reward ratio did not adjust properly to network growth, leading to high fees even when onboarding demand was low. See [here](https://github.com/filecoin-project/FIPs/blob/irenegia-removeBatchBalancer/resources/fip-replaceBatchBalancer/FIPxxxxAppendix.md) for more details.
- The BR-based fee was discarded because the fee-to-reward ratio did not adjust properly to network growth, leading to high fees even when onboarding demand was low. See [here](fip-0100/fip0100Appendix.md) for more details.
- CS was ultimately chosen because it normalizes fees relative to the Filecoin economy, ensuring both adaptability and predictability.


We reached this conclusion through simulation-based analysis, modeling the impact of fees under different network conditions. Specifically, we evaluated multiple input trajectories: 0.5×, 0.75×, 1×, and 2× the current onboarding, renewal, and FIL+ rates. Since both renewals and FIL+ are near 100%, we capped them at their current maximum (see Fig. 1).
<div align="center"">
<img src="https://github.com/user-attachments/assets/e4ac2327-e1bf-4512-8f7c-cee45a45218b" width="650">