Hi, is it exists a way to execute upgrades.upgradeProxy
using different ethers signer?
I am writing tests to be sure what the whole flow is working fine.
Here are these test steps:
- upgrades.deployProxy
- getting a proxy admin owner:
upgrades.admin.getInstance
->adminInstance.owner
- the proxy admin owner must be equal to the default ethers signer which made the deployment
- transferring admin ownership:
upgrades.admin.transferProxyAdminOwnership
- getting a proxy admin owner again. It must be equal the signer address what has been set during the previous step
- trying to
upgrades.upgradeProxy
the contract instance. Must to throw with error: "Ownable: caller is not the owner"
These six steps are fulfilled successfully.
But how to call upgrades.upgradeProxy
using the new admin proxy owner to be sure that the upgrade feature will work after the proxy admin ownership transfer?
Also, I'm getting the following messages:
✘ 0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0 (transparent) proxy ownership not affected by admin proxy
✔ 0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9 (transparent) proxy ownership transfered through admin proxy
✔ 0x5FC8d32690cc91D4c39d9d3abcBD16989F875707 (transparent) proxy ownership transfered through admin proxy
✔ 0x2279B7A0a67DB372996a5FaB50D91eAA73d2eBe6 (transparent) proxy ownership transfered through admin proxy
✔ 0x610178dA211FEF7D417bC0e6FeD39F05609AD788 (transparent) proxy ownership transfered through admin proxy
What does it mean?