From 92861703624857b8a3a4d4955e8f911325ccf18b Mon Sep 17 00:00:00 2001 From: Van0k Date: Tue, 8 Oct 2024 17:32:15 +0400 Subject: [PATCH] fix: fix interface --- contracts/market/ControllerTimelockV3.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/market/ControllerTimelockV3.sol b/contracts/market/ControllerTimelockV3.sol index 2fa6bf5..9a3a183 100644 --- a/contracts/market/ControllerTimelockV3.sol +++ b/contracts/market/ControllerTimelockV3.sol @@ -3,7 +3,7 @@ // (c) Gearbox Foundation, 2023. pragma solidity ^0.8.17; -import {IACL} from "../interfaces/IACL.sol"; +import {IACLExt} from "../interfaces/extensions/IACLExt.sol"; import {ACLTrait} from "@gearbox-protocol/core-v3/contracts/traits/ACLTrait.sol"; import { @@ -91,7 +91,7 @@ contract ControllerTimelockV3 is ACLTrait, IControllerTimelockV3 { uint256 len = keys.length; unchecked { for (uint256 i; i < len; ++i) { - policies[keys[i]].admin = IACL(_acl).owner(); + policies[keys[i]].admin = IACLExt(_acl).getConfigurator(); policies[keys[i]].delay = DEFAULT_DELAY; _isValidPolicyKey[keys[i]] = true; }