-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
fix(miner): fix scary verified power miscalculation upon extension #12720
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the PR title to match https://github.com/filecoin-project/lotus/blob/master/CONTRIBUTING.md#pr-title-conventions
c586c0c
to
a7e0f64
Compare
idk why actinos bot hates me the title is fine |
The title is in the correct format
It probably hates you because of the capital letter, which now I see is not listed in "PR Title Conventions" section, but only in the linked Conventional Commits guide. I will upen a PR for it |
PR title now matches the required format.
Matches the required format
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks correct.
This won't need backporting to Curio SPTool as it does this listing a little differently (always using chain info), and seems to be correct already
Yeah @beck-8 brought this up in thread curio is all set |
…ilecoin-project#12720) * Fix scary verified power calculation * Update changelog --------- Co-authored-by: zenground0 <[email protected]>
…12720) * Fix scary verified power calculation * Update changelog --------- Co-authored-by: zenground0 <[email protected]>
…12720) * Fix scary verified power calculation * Update changelog --------- Co-authored-by: zenground0 <[email protected]>
Related Issues
They probably exist but I couldn't find them
Proposed Changes
Fix sectors display to calculate verified power against correct power base epoch. This way we don't divide by an incorrect denominator and scare SPs into thinking extensions will dilute their power (i.e. lets not let the whole point of FIP 0045 go to waste)
Additional Info
slack thread here: https://filecoinproject.slack.com/archives/C015KQQLQQ1/p1728479245409819
Checklist
Before you mark the PR ready for review, please make sure that: