-
Notifications
You must be signed in to change notification settings - Fork 11
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 pledge calc in Commit Submit #138
Comments
Currently curio contains the custom pledge calculation method similar to lotus-miner (until recently): curio/tasks/snap/task_submit.go Line 608 in 8e211f4
After NV24 we have FIP-0081 activation which ramps up over a year to always include a 30% simple component, so over the course of the next 12 months the actual pledge will increasingly differ from that estimated by the custom pledge calculation included in Curio which likely lead to underestimations (unless network conditions change I suppose). Lotus' |
The delta is starting to show up on mainnet now, so it would be good to start using |
Similar to filecoin-project/lotus#12341, we use StateMinerInitialPledgeCollateral in https://github.com/filecoin-project/curio/blob/main/tasks/seal/task_submit_commit.go#L239; That method isn't DDO-aware
The text was updated successfully, but these errors were encountered: