openzeppelin-upgrades icon indicating copy to clipboard operation
openzeppelin-upgrades copied to clipboard

Upgrade transaction is sent even if proxy is already upgraded

Open spalladino opened this issue 5 years ago • 1 comments

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.

spalladino avatar Jul 31 '20 22:07 spalladino

Reported again in https://github.com/OpenZeppelin/openzeppelin-upgrades/issues/289.

frangio avatar Jan 25 '21 20:01 frangio