From 04268f34b6941b06947b00e8e5d93a09d350c333 Mon Sep 17 00:00:00 2001 From: vladbochok Date: Mon, 14 Oct 2024 19:10:31 +0400 Subject: [PATCH] Fix N-07 --- l1-contracts/contracts/governance/PermanentRestriction.sol | 1 + 1 file changed, 1 insertion(+) diff --git a/l1-contracts/contracts/governance/PermanentRestriction.sol b/l1-contracts/contracts/governance/PermanentRestriction.sol index 153ce369e..9fb8f6722 100644 --- a/l1-contracts/contracts/governance/PermanentRestriction.sol +++ b/l1-contracts/contracts/governance/PermanentRestriction.sol @@ -54,6 +54,7 @@ contract PermanentRestriction is IRestriction, IPermanentRestriction, Ownable2St mapping(address adminAddress => bool isWhitelisted) public allowedL2Admins; constructor(IBridgehub _bridgehub, address _l2AdminFactory) { + _disableInitializers(); BRIDGE_HUB = _bridgehub; L2_ADMIN_FACTORY = _l2AdminFactory; }