diff --git a/contracts/contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol b/contracts/contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol index b847c1acb9..ae83f28c10 100644 --- a/contracts/contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol +++ b/contracts/contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol @@ -81,10 +81,11 @@ contract InitializeGovernedUpgradeabilityProxy is Governable { * It should include the signature and the parameters of the function to be called, as described in * https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding. */ - function upgradeToAndCall( - address newImplementation, - bytes calldata data - ) external payable onlyGovernor { + function upgradeToAndCall(address newImplementation, bytes calldata data) + external + payable + onlyGovernor + { _upgradeTo(newImplementation); (bool success, ) = newImplementation.delegatecall(data); require(success);