From 74684fe79ce5d64febe15f18d95c1d06b8afb226 Mon Sep 17 00:00:00 2001 From: Phi Date: Thu, 2 Oct 2025 10:57:07 +0200 Subject: [PATCH 1/5] chore: prep 2.2.0-rc1 chore: prep 2.2.0-rc1 --- CHANGELOG.md | 30 ++++++++++++++++++++++++++++++ src/PDPVerifier.sol | 2 +- 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0806f04..1d3b63d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,36 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ## [Unreleased] +## [2.2.0-rc1] - 2025-10-02 + +### Deployed + +**Mainnet:** +- PDPVerifier Implementation: [Address_To_Be_Published] +- PDPVerifier Proxy: [Address_To_Be_Published] + +**Calibnet:** +- PDPVerifier Implementation: [Address_To_Be_Published] +- PDPVerifier Proxy: [Address_To_Be_Published] + +### 💥 Breaking Changes +- Merged `createDataset` and `addPieces` functions for streamlined dataset creation ([#201](https://github.com/FilOzone/pdp/pull/201)) + - **Removed**: `createDataset()` function no longer exists + - **Changed**: `addPieces()` now handles both creating new datasets AND adding pieces to existing datasets + - **Migration Guide**: + - To create a new dataset with pieces: Call `addPieces(type(uint256).max, listenerAddress, pieces, extraData)` + - To add pieces to existing dataset: Call `addPieces(datasetID, address(0), pieces, extraData)` + - **Benefits**: Single transaction replaces the previous two-step process (create, then add), reducing wait times and gas costs + +### 🐛 Fixed +- Fixed `vm.getBlockNumber` in test environments ([#206](https://github.com/FilOzone/pdp/pull/206)) + +### 📝 Changelog + +For the full set of changes since the last tag: + +**[View all changes between v2.1.0 and v2.2.0-rc1](https://github.com/FilOzone/pdp/compare/v2.1.0...v2.2.0-rc1)** + ## [2.1.0] - 2025-09-17 ### Deployed diff --git a/src/PDPVerifier.sol b/src/PDPVerifier.sol index c5022b4..efdcf05 100644 --- a/src/PDPVerifier.sol +++ b/src/PDPVerifier.sol @@ -161,7 +161,7 @@ contract PDPVerifier is Initializable, UUPSUpgradeable, OwnableUpgradeable { feeStatus.nextFeePerTiB = PDPFees.DEFAULT_FEE_PER_TIB; } - string public constant VERSION = "2.1.0"; + string public constant VERSION = "2.2.0"; event ContractUpgraded(string version, address implementation); From 2df788c36404a8aa5eb4b0960d7063ee9883a565 Mon Sep 17 00:00:00 2001 From: Phi Date: Mon, 6 Oct 2025 19:30:48 +0200 Subject: [PATCH 2/5] docs: prep for contract list in README docs: prep for listing v2.2.0 contract addresses in README --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 8978e57..0a78b1f 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,16 @@ The PDP service contract and the PDP verifier contracts are deployed on Filecoin > Disclaimer: ⚠️ These contracts are still in beta testing and might be upgraded for bug fixes and/or improvements. Please use with caution for production environments. ⚠️ +#### v2.2.0 + +**Mainnet:** +- PDPVerifier Implementation: [Address_To_Be_Published] +- PDPVerifier Proxy: [Address_To_Be_Published] + +**Calibnet:** +- PDPVerifier Implementation: [Address_To_Be_Published] +- PDPVerifier Proxy: [Address_To_Be_Published] + #### v2.1.0 **Mainnet:** From 5bf2a4a209856c9dfe3d2a1aa46e866d5d8e0eff Mon Sep 17 00:00:00 2001 From: Phi Date: Mon, 6 Oct 2025 19:39:04 +0200 Subject: [PATCH 3/5] docs: fix date and update changelog docs: fix date and update changelog --- CHANGELOG.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d3b63d..fa27923 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ## [Unreleased] -## [2.2.0-rc1] - 2025-10-02 +## [2.2.0] - 2025-10-06 ### Deployed @@ -26,7 +26,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - To add pieces to existing dataset: Call `addPieces(datasetID, address(0), pieces, extraData)` - **Benefits**: Single transaction replaces the previous two-step process (create, then add), reducing wait times and gas costs -### 🐛 Fixed +### Added +- feat: Update PDP proof fee ([#214](https://github.com/FilOzone/pdp/pull/214)) + +### Changed +- rm unused constants ([#211](https://github.com/FilOzone/pdp/pull/211)) +- remove seconds per day again ([#215](https://github.com/FilOzone/pdp/pull/215)) - Fixed `vm.getBlockNumber` in test environments ([#206](https://github.com/FilOzone/pdp/pull/206)) ### 📝 Changelog From 055e3b27a73e0e0e92ea337cd324e175cc05bc8e Mon Sep 17 00:00:00 2001 From: Phi Date: Mon, 6 Oct 2025 20:03:43 +0200 Subject: [PATCH 4/5] docs: update published v2.2.0 calibnet addresses docs: update published v2.2.0 calibnet addresses --- CHANGELOG.md | 4 ++-- README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fa27923..cf574ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,8 +14,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - PDPVerifier Proxy: [Address_To_Be_Published] **Calibnet:** -- PDPVerifier Implementation: [Address_To_Be_Published] -- PDPVerifier Proxy: [Address_To_Be_Published] +- PDPVerifier Implementation: [0xCa92b746a7af215e0AaC7D0F956d74B522b295b6](https://calibration.filfox.info/en/address/0xCa92b746a7af215e0AaC7D0F956d74B522b295b6) +- PDPVerifier Proxy: [0x9ecb84bB617a6Fd9911553bE12502a1B091CdfD8](https://calibration.filfox.info/en/address/0x9ecb84bB617a6Fd9911553bE12502a1B091CdfD8) ### 💥 Breaking Changes - Merged `createDataset` and `addPieces` functions for streamlined dataset creation ([#201](https://github.com/FilOzone/pdp/pull/201)) diff --git a/README.md b/README.md index 0a78b1f..760a3f1 100644 --- a/README.md +++ b/README.md @@ -26,8 +26,8 @@ The PDP service contract and the PDP verifier contracts are deployed on Filecoin - PDPVerifier Proxy: [Address_To_Be_Published] **Calibnet:** -- PDPVerifier Implementation: [Address_To_Be_Published] -- PDPVerifier Proxy: [Address_To_Be_Published] +- PDPVerifier Implementation: [0xCa92b746a7af215e0AaC7D0F956d74B522b295b6](https://calibration.filfox.info/en/address/0xCa92b746a7af215e0AaC7D0F956d74B522b295b6) +- PDPVerifier Proxy: [0x9ecb84bB617a6Fd9911553bE12502a1B091CdfD8](https://calibration.filfox.info/en/address/0x9ecb84bB617a6Fd9911553bE12502a1B091CdfD8) #### v2.1.0 From 8231f4ac78f4e955b60ee9c5bd10357a01a13b00 Mon Sep 17 00:00:00 2001 From: Phi Date: Mon, 6 Oct 2025 20:20:35 +0200 Subject: [PATCH 5/5] docs: update published mainnet v2.2.0 contracts docs: update published mainnet v2.2.0 contracts --- CHANGELOG.md | 4 ++-- README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cf574ac..a63f791 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,8 +10,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ### Deployed **Mainnet:** -- PDPVerifier Implementation: [Address_To_Be_Published] -- PDPVerifier Proxy: [Address_To_Be_Published] +- PDPVerifier Implementation: [[0xfEFD001a9aFfb38Bba7f81e3FB37a1ab8F392A5A](https://filfox.info/en/address/0xfEFD001a9aFfb38Bba7f81e3FB37a1ab8F392A5A) +- PDPVerifier Proxy: [0x9F1bc521A7C3cFeC76c32611Aab50a6dFfb93290](https://filfox.info/en/address/0x9F1bc521A7C3cFeC76c32611Aab50a6dFfb93290) **Calibnet:** - PDPVerifier Implementation: [0xCa92b746a7af215e0AaC7D0F956d74B522b295b6](https://calibration.filfox.info/en/address/0xCa92b746a7af215e0AaC7D0F956d74B522b295b6) diff --git a/README.md b/README.md index 760a3f1..97e6622 100644 --- a/README.md +++ b/README.md @@ -22,8 +22,8 @@ The PDP service contract and the PDP verifier contracts are deployed on Filecoin #### v2.2.0 **Mainnet:** -- PDPVerifier Implementation: [Address_To_Be_Published] -- PDPVerifier Proxy: [Address_To_Be_Published] +- PDPVerifier Implementation: [[0xfEFD001a9aFfb38Bba7f81e3FB37a1ab8F392A5A](https://filfox.info/en/address/0xfEFD001a9aFfb38Bba7f81e3FB37a1ab8F392A5A) +- PDPVerifier Proxy: [0x9F1bc521A7C3cFeC76c32611Aab50a6dFfb93290](https://filfox.info/en/address/0x9F1bc521A7C3cFeC76c32611Aab50a6dFfb93290) **Calibnet:** - PDPVerifier Implementation: [0xCa92b746a7af215e0AaC7D0F956d74B522b295b6](https://calibration.filfox.info/en/address/0xCa92b746a7af215e0AaC7D0F956d74B522b295b6)