wighawag / hardhat-deploy

hardhat deployment plugin
MIT License
1.17k stars 283 forks source link

README proxy deploy example when constructor and init args differ #493

Closed Git-on-my-level closed 8 months ago

Git-on-my-level commented 8 months ago

Current examples for deploying with a proxy only covers the case where the constructor and proxy init args are the same. I spent a long time trying to figure out how to deploy when they are different. I hope this example helps others who are trying to do the same, this is a common pattern (for the constructor and init to be different) when using OpenZeppelin's libraries.

wighawag commented 8 months ago

Thanks @Git-on-my-level !