proxy: {
proxyContract: 'ProxyTest',
execute: {
methodName: 'initialize', // Function to call when deployed first time.
args: [
2
],
},
},
contract: 'ProxyTest',
})
2. See error:
Error: function "owner" will shadow "owner". Please update code to avoid conflict
**Expected behavior**
I expected the ProxyTestV2 will be deployed as the new implementation of ProxyTest proxy contract.
**versions**
"hardhat": "^2.12.2",
"hardhat-deploy": "0.11.22",
"hardhat-deploy-ethers": "^0.3.0-beta.13",
Describe the bug I am unable to upgrade a uups proxy contract
To Reproduce
I've created the following contracts:
execute:
await deploy('ProxyTestV2', { from: deployerAddress, args:[],