Skip to content

bug: calculateStorageFromUSDFC allows 0 pricePerTib #38

@SgtPooki

Description

@SgtPooki

We should throw an error if pricePerTib is 0

yeah, we can throw on this - we should expect it to always be positive, in fact we shouldn't even need that call because it's stable (for now); we've been discussing pricing a lot this week and we expect it to change but unclear how yet but there's lots of pain in presenting this to users

Originally posted by @rvagg in #35 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomersteam/filecoin-pin"Filecoin Pin" project is a stakeholder for this work.team/fs-wgFOC working group is a stakeholder for this work, and thus wants to track it on their project board.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions