forked from filecoin-project/lotus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(miner): add DDO-friendly StateMinerInitialPledgeForSector (filec…
…oin-project#12384) * feat(miner): add DDO-friendly StateMinerInitialPledgeForSector Fixes: filecoin-project#12369 deprecate StateMinerInitialPledgeCollateral since it only accounts for deals in PCI, which aren't present in a DDO world * feat: simplify StateMinerInitialPledgeForSector arguments * feat(miner): use StateMinerInitialPledgeForSector for collateral calcs * docs: add StateMinerInitialPledgeForSector to CHANGELOG * fix: undo unnecessary docsgen changes * chore(state): use types.EmptyInt as err return instead of big.Zero() * chore(miner): add tests for pledge calculations * doc(miner): more docs about pledge calculation delta * chore(miner): tweaks to pledge api from feedback
- Loading branch information
Showing
23 changed files
with
1,308 additions
and
797 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.