misc: remove logs

This commit is contained in:
David Racero 2021-05-10 15:53:01 +02:00
parent 2cdfbbbc5d
commit 2117e2ca62
2 changed files with 0 additions and 9 deletions

View File

@ -18,7 +18,6 @@ import {IInitializableDebtToken} from '../../interfaces/IInitializableDebtToken.
import {IInitializableAToken} from '../../interfaces/IInitializableAToken.sol';
import {IAaveIncentivesController} from '../../interfaces/IAaveIncentivesController.sol';
import {ILendingPoolConfigurator} from '../../interfaces/ILendingPoolConfigurator.sol';
import 'hardhat/console.sol';
/**
* @title LendingPoolConfigurator contract
@ -62,7 +61,6 @@ contract LendingPoolConfigurator is VersionedInitializable, ILendingPoolConfigur
* @dev Initializes reserves in batch
**/
function batchInitReserve(InitReserveInput[] calldata input) external onlyPoolAdmin {
console.log('batch init');
ILendingPool cachedPool = pool;
for (uint256 i = 0; i < input.length; i++) {
_initReserve(cachedPool, input[i]);
@ -70,7 +68,6 @@ contract LendingPoolConfigurator is VersionedInitializable, ILendingPoolConfigur
}
function _initReserve(ILendingPool pool, InitReserveInput calldata input) internal {
console.log('0');
address aTokenProxyAddress =
_initTokenWithProxy(
input.aTokenImpl,
@ -116,7 +113,6 @@ contract LendingPoolConfigurator is VersionedInitializable, ILendingPoolConfigur
input.params
)
);
console.log('1');
pool.initReserve(
input.underlyingAsset,
aTokenProxyAddress,
@ -124,7 +120,6 @@ contract LendingPoolConfigurator is VersionedInitializable, ILendingPoolConfigur
variableDebtTokenProxyAddress,
input.interestRateStrategyAddress
);
console.log('2');
DataTypes.ReserveConfigurationMap memory currentConfig =
pool.getConfiguration(input.underlyingAsset);
@ -136,7 +131,6 @@ contract LendingPoolConfigurator is VersionedInitializable, ILendingPoolConfigur
pool.setConfiguration(input.underlyingAsset, currentConfig.data);
console.log('3');
emit ReserveInitialized(
input.underlyingAsset,
aTokenProxyAddress,

View File

@ -72,9 +72,6 @@ export const setInitialAssetPricesInOracle = async (
priceOracleInstance: PriceOracle
) => {
for (const [assetSymbol, price] of Object.entries(prices) as [string, string][]) {
console.log("Trying for ", assetsAddresses, assetSymbol);
const assetAddressIndex = Object.keys(assetsAddresses).findIndex(
(value) => value === assetSymbol
);