openzeppelin-upgrades
openzeppelin-upgrades copied to clipboard
Upgrade transaction is sent even if proxy is already upgraded
Running upgradeProxy twice on the same proxy with the same implementation contract sends two upgrade transactions under the hood. The second transaction should not be necessary, since the proxy is already set to the correct implementation.
Reported again in https://github.com/OpenZeppelin/openzeppelin-upgrades/issues/289.