From 4ce6573aaa0139e31dcf9225c48ddf82d2d6e130 Mon Sep 17 00:00:00 2001 From: David Racero Date: Wed, 12 May 2021 17:37:38 +0200 Subject: [PATCH] feat: Remove gasUsage variable due is unused. --- helpers/init-helpers.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/helpers/init-helpers.ts b/helpers/init-helpers.ts index 3cdb6796..4ac89d78 100644 --- a/helpers/init-helpers.ts +++ b/helpers/init-helpers.ts @@ -33,8 +33,7 @@ export const initReservesByHelper = async ( incentivesController: tEthereumAddress, poolName: ConfigNames, verify: boolean -): Promise => { - let gasUsage = BigNumber.from('0'); +) => { const addressProvider = await getLendingPoolAddressesProvider(); // CHUNK CONFIGURATION @@ -147,8 +146,6 @@ export const initReservesByHelper = async ( console.log(` - Reserve ready for: ${chunkedSymbols[chunkIndex].join(', ')}`); console.log(' * gasUsed', tx3.gasUsed.toString()); } - - return gasUsage; }; export const getPairsTokenAggregator = (