From 61b935ce41f9a40d2753dd3d1e94ffa90b4d9b58 Mon Sep 17 00:00:00 2001 From: David Racero Date: Wed, 18 Nov 2020 10:35:42 +0100 Subject: [PATCH] Fixes dev tasks --- tasks/dev/4_oracles.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/dev/4_oracles.ts b/tasks/dev/4_oracles.ts index e95fdc3f..97f14c8a 100644 --- a/tasks/dev/4_oracles.ts +++ b/tasks/dev/4_oracles.ts @@ -27,7 +27,7 @@ task('dev:deploy-oracles', 'Deploy oracles for dev enviroment') await localBRE.run('set-DRE'); const poolConfig = loadPoolConfig(pool); const { - Mocks: {ChainlinkAggregatorPrices, AllAssetsInitialPrices}, + Mocks: {AllAssetsInitialPrices}, ProtocolGlobalParams: {UsdAddress, MockUsdPriceInWei}, LendingRateOracleRatesCommon, } = poolConfig as ICommonConfiguration; @@ -48,7 +48,7 @@ task('dev:deploy-oracles', 'Deploy oracles for dev enviroment') await waitForTx(await fallbackOracle.setEthUsdPrice(MockUsdPriceInWei)); await setInitialAssetPricesInOracle(AllAssetsInitialPrices, mockTokensAddress, fallbackOracle); - const mockAggregators = await deployAllMockAggregators(ChainlinkAggregatorPrices, verify); + const mockAggregators = await deployAllMockAggregators(AllAssetsInitialPrices, verify); const allTokenAddresses = getAllTokenAddresses(mockTokens); const allAggregatorsAddresses = getAllAggregatorsAddresses(mockAggregators);