Skip to content

Document overestimation in API calls #12913

@rvagg

Description

@rvagg

Coming out of filecoin-project/FIPs#847 (comment)

Some of our APIs overestimate because they're designed to be used by SP software where you can't underestimate, but we really should document the overestimation amount (or remove it entirely and leave it up to the caller to deal with!).

StateDealProviderCollateralBounds upscales the minimum to 110%

StateMinerPreCommitDepositForPower, StateMinerInitialPledgeCollateral, StateMinerInitialPledgeForSector all upscale pledge to 110%.

Let's just note these in api_full.go.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    ☑️ Done (Archive)

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions