-
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
Update StateMinerInitialPledgeCollateral method to be DDO aware #12369
Labels
kind/bug
Kind: Bug
Comments
We need to understand/investigate if DDO has had any impact on the |
rvagg
added a commit
that referenced
this issue
Aug 14, 2024
Fixes: #12369 deprecate StateMinerInitialPledgeCollateral since it only accounts for deals in PCI, which aren't present in a DDO world
rvagg
added a commit
that referenced
this issue
Aug 14, 2024
Fixes: #12369 deprecate StateMinerInitialPledgeCollateral since it only accounts for deals in PCI, which aren't present in a DDO world
rvagg
added a commit
that referenced
this issue
Aug 14, 2024
Fixes: #12369 deprecate StateMinerInitialPledgeCollateral since it only accounts for deals in PCI, which aren't present in a DDO world
Copying my comment from here in hope of getting some engagement: As per filecoin-project/builtin-actors#1573 I think we can simplify the API even further; here are the options as I see them:
|
rvagg
added a commit
that referenced
this issue
Aug 15, 2024
Fixes: #12369 deprecate StateMinerInitialPledgeCollateral since it only accounts for deals in PCI, which aren't present in a DDO world
rvagg
added a commit
that referenced
this issue
Aug 21, 2024
Fixes: #12369 deprecate StateMinerInitialPledgeCollateral since it only accounts for deals in PCI, which aren't present in a DDO world
rvagg
added a commit
that referenced
this issue
Sep 5, 2024
Fixes: #12369 deprecate StateMinerInitialPledgeCollateral since it only accounts for deals in PCI, which aren't present in a DDO world
rvagg
added a commit
that referenced
this issue
Sep 11, 2024
Fixes: #12369 deprecate StateMinerInitialPledgeCollateral since it only accounts for deals in PCI, which aren't present in a DDO world
rvagg
added a commit
that referenced
this issue
Sep 17, 2024
Fixes: #12369 deprecate StateMinerInitialPledgeCollateral since it only accounts for deals in PCI, which aren't present in a DDO world
rvagg
added a commit
that referenced
this issue
Sep 19, 2024
Fixes: #12369 deprecate StateMinerInitialPledgeCollateral since it only accounts for deals in PCI, which aren't present in a DDO world
rvagg
added a commit
that referenced
this issue
Sep 25, 2024
Fixes: #12369 deprecate StateMinerInitialPledgeCollateral since it only accounts for deals in PCI, which aren't present in a DDO world
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Checklist
Latest release
, the most recent RC(release canadiate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.Lotus component
Lotus Version
Repro Steps
...
Describe the Bug
Method StateMinerInitialPledgeCollateral was used to calculate the initial collateral to be send via ProveCommit1 and ProveCommit2 messages for the deal sectors. Post DDO, this calculation seem off and collateral is too low. This results in collateral being deducted from miner balance.
I would request the team to fix the calculation to account for DDO sectors and add additional method to allow calculation for pledge for snap-deals as well. This can either be an additional method or use the same one.
Logging Information
The text was updated successfully, but these errors were encountered: