From 28f23fd3ab8451d4a3914210784355801a192ab6 Mon Sep 17 00:00:00 2001 From: 0xsuryansh Date: Fri, 8 Nov 2024 15:39:48 +0530 Subject: [PATCH] CCIP Home - remove unused import --- .../ccip/test/capability/CCIPHome..validateConfig.t.sol | 3 --- .../test/capability/CCIPHome.applyChainConfigUpdates.t.sol | 4 ---- .../capability/CCIPHome.beforeCapabilityConfigSet.t.sol | 6 ------ .../v0.8/ccip/test/capability/CCIPHome.constructor.t.sol | 7 +------ .../v0.8/ccip/test/capability/CCIPHome.getAllConfigs.t.sol | 7 ------- .../ccip/test/capability/CCIPHome.getConfigDigests.t.sol | 6 ------ 6 files changed, 1 insertion(+), 32 deletions(-) diff --git a/contracts/src/v0.8/ccip/test/capability/CCIPHome..validateConfig.t.sol b/contracts/src/v0.8/ccip/test/capability/CCIPHome..validateConfig.t.sol index dab941abddb..0ec721221c7 100644 --- a/contracts/src/v0.8/ccip/test/capability/CCIPHome..validateConfig.t.sol +++ b/contracts/src/v0.8/ccip/test/capability/CCIPHome..validateConfig.t.sol @@ -1,15 +1,12 @@ // SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.24; -import {ICapabilityConfiguration} from "../../../keystone/interfaces/ICapabilityConfiguration.sol"; import {INodeInfoProvider} from "../../../keystone/interfaces/INodeInfoProvider.sol"; import {CCIPHome} from "../../capability/CCIPHome.sol"; import {Internal} from "../../libraries/Internal.sol"; import {CCIPHomeHelper} from "../helpers/CCIPHomeHelper.sol"; -import {Test} from "forge-std/Test.sol"; -import {IERC165} from "../../../vendor/openzeppelin-solidity/v5.0.2/contracts/interfaces/IERC165.sol"; import {CCIPHomeTestSetup} from "./CCIPHomeTestSetup.t.sol"; contract CCIPHome__validateConfig is CCIPHomeTestSetup { diff --git a/contracts/src/v0.8/ccip/test/capability/CCIPHome.applyChainConfigUpdates.t.sol b/contracts/src/v0.8/ccip/test/capability/CCIPHome.applyChainConfigUpdates.t.sol index 83d7b53f8e4..baa0885de60 100644 --- a/contracts/src/v0.8/ccip/test/capability/CCIPHome.applyChainConfigUpdates.t.sol +++ b/contracts/src/v0.8/ccip/test/capability/CCIPHome.applyChainConfigUpdates.t.sol @@ -1,15 +1,11 @@ // SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.24; -import {ICapabilityConfiguration} from "../../../keystone/interfaces/ICapabilityConfiguration.sol"; import {INodeInfoProvider} from "../../../keystone/interfaces/INodeInfoProvider.sol"; import {CCIPHome} from "../../capability/CCIPHome.sol"; -import {Internal} from "../../libraries/Internal.sol"; import {CCIPHomeHelper} from "../helpers/CCIPHomeHelper.sol"; -import {Test} from "forge-std/Test.sol"; -import {IERC165} from "../../../vendor/openzeppelin-solidity/v5.0.2/contracts/interfaces/IERC165.sol"; import {CCIPHomeTestSetup} from "./CCIPHomeTestSetup.t.sol"; contract CCIPHome_applyChainConfigUpdates is CCIPHomeTestSetup { diff --git a/contracts/src/v0.8/ccip/test/capability/CCIPHome.beforeCapabilityConfigSet.t.sol b/contracts/src/v0.8/ccip/test/capability/CCIPHome.beforeCapabilityConfigSet.t.sol index 0f86ab9112b..c890b28fb03 100644 --- a/contracts/src/v0.8/ccip/test/capability/CCIPHome.beforeCapabilityConfigSet.t.sol +++ b/contracts/src/v0.8/ccip/test/capability/CCIPHome.beforeCapabilityConfigSet.t.sol @@ -1,15 +1,9 @@ // SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.24; -import {ICapabilityConfiguration} from "../../../keystone/interfaces/ICapabilityConfiguration.sol"; -import {INodeInfoProvider} from "../../../keystone/interfaces/INodeInfoProvider.sol"; - import {CCIPHome} from "../../capability/CCIPHome.sol"; import {Internal} from "../../libraries/Internal.sol"; -import {CCIPHomeHelper} from "../helpers/CCIPHomeHelper.sol"; -import {Test} from "forge-std/Test.sol"; -import {IERC165} from "../../../vendor/openzeppelin-solidity/v5.0.2/contracts/interfaces/IERC165.sol"; import {CCIPHomeTestSetup} from "./CCIPHomeTestSetup.t.sol"; contract CCIPHome_beforeCapabilityConfigSet is CCIPHomeTestSetup { diff --git a/contracts/src/v0.8/ccip/test/capability/CCIPHome.constructor.t.sol b/contracts/src/v0.8/ccip/test/capability/CCIPHome.constructor.t.sol index a67af68ee59..ebcda5c40d3 100644 --- a/contracts/src/v0.8/ccip/test/capability/CCIPHome.constructor.t.sol +++ b/contracts/src/v0.8/ccip/test/capability/CCIPHome.constructor.t.sol @@ -2,14 +2,9 @@ pragma solidity 0.8.24; import {ICapabilityConfiguration} from "../../../keystone/interfaces/ICapabilityConfiguration.sol"; -import {INodeInfoProvider} from "../../../keystone/interfaces/INodeInfoProvider.sol"; - -import {CCIPHome} from "../../capability/CCIPHome.sol"; -import {Internal} from "../../libraries/Internal.sol"; -import {CCIPHomeHelper} from "../helpers/CCIPHomeHelper.sol"; -import {Test} from "forge-std/Test.sol"; import {IERC165} from "../../../vendor/openzeppelin-solidity/v5.0.2/contracts/interfaces/IERC165.sol"; +import {CCIPHome} from "../../capability/CCIPHome.sol"; import {CCIPHomeTestSetup} from "./CCIPHomeTestSetup.t.sol"; contract CCIPHome_constructor is CCIPHomeTestSetup { diff --git a/contracts/src/v0.8/ccip/test/capability/CCIPHome.getAllConfigs.t.sol b/contracts/src/v0.8/ccip/test/capability/CCIPHome.getAllConfigs.t.sol index d463fcc8672..cd6c764853d 100644 --- a/contracts/src/v0.8/ccip/test/capability/CCIPHome.getAllConfigs.t.sol +++ b/contracts/src/v0.8/ccip/test/capability/CCIPHome.getAllConfigs.t.sol @@ -1,15 +1,8 @@ // SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.24; -import {ICapabilityConfiguration} from "../../../keystone/interfaces/ICapabilityConfiguration.sol"; -import {INodeInfoProvider} from "../../../keystone/interfaces/INodeInfoProvider.sol"; - import {CCIPHome} from "../../capability/CCIPHome.sol"; import {Internal} from "../../libraries/Internal.sol"; -import {CCIPHomeHelper} from "../helpers/CCIPHomeHelper.sol"; -import {Test} from "forge-std/Test.sol"; - -import {IERC165} from "../../../vendor/openzeppelin-solidity/v5.0.2/contracts/interfaces/IERC165.sol"; import {CCIPHomeTestSetup} from "./CCIPHomeTestSetup.t.sol"; contract CCIPHome_getAllConfigs is CCIPHomeTestSetup { diff --git a/contracts/src/v0.8/ccip/test/capability/CCIPHome.getConfigDigests.t.sol b/contracts/src/v0.8/ccip/test/capability/CCIPHome.getConfigDigests.t.sol index d8b05a4b456..39f5bb38b02 100644 --- a/contracts/src/v0.8/ccip/test/capability/CCIPHome.getConfigDigests.t.sol +++ b/contracts/src/v0.8/ccip/test/capability/CCIPHome.getConfigDigests.t.sol @@ -1,15 +1,9 @@ // SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.24; -import {ICapabilityConfiguration} from "../../../keystone/interfaces/ICapabilityConfiguration.sol"; -import {INodeInfoProvider} from "../../../keystone/interfaces/INodeInfoProvider.sol"; - import {CCIPHome} from "../../capability/CCIPHome.sol"; import {Internal} from "../../libraries/Internal.sol"; -import {CCIPHomeHelper} from "../helpers/CCIPHomeHelper.sol"; -import {Test} from "forge-std/Test.sol"; -import {IERC165} from "../../../vendor/openzeppelin-solidity/v5.0.2/contracts/interfaces/IERC165.sol"; import {CCIPHomeTestSetup} from "./CCIPHomeTestSetup.t.sol"; contract CCIPHome_getConfigDigests is CCIPHomeTestSetup {