Skip to content

v3.2.0

Choose a tag to compare

@rjan90 rjan90 released this 19 Mar 06:59
323467e

This release upgrades PDPVerifier from v3.1.0 to v3.2.0 and adds better piece discovery APIs plus support for satisfying sybil-fee requirements via USDFC-backed payments. The existing FIL-based fee path remains supported.

Deployed

Mainnet:

Calibnet:

Breaking Changes

  • No breaking changes for existing PDP user flows such as dataset creation, piece management, proof submission, or the existing read/query methods used against v3.1.0.

Added

  • Added getActivePiecesByCursor() for cursor-based pagination, allowing clients to page through large data sets in O(limit) gas instead of paying the O(offset) scan cost of getActivePieces() (#246)
  • Added findPieceIdsByCid() to look up active piece IDs by piece CID with cursor-style scanning and bounded result size (#250)
  • Added support for satisfying sybil-fee requirements for createDataSet() and the new-data-set path of addPieces() via USDFC-backed payments, with FIL burn fallback when msg.value is provided (#249)
  • Added the USDFC_SYBIL_FEE() getter to IPDPVerifier so typed integrations can read the configured USDFC sybil-fee amount (#249)
  • Added the FIL_SYBIL_FEE() getter to IPDPVerifier so integrations can read the FIL fallback sybil-fee amount directly from the contract (#256)
    • Impact on existing PDPListener integrations: none. Listener callbacks and emitted events are unchanged, so existing listeners continue to work without modification unless they want to query the new getter.

Changed

  • Updated provePossession() to follow check-effects-interactions ordering by recording the proven epoch before external listener callbacks and refunds (#242)

Documentation

  • Added a per-piece security guarantees section to the design documentation to clarify the probabilistic protection model for data-set proving (#241)