Skip to content

tools: update mainnet/calibnet PDPVerifier deploy helpers#255

Merged
rjan90 merged 7 commits intomainfrom
phi/update-tools
Mar 17, 2026
Merged

tools: update mainnet/calibnet PDPVerifier deploy helpers#255
rjan90 merged 7 commits intomainfrom
phi/update-tools

Conversation

@rjan90
Copy link
Contributor

@rjan90 rjan90 commented Mar 16, 2026

Summary

Update the main PDPVerifier deployment helpers to use the current 4-argument constructor. This is needed to unblock next steps in #252 and #253

As of v3.2.0, PDPVerifier no longer takes only the reinitializer version in its constructor. New implementations must also be deployed with the USDFC token address, the USDFC sybil-fee amount, and the payments contract address.

This PR updates the scripts we need to unblock Calibration and Mainnet implementation deployment, plus the generic upgrade helper that also deploys replacement PDPVerifier implementations.

Why

PDPVerifier now defines the following constructor in src/PDPVerifier.sol:

  • _initializerVersion
  • _usdfcTokenAddress
  • _usdfcSybilFee
  • _paymentsContractAddress

Those values are constructor-time configuration for the implementation contract. They are not proxy initializer inputs, and they cannot be filled in later by initialize().

That means any script that publishes a new PDPVerifier implementation must pass all four values at deploy time. The existing helpers still assumed the old single-argument constructor and were therefore stale for v3.2.0.

update mainnet/calibnet PDPVerifier deploy helpers
@rjan90 rjan90 self-assigned this Mar 16, 2026
@rjan90 rjan90 added this to FOC Mar 16, 2026
@rjan90 rjan90 added this to the M4.1: mainnet ready milestone Mar 16, 2026
@github-project-automation github-project-automation bot moved this to 📌 Triage in FOC Mar 16, 2026
@rjan90 rjan90 moved this to 🔎 Awaiting review in PDP Mar 16, 2026
@rjan90 rjan90 moved this from 📌 Triage to 🔎 Awaiting review in FOC Mar 16, 2026
Copy link
Contributor

@ZenGround0 ZenGround0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

About to push a commit to fixup devnet deploy script. At which point this is ok to merge.

@github-project-automation github-project-automation bot moved this from 🔎 Awaiting review to ✔️ Approved by reviewer in FOC Mar 17, 2026
@rjan90 rjan90 merged commit 660050b into main Mar 17, 2026
3 checks passed
@rjan90 rjan90 deleted the phi/update-tools branch March 17, 2026 18:35
@github-project-automation github-project-automation bot moved this from ✔️ Approved by reviewer to 🎉 Done in FOC Mar 17, 2026
@github-project-automation github-project-automation bot moved this from 🔎 Awaiting review to 🎉 Done in PDP Mar 17, 2026
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.

2 participants