Skip to content

Conversation

@rjan90
Copy link
Contributor

@rjan90 rjan90 commented Oct 21, 2025

Publish PDP release for M4.

Diff from the v2.2.1 tag:

git log v2.2.1..HEAD --oneline --no-merges
895b6f1 (HEAD -> phi/prep-3.0.0-release, origin/main, origin/HEAD, main) fix: remove EXTRA_DATA_MAX_SIZE limit (#225)
359fbbb Fix & clarify all uses of "rawSize" (#223)
097d3cd rm gasUsed (#222)

All the changes has been called out in the changelog. The changelog changes/version constant can be reviewed while I publish the contract (will add updates in this PR)

build: prep PDP v3.0.0 release
@rjan90 rjan90 requested review from Kubuxu and rvagg October 21, 2025 08:33
@rjan90 rjan90 self-assigned this Oct 21, 2025
@FilOzzy FilOzzy added this to FS Oct 21, 2025
@github-project-automation github-project-automation bot moved this to 📌 Triage in FS Oct 21, 2025
@rjan90 rjan90 moved this from 📌 Triage to 🔎 Awaiting review in FS Oct 21, 2025
@rjan90 rjan90 moved this to 🔎 Awaiting review in PDP Oct 21, 2025
@github-project-automation github-project-automation bot moved this from 🔎 Awaiting review to ✔️ Approved by reviewer in FS Oct 21, 2025
@rjan90
Copy link
Contributor Author

rjan90 commented Oct 21, 2025

I ran the deploy Calibnet-script here https://github.com/FilOzone/pdp/blob/main/tools/deploy-calibnet.sh, from this branch at:

git log
commit 02fe5c6 (HEAD -> phi/prep-3.0.0-release, origin/phi/prep-3.0.0-release)
Author: Phi [email protected]
Date: Tue Oct 21 10:30:33 2025 +0200

Deploying with: CHALLENGE_FINALITY=10, and using the M4 FWSS Calibnet-Deployer keystore that is stored of the FilOz 1Password:

./deploy-calibnet.sh
Deploying to calibnet
Deploying PDP verifier from address 0xe7D1b14eAC0dcE3d6867C2Ef06b5bdFF52362C84
PDP verifier implementation deployed at: 0x9Fe814dd4eC663557c3D74c386CB5BC4be528Dd1
Deploying PDP verifier proxy
PDP verifier deployed at: 0x06279D540BDCd6CA33B073cEAeA1425B6C68c93d
=================================================
DEPLOYMENT COMPLETE
=================================================
PDPVerifier Implementation: 0x9Fe814dd4eC663557c3D74c386CB5BC4be528Dd1
PDPVerifier Proxy: 0x06279D540BDCd6CA33B073cEAeA1425B6C68c93d
NOTE: SimplePDPService is no longer deployed by default as of v2.0.0.
      It remains available as a reference implementation in src/SimplePDPService.sol
      For community use and learning purposes.

@rjan90
Copy link
Contributor Author

rjan90 commented Oct 21, 2025

I ran the Mainnet-script here: https://github.com/FilOzone/pdp/blob/main/tools/deploy-mainnet.sh from this branch at:

git log
commit 02fe5c6 (HEAD -> phi/prep-3.0.0-release, origin/phi/prep-3.0.0-release)
Author: Phi [email protected]
Date: Tue Oct 21 10:30:33 2025 +0200

This is using the FilOz Dustwallet keystore that is stored of the FilOz 1Password:

./deploy-mainnet.sh
Deploying to mainnet
Deploying PDP verifier from address 0x2127C3a31F54B81B5E9AD1e29C36c420d3D6ecC5
PDP verifier implementation deployed at: 0x78d8C130995701136EeC85094628015967315FB8
Deploying PDP verifier proxy
PDP verifier deployed at: 0x8b3e727D1Df709D5cac9FcBef57B139A9298766C
=================================================
DEPLOYMENT COMPLETE
=================================================
PDPVerifier Implementation: 0x78d8C130995701136EeC85094628015967315FB8
PDPVerifier Proxy: 0x8b3e727D1Df709D5cac9FcBef57B139A9298766C
NOTE: SimplePDPService is no longer deployed by default as of v2.0.0.
      It remains available as a reference implementation in src/SimplePDPService.sol
      For community use and learning purposes.

@rjan90
Copy link
Contributor Author

rjan90 commented Oct 21, 2025

Verifying the Calibnet Contracts:

Filfox:

Implementation contract:

filfox-verifier forge 0x9Fe814dd4eC663557c3D74c386CB5BC4be528Dd1 src/PDPVerifier.sol:PDPVerifier --chain 314159
⠧ Verifying contract on Filfox...
Verification Result:
✔ ✅ Contract "PDPVerifier" verified successfully!
✔ 🔗 View at: https://calibration.filfox.info/en/address/0x9Fe814dd4eC663557c3D74c386CB5BC4be528Dd1

Verify proxy contract:

filfox-verifier forge 0x06279D540BDCd6CA33B073cEAeA1425B6C68c93d src/ERC1967Proxy.sol:MyERC1967Proxy --chain 314159
⠇ Verifying contract on Filfox...
Verification Result:
✔ ✅ Contract "MyERC1967Proxy" verified successfully!
✔ 🔗 View at: https://calibration.filfox.info/en/address/0x06279D540BDCd6CA33B073cEAeA1425B6C68c93d

Blockscout:

Implementation contract:

VERIFIER_IMPLEMENTATION_ADDRESS="0x9Fe814dd4eC663557c3D74c386CB5BC4be528Dd1"
PDP_VERIFIER_PROXY_ADDRESS="0x06279D540BDCd6CA33B073cEAeA1425B6C68c93d"
BLOCKSCOUT_URL="https://filecoin-testnet.blockscout.com/api/"

forge verify-contract
--verifier blockscout
--verifier-url "$BLOCKSCOUT_URL"
--chain-id 314159
--watch
$VERIFIER_IMPLEMENTATION_ADDRESS
src/PDPVerifier.sol:PDPVerifier

✅Verified Implementation: https://filecoin-testnet.blockscout.com/address/0x9Fe814dd4eC663557c3D74c386CB5BC4be528Dd1

Proxy contract:

forge verify-contract
--verifier blockscout
--verifier-url "$BLOCKSCOUT_URL"
--chain-id 314159
--watch
--constructor-args $CONSTRUCTOR_ARGS
$PDP_VERIFIER_PROXY_ADDRESS
src/ERC1967Proxy.sol:MyERC1967Proxy

✅ Proxy: https://filecoin-testnet.blockscout.com/address/0x06279D540BDCd6CA33B073cEAeA1425B6C68c93d

@rjan90
Copy link
Contributor Author

rjan90 commented Oct 21, 2025

Verifying the Mainnet Contracts:

Filfox:

Implementation contract:

filfox-verifier forge 0x78d8C130995701136EeC85094628015967315FB8 src/PDPVerifier.sol:PDPVerifier --chain 314
⠴ Verifying contract on Filfox...
Verification Result:
✔ ✅ Contract "PDPVerifier" verified successfully!
✔ 🔗 View at: https://filfox.info/en/address/0x78d8C130995701136EeC85094628015967315FB8

Proxy contract:

filfox-verifier forge 0x8b3e727D1Df709D5cac9FcBef57B139A9298766C src/ERC1967Proxy.sol:MyERC1967Proxy --chain 314
⠋ Verifying contract on Filfox...
Verification Result:
✔ ✅ Contract "MyERC1967Proxy" verified successfully!
✔ 🔗 View at: https://filfox.info/en/address/0x8b3e727D1Df709D5cac9FcBef57B139A9298766C

Blockscout:

Implementation contract:
✅: https://filecoin.blockscout.com/address/0x78d8c130995701136eec85094628015967315fb8

Proxy contract:
✅: https://filecoin.blockscout.com/address/0x8b3e727D1Df709D5cac9FcBef57B139A9298766C

docs: add published v3.0.0 contracts to changelog
@rjan90 rjan90 merged commit 856fd2f into main Oct 21, 2025
3 checks passed
@rjan90 rjan90 deleted the phi/prep-3.0.0-release branch October 21, 2025 10:41
@github-project-automation github-project-automation bot moved this from ✔️ Approved by reviewer to 🎉 Done in FS Oct 21, 2025
@github-project-automation github-project-automation bot moved this from 🔎 Awaiting review to 🎉 Done in PDP Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🎉 Done
Status: 🎉 Done

Development

Successfully merging this pull request may close these issues.

3 participants