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

Fip0081 gradual activation #967

Merged
merged 24 commits into from
Aug 15, 2024
Merged
Changes from 7 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
97145dd
adding gradual activation version
kkarrancsu Feb 8, 2024
e60d3a5
adding additional description
kkarrancsu Feb 8, 2024
6143ac0
changed default time
kkarrancsu Feb 8, 2024
cb3c106
Merge branch 'filecoin-project:master' into fip0081_gradual_activation
kkarrancsu Mar 18, 2024
19e554b
Updated ramp len to 1Y
kkarrancsu Mar 18, 2024
1f86315
Merge branch 'filecoin-project:master' into fip0081_gradual_activation
kkarrancsu Mar 19, 2024
3351511
remove hard activation date and replace with variable noting intended…
kkarrancsu Mar 20, 2024
1122938
added qualitative description of activation period
kkarrancsu Mar 21, 2024
2f3cd55
Merge branch 'filecoin-project:master' into fip0081_gradual_activation
kkarrancsu Apr 16, 2024
d6c0537
Merge branch 'filecoin-project:master' into fip0081_gradual_activation
kkarrancsu May 7, 2024
3f1633c
updated description of ramped activation
kkarrancsu May 7, 2024
a46bb73
updated diagram to be clearer
kkarrancsu May 7, 2024
89008d8
added motivation for ramped activation and PDF of economic considerat…
kkarrancsu May 7, 2024
89330e2
fixed link to resources
kkarrancsu May 7, 2024
855600b
updating broken pdf
kkarrancsu May 8, 2024
1847de3
Merge branch 'filecoin-project:master' into fip0081_gradual_activation
kkarrancsu Jul 2, 2024
8cd672e
adding link to draft implementation
kkarrancsu Jul 2, 2024
59b42dc
added description of changes updates to builtin-actors in FIP document
kkarrancsu Jul 23, 2024
1a6c5e3
updated doc per additional feedback
kkarrancsu Jul 26, 2024
d535cff
adding state migration information
kkarrancsu Aug 6, 2024
582df4b
Merge branch 'filecoin-project:master' into fip0081_gradual_activation
kkarrancsu Aug 6, 2024
35cd354
Merge branch 'filecoin-project:master' into fip0081_gradual_activation
kkarrancsu Aug 13, 2024
af81dbe
Update fip-0081.md
kkarrancsu Aug 13, 2024
23c2568
Update fip-0081.md
kkarrancsu Aug 13, 2024
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
22 changes: 20 additions & 2 deletions FIPS/fip-0081.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,28 @@ a reasonable lower bound on network collateral.

## Specification
Factor the per-sector initial consensus pledge into two parts: a 70% share which divides by the baseline function like today,
and a smaller 30% "simple" share which does not divide by the baseline function.
and a smaller 30% "simple" share which does not divide by the baseline function. Gradually activate the change from the current
to the target.
Copy link
Collaborator

@kaitlin-beegle kaitlin-beegle Mar 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small ask, but can we also describe the activation period? It's helpful to have the qualitative description as well as the pseudocode.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, added, but if unclear or could use further revision lmk and I can update!


```
SectorInitialConsensusPledge = PledgeLockTarget * (0.3 * SectorSimpleShare + 0.7 * SectorBaselineShare)
FIP_activation_date = # TBD
activation_len_days = int(365)
current_day = 0
update_day = (FIP_activation_date - datetime.today()).days
state = "before_activation"
while True:
if state == "before_activation":
gamma_day = 1
if current_day >= update_day:
state = "ramping"
elif state == "ramping":
gamma_day -= 0.3/(activation_len_days-1)
if current_day >= (update_day + activation_len_days - 1):
state = "after_ramping"
elif state == "after_ramping":
gamma_day = 0.7
SectorInitialConsensusPledge_day = PledgeLockTarget * ( ((1-gamma_day)*SectorSimpleShare) + (gamma_day*SectorBaselineShare) )
current_day += 1

SectorSimpleShare = SectorQAP / NetworkQAP
SectorBaselineShare = SectorQAP / max(NetworkBaseline, NetworkQAP)
Expand Down
Loading