mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
Remove debug console.logs
This commit is contained in:
parent
628f0de639
commit
60c93a4d73
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user