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: update the daily sector fee on extension when zero #1629

Open
wants to merge 2 commits into
base: feat/fip-0100
Choose a base branch
from

Conversation

Stebalien
Copy link
Member

@Stebalien Stebalien commented Feb 19, 2025

When, on extension, we encounter a legacy sector with a zero fee, update it based on the current circulating supply.

fixes #1634

@Stebalien Stebalien requested a review from rvagg February 19, 2025 03:42
Copy link
Member

@rvagg rvagg left a comment

Choose a reason for hiding this comment

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

yeah ok, but this really does need to be made clear in the FIP

key
));
}
deadline_daily_fee_delta += &partition_daily_fee_delta; // non-zero when extending legacy sectors
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: by legacy here you mean pre-fee sectors, something different than ExtensionKind::ExtendCommittmentLegacy. Clarifying this avoids some confusion

@Stebalien Stebalien force-pushed the steb/fip-0100/fix-accounting branch from 81925bc to 45ca648 Compare February 19, 2025 17:22
@Stebalien Stebalien force-pushed the steb/fip-0100/update-fee-on-extension branch from c1184db to 3c02c1e Compare February 19, 2025 17:22
Base automatically changed from steb/fip-0100/fix-accounting to feat/fip-0100 February 19, 2025 19:38
When, on extension, we encounter a legacy sector with a zero fee, update
it based on the current circulating supply.
@Stebalien Stebalien force-pushed the steb/fip-0100/update-fee-on-extension branch from 3c02c1e to fd6ac02 Compare February 19, 2025 19:45
@rvagg rvagg linked an issue Feb 21, 2025 that may be closed by this pull request
@BigLep
Copy link
Member

BigLep commented Feb 25, 2025

yeah ok, but this really does need to be made clear in the FIP

@rvagg : I haven't had a chance to read filecoin-project/FIPs#1124 yet. Does it cover the relevant FIP updates for this PR?

@rvagg
Copy link
Member

rvagg commented Feb 25, 2025

Yes, this has been covered in filecoin-project/FIPs#1124, along with additional things mentioned in issues in this repo (such as replica updates for legacy sectors which is very similar to this one).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✔️ Approved by reviewer
Status: ✔️ Approved by reviewer
Development

Successfully merging this pull request may close these issues.

FIP-0100: Add daily_fee during sector extension
4 participants