Skip to content

PDP: Send 0.1 FIL cleanup deposit on pdpv0 data set creation #1237

Description

@rvagg

Ref: https://www.notion.so/filecoindev/Data-Set-Terminations-Clean-up-360dc41950c1801ebf0aff017a322e7f

PDPVerifier will require a 0.1 FIL cleanup deposit at data set creation. Curio pdpv0 create paths currently send zero FIL value.

Scope:

  • Update pdpv0 data set creation transactions to send the 0.1 FIL cleanup deposit:
    • POST /pdp/data-sets
    • POST /pdp/data-sets/create-and-add
  • Prefer reading the required amount from the PDPVerifier getter once/if ABI bindings include it (FIL_CLEANUP_DEPOSIT() in here).
  • Ensure sender balance failures are clear in logs/errors.

Deployment note:

Before the PDPVerifier upgrade, sending 0.1 FIL should be accepted as the existing FIL sybil-fee fallback. If FWSS pays the USDFC sybil fee during creation, the FIL should be refunded by the current contract, so this change should be deployable before the PDPVerifier upgrade.

Metadata

Metadata

Assignees

Labels

team/fs-wgItems being worked on or tracked by the "FS Working Group". See FilOzone/github-mgmt #10

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
🎉 Done

Relationships

None yet

Development

No branches or pull requests

Issue actions