mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
Fixes dev tasks
This commit is contained in:
parent
edac705301
commit
61b935ce41
|
@ -27,7 +27,7 @@ task('dev:deploy-oracles', 'Deploy oracles for dev enviroment')
|
||||||
await localBRE.run('set-DRE');
|
await localBRE.run('set-DRE');
|
||||||
const poolConfig = loadPoolConfig(pool);
|
const poolConfig = loadPoolConfig(pool);
|
||||||
const {
|
const {
|
||||||
Mocks: {ChainlinkAggregatorPrices, AllAssetsInitialPrices},
|
Mocks: {AllAssetsInitialPrices},
|
||||||
ProtocolGlobalParams: {UsdAddress, MockUsdPriceInWei},
|
ProtocolGlobalParams: {UsdAddress, MockUsdPriceInWei},
|
||||||
LendingRateOracleRatesCommon,
|
LendingRateOracleRatesCommon,
|
||||||
} = poolConfig as ICommonConfiguration;
|
} = poolConfig as ICommonConfiguration;
|
||||||
|
@ -48,7 +48,7 @@ task('dev:deploy-oracles', 'Deploy oracles for dev enviroment')
|
||||||
await waitForTx(await fallbackOracle.setEthUsdPrice(MockUsdPriceInWei));
|
await waitForTx(await fallbackOracle.setEthUsdPrice(MockUsdPriceInWei));
|
||||||
await setInitialAssetPricesInOracle(AllAssetsInitialPrices, mockTokensAddress, fallbackOracle);
|
await setInitialAssetPricesInOracle(AllAssetsInitialPrices, mockTokensAddress, fallbackOracle);
|
||||||
|
|
||||||
const mockAggregators = await deployAllMockAggregators(ChainlinkAggregatorPrices, verify);
|
const mockAggregators = await deployAllMockAggregators(AllAssetsInitialPrices, verify);
|
||||||
|
|
||||||
const allTokenAddresses = getAllTokenAddresses(mockTokens);
|
const allTokenAddresses = getAllTokenAddresses(mockTokens);
|
||||||
const allAggregatorsAddresses = getAllAggregatorsAddresses(mockAggregators);
|
const allAggregatorsAddresses = getAllAggregatorsAddresses(mockAggregators);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user