From 9e0fe62d7baacb49db4c6af54e31287b9aa6e634 Mon Sep 17 00:00:00 2001 From: Shahul Hameed <10547529+shahthepro@users.noreply.github.com> Date: Fri, 7 Apr 2023 15:03:50 +0400 Subject: [PATCH] Set Governor address to zero on implementation contracts --- .../strategies/uniswap/UniswapV3StrategyStorage.sol | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/contracts/contracts/strategies/uniswap/UniswapV3StrategyStorage.sol b/contracts/contracts/strategies/uniswap/UniswapV3StrategyStorage.sol index eb2e3862d7..eeb04e7569 100644 --- a/contracts/contracts/strategies/uniswap/UniswapV3StrategyStorage.sol +++ b/contracts/contracts/strategies/uniswap/UniswapV3StrategyStorage.sol @@ -153,6 +153,12 @@ abstract contract UniswapV3StrategyStorage is InitializableAbstractStrategy { // Future-proofing uint256[100] private __gap; + constructor() { + // Governor address is set on the proxy contract. There's no need to + // set a Governor for the implementation contract + _setGovernor(address(0)); + } + /*************************************** Modifiers ****************************************/