-
Notifications
You must be signed in to change notification settings - Fork 16
Use Synapse's costs API #402
Copy link
Copy link
Open
Labels
team/filecoin-pin"Filecoin Pin" project is a stakeholder for this work."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.FOC working group is a stakeholder for this work, and thus wants to track it on their project board.
Milestone
Metadata
Metadata
Assignees
Labels
team/filecoin-pin"Filecoin Pin" project is a stakeholder for this work."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.FOC working group is a stakeholder for this work, and thus wants to track it on their project board.
filecoin-pin's costs / runway calculations predate the new APIs in Synapse, but now they should be treated as canonical. There's a whole lot of code in src/core/payments/funding.ts that has our custom logic. Maybe we have to keep some or most of it? But if we can defer the tricky logic to synapse, even just synapse-core, then that would be preferred so we don't have to maintain our own and hit things like the new sybil fee for clients.