diff --git a/test/_timelock.spec.ts b/test/_timelock.spec.ts index 84eacd06..1191a401 100644 --- a/test/_timelock.spec.ts +++ b/test/_timelock.spec.ts @@ -1,7 +1,7 @@ import {loadFixture} from "@nomicfoundation/hardhat-network-helpers"; import {expect} from "chai"; import {deployReserveTimeLockStrategy} from "../helpers/contracts-deployments"; -import {MAX_UINT_AMOUNT, ZERO_ADDRESS} from "../helpers/constants"; +import {MAX_UINT_AMOUNT, ONE_ADDRESS} from "../helpers/constants"; import { getInitializableAdminUpgradeabilityProxy, getPoolConfiguratorProxy, @@ -531,7 +531,7 @@ describe("TimeLock functionality tests", () => { await waitForTx( await (await getInitializableAdminUpgradeabilityProxy(timeLock.address)) .connect(poolAdmin.signer) - .changeAdmin(ZERO_ADDRESS) + .changeAdmin(ONE_ADDRESS) ); await waitForTx( await timeLock diff --git a/test/_timelock_whitelist.spec.ts b/test/_timelock_whitelist.spec.ts index b51d79cb..a9938113 100644 --- a/test/_timelock_whitelist.spec.ts +++ b/test/_timelock_whitelist.spec.ts @@ -11,7 +11,7 @@ import {supplyAndValidate} from "./helpers/validated-steps"; import {almostEqual} from "./helpers/uniswapv3-helper"; import {convertToCurrencyDecimals} from "../helpers/contracts-helpers"; import {getInitializableAdminUpgradeabilityProxy} from "../helpers/contracts-getters"; -import {ZERO_ADDRESS} from "../helpers/constants"; +import {ONE_ADDRESS} from "../helpers/constants"; describe("timeLock whiteList tests", function () { let defaultTimeLockStrategy: DefaultTimeLockStrategy; @@ -95,7 +95,7 @@ describe("timeLock whiteList tests", function () { await waitForTx( await (await getInitializableAdminUpgradeabilityProxy(timeLock.address)) .connect(poolAdmin.signer) - .changeAdmin(ZERO_ADDRESS) + .changeAdmin(ONE_ADDRESS) ); await waitForTx( await timeLock