v3.2.0
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:
- PDPVerifier Implementation: 0xC57535dfaF5da0537cBf886313965Cf76b82C24E
- PDPVerifier Proxy: 0xBADd0B92C1c71d02E7d520f64c0876538fa2557F
Calibnet:
- PDPVerifier Implementation: 0x4c8eDFD417D5dAb87F24905321fC5C5e6d38A6E9
- PDPVerifier Proxy: 0x85e366Cf9DD2c0aE37E963d9556F5f4718d6417C
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 inO(limit)gas instead of paying theO(offset)scan cost ofgetActivePieces()(#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 ofaddPieces()via USDFC-backed payments, with FIL burn fallback whenmsg.valueis provided (#249) - Added the
USDFC_SYBIL_FEE()getter toIPDPVerifierso typed integrations can read the configured USDFC sybil-fee amount (#249) - Added the
FIL_SYBIL_FEE()getter toIPDPVerifierso integrations can read the FIL fallback sybil-fee amount directly from the contract (#256)- Impact on existing
PDPListenerintegrations: none. Listener callbacks and emitted events are unchanged, so existing listeners continue to work without modification unless they want to query the new getter.
- Impact on existing
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)