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 genericLogic = await deployGenericLogic(verify);
|
||||||
const validationLogic = await deployValidationLogic(reserveLogic, genericLogic, 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.
|
// 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
|
// The '__$PLACEHOLDER$__ can be calculated via solidity keccak, but the LendingPoolLibraryAddresses Type seems to
|
||||||
// require a hardcoded string.
|
// require a hardcoded string.
|
||||||
|
|
|
@ -40,7 +40,6 @@ task('full:initialize-lending-pool', 'Initialize lending pool configuration.')
|
||||||
|
|
||||||
const testHelpers = await deployAaveProtocolTestHelpers(addressesProvider.address, verify);
|
const testHelpers = await deployAaveProtocolTestHelpers(addressesProvider.address, verify);
|
||||||
|
|
||||||
console.log('init reserves');
|
|
||||||
await initReserves(
|
await initReserves(
|
||||||
ReservesConfig,
|
ReservesConfig,
|
||||||
reserveAssets,
|
reserveAssets,
|
||||||
|
@ -52,14 +51,12 @@ task('full:initialize-lending-pool', 'Initialize lending pool configuration.')
|
||||||
ZERO_ADDRESS,
|
ZERO_ADDRESS,
|
||||||
verify
|
verify
|
||||||
);
|
);
|
||||||
console.log('enable reserves');
|
|
||||||
await enableReservesToBorrow(
|
await enableReservesToBorrow(
|
||||||
ReservesConfig,
|
ReservesConfig,
|
||||||
reserveAssets,
|
reserveAssets,
|
||||||
testHelpers,
|
testHelpers,
|
||||||
lendingPoolConfiguratorProxy
|
lendingPoolConfiguratorProxy
|
||||||
);
|
);
|
||||||
console.log('enable reserves as collateral');
|
|
||||||
await enableReservesAsCollateral(
|
await enableReservesAsCollateral(
|
||||||
ReservesConfig,
|
ReservesConfig,
|
||||||
reserveAssets,
|
reserveAssets,
|
||||||
|
@ -67,13 +64,11 @@ task('full:initialize-lending-pool', 'Initialize lending pool configuration.')
|
||||||
lendingPoolConfiguratorProxy
|
lendingPoolConfiguratorProxy
|
||||||
);
|
);
|
||||||
|
|
||||||
console.log('deploy coll manager');
|
|
||||||
const collateralManager = await deployLendingPoolCollateralManager(verify);
|
const collateralManager = await deployLendingPoolCollateralManager(verify);
|
||||||
await waitForTx(
|
await waitForTx(
|
||||||
await addressesProvider.setLendingPoolCollateralManager(collateralManager.address)
|
await addressesProvider.setLendingPoolCollateralManager(collateralManager.address)
|
||||||
);
|
);
|
||||||
|
|
||||||
console.log('deploy bal provicer');
|
|
||||||
await deployWalletBalancerProvider(addressesProvider.address, verify);
|
await deployWalletBalancerProvider(addressesProvider.address, verify);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
|
|
|
@ -92,10 +92,8 @@ export async function initializeMakeSuite() {
|
||||||
}
|
}
|
||||||
testEnv.deployer = deployer;
|
testEnv.deployer = deployer;
|
||||||
testEnv.pool = await getLendingPool();
|
testEnv.pool = await getLendingPool();
|
||||||
console.log('Pool loaded');
|
|
||||||
|
|
||||||
testEnv.configurator = await getLendingPoolConfiguratorProxy();
|
testEnv.configurator = await getLendingPoolConfiguratorProxy();
|
||||||
console.log('Configurator loaded');
|
|
||||||
|
|
||||||
testEnv.oracle = await getPriceOracle();
|
testEnv.oracle = await getPriceOracle();
|
||||||
testEnv.addressesProvider = await getLendingPoolAddressesProvider();
|
testEnv.addressesProvider = await getLendingPoolAddressesProvider();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user