Hello everyone! Is there a possibility to re-deploy all 3 Proxy contracts bundle (Logic contract, ProxyAdmin contract and TransparentProxy contract) with upgrades.deployProxy()
, but not only one Proxy contract?
If anyone has such problems as me, I solved them by deleting the .openzeppelin
folder in root directory, which contains all the data about deployed proxy contracts on different networks.
Please be careful with this. Do not delete the .openzeppelin
folder if you have deployments on mainnet or testnets that you care about. For mainnet and testnets, you should commit the .openzeppelin
folder to version control to ensure you do not lose information about your deployments -- see https://docs.openzeppelin.com/upgrades-plugins/1.x/network-files#configuration-files-in-version-control
1 Like