From 1eb980e922ecd092b99bad76d8fad02ed1bfc9a1 Mon Sep 17 00:00:00 2001 From: Julien Niset Date: Thu, 29 Apr 2021 12:31:29 +0200 Subject: [PATCH] linting --- deployment/10_patch_filters.js | 2 +- deployment/11_confirm_patch_filters.js | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/deployment/10_patch_filters.js b/deployment/10_patch_filters.js index d86df5487..691312efa 100644 --- a/deployment/10_patch_filters.js +++ b/deployment/10_patch_filters.js @@ -42,7 +42,7 @@ const main = async () => { // Update existing filters to Argent Registry // ////////////////////////////////// - const filters = {...config.filters}; + const filters = { ...config.filters }; // // Compound diff --git a/deployment/11_confirm_patch_filters.js b/deployment/11_confirm_patch_filters.js index a3d107dc9..34ed2eaf4 100644 --- a/deployment/11_confirm_patch_filters.js +++ b/deployment/11_confirm_patch_filters.js @@ -2,13 +2,8 @@ global.web3 = web3; global.artifacts = artifacts; -const ethers = require("ethers"); -const childProcess = require("child_process"); - const DappRegistry = artifacts.require("DappRegistry"); - const deployManager = require("../utils/deploy-manager.js"); -const MultisigExecutor = require("../utils/multisigexecutor.js"); const main = async () => { const { configurator } = await deployManager.getProps(); @@ -30,7 +25,6 @@ const main = async () => { await DappRegistryWrapper.confirmFilterUpdate(0, config.defi.paraswap.contract); console.log(`Confirming filter for ${config.defi.uniswap.paraswapUniV2Router}`); await DappRegistryWrapper.confirmFilterUpdate(0, config.defi.uniswap.paraswapUniV2Router); - }; // For truffle exec