From 60c93a4d7312ae11bbb3b3961c6fb21161c14419 Mon Sep 17 00:00:00 2001 From: David Racero Date: Fri, 16 Oct 2020 12:07:35 +0200 Subject: [PATCH] Remove debug console.logs --- helpers/contracts-deployments.ts | 1 - tasks/full/5_initialize.ts | 5 ----- test/helpers/make-suite.ts | 2 -- 3 files changed, 8 deletions(-) diff --git a/helpers/contracts-deployments.ts b/helpers/contracts-deployments.ts index 717bd1ca..07ee9947 100644 --- a/helpers/contracts-deployments.ts +++ b/helpers/contracts-deployments.ts @@ -115,7 +115,6 @@ export const deployAaveLibraries = async ( const genericLogic = await deployGenericLogic(verify); const validationLogic = await deployValidationLogic(reserveLogic, genericLogic, verify); - console.log('generic logic address LEND POOL', genericLogic.address); // Hardcoded solidity placeholders, if any library changes path this will fail. // The '__$PLACEHOLDER$__ can be calculated via solidity keccak, but the LendingPoolLibraryAddresses Type seems to // require a hardcoded string. diff --git a/tasks/full/5_initialize.ts b/tasks/full/5_initialize.ts index fe2c5c42..6423b09d 100644 --- a/tasks/full/5_initialize.ts +++ b/tasks/full/5_initialize.ts @@ -40,7 +40,6 @@ task('full:initialize-lending-pool', 'Initialize lending pool configuration.') const testHelpers = await deployAaveProtocolTestHelpers(addressesProvider.address, verify); - console.log('init reserves'); await initReserves( ReservesConfig, reserveAssets, @@ -52,14 +51,12 @@ task('full:initialize-lending-pool', 'Initialize lending pool configuration.') ZERO_ADDRESS, verify ); - console.log('enable reserves'); await enableReservesToBorrow( ReservesConfig, reserveAssets, testHelpers, lendingPoolConfiguratorProxy ); - console.log('enable reserves as collateral'); await enableReservesAsCollateral( ReservesConfig, reserveAssets, @@ -67,13 +64,11 @@ task('full:initialize-lending-pool', 'Initialize lending pool configuration.') lendingPoolConfiguratorProxy ); - console.log('deploy coll manager'); const collateralManager = await deployLendingPoolCollateralManager(verify); await waitForTx( await addressesProvider.setLendingPoolCollateralManager(collateralManager.address) ); - console.log('deploy bal provicer'); await deployWalletBalancerProvider(addressesProvider.address, verify); } catch (err) { console.error(err); diff --git a/test/helpers/make-suite.ts b/test/helpers/make-suite.ts index d11278ea..f93e4e79 100644 --- a/test/helpers/make-suite.ts +++ b/test/helpers/make-suite.ts @@ -92,10 +92,8 @@ export async function initializeMakeSuite() { } testEnv.deployer = deployer; testEnv.pool = await getLendingPool(); - console.log('Pool loaded'); testEnv.configurator = await getLendingPoolConfiguratorProxy(); - console.log('Configurator loaded'); testEnv.oracle = await getPriceOracle(); testEnv.addressesProvider = await getLendingPoolAddressesProvider();