From c646b8e38fecb24e4ecb955dd693a5d6b50bf1d8 Mon Sep 17 00:00:00 2001 From: Nicholas Addison Date: Thu, 28 Sep 2023 13:52:26 +1000 Subject: [PATCH] prettier --- .../proxies/InitializeGovernedUpgradeabilityProxy.sol | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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);