Skip to content
Discussion options

You must be logged in to vote

I Agree with the recommendation. A few implementation-grounded notes before we commit.

On migrating the current setup

PROXY_KIND = "transparent" in hardhat/deploy/constants.ts exists precisely so scripts, tests, and the Hardhat Upgrades plugin always agree on the pattern — changing it to "uups" is a one-line diff, and upgrades.validateUpgrade (called in all four upgrade test suites) will enforce UUPS compliance automatically from that point. The V2 test contracts are all thin inheritors (DinCoordinatorV2 is DinCoordinator, etc.), so the structural change at the base is minimal: add UUPSUpgradeable to the inheritance chain, add a protected _authorizeUpgrade stub, and run validateUpgrade be…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by umeradl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants