wighawag / hardhat-deploy

hardhat deployment plugin
MIT License
1.19k stars 293 forks source link

Add UUPS proxy support #282

Closed PatrickAlphaC closed 2 years ago

PatrickAlphaC commented 2 years ago

There are 2 main openzeppelin proxies, but one currently supported out of the box:

  1. Transparent
  2. UUPS

You can find the differences here.

It would be great to support UUPS out of the box as well... I know this would be a little harder.

wighawag commented 2 years ago

It is already supported, see : https://github.com/wighawag/hardhat-deploy/issues/146#issuecomment-1003045997

But I could copy the openzeppelin implementation in hardhat-deploy source if that is what you mean ?

PatrickAlphaC commented 2 years ago

Gotcha, thanks!

No I think this is probably better. Make sure people who want to use UUPS know what they are doing.