Fixed UNI prefix error in setup.spec

This commit is contained in:
Zer0dot 2021-01-01 21:14:02 -05:00
parent 5f4798f4bd
commit 1669d6587a
2 changed files with 4 additions and 7 deletions

View File

@ -139,6 +139,7 @@ task(
ProtocolGlobalParams: {UsdAddress, MockUsdPriceInWei}, ProtocolGlobalParams: {UsdAddress, MockUsdPriceInWei},
LendingRateOracleRatesCommon, LendingRateOracleRatesCommon,
} = poolConfig as ICommonConfiguration; } = poolConfig as ICommonConfiguration;
console.log("Initialized mocks, global params and lending rate oracle rates"); console.log("Initialized mocks, global params and lending rate oracle rates");
const defaultTokenList = { const defaultTokenList = {

View File

@ -97,6 +97,7 @@ const buildTestEnv = async (deployer: Signer, secondaryWallet: Signer) => {
const addressList = await Promise.all( const addressList = await Promise.all(
(await DRE.ethers.getSigners()).map((signer) => signer.getAddress()) (await DRE.ethers.getSigners()).map((signer) => signer.getAddress())
); );
console.log(addressList);
await waitForTx(await addressesProvider.setEmergencyAdmin(addressList[2])); await waitForTx(await addressesProvider.setEmergencyAdmin(addressList[2]));
@ -159,13 +160,8 @@ const buildTestEnv = async (deployer: Signer, secondaryWallet: Signer) => {
REN: mockTokens.REN.address, REN: mockTokens.REN.address,
UNI: mockTokens.UNI.address, UNI: mockTokens.UNI.address,
ENJ: mockTokens.ENJ.address, ENJ: mockTokens.ENJ.address,
UNI_WETH: mockTokens.WETH.address, WETHDAI: mockTokens.WETHDAI.address,
UNI_WBTC: mockTokens.WBTC.address, WETHWBTC: mockTokens.WETHWBTC.address,
UNI_DAI: mockTokens.DAI.address,
UNI_USDC: mockTokens.USDC.address,
UNI_USDT: mockTokens.USDT.address,
UNI_WETHDAI: mockTokens.UNI_WETHDAI.address,
UNI_WETHWBTC: mockTokens.UNI_WETHWBTC.address,
USD: USD_ADDRESS, USD: USD_ADDRESS,
}, },
fallbackOracle fallbackOracle