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},
LendingRateOracleRatesCommon,
} = poolConfig as ICommonConfiguration;
console.log("Initialized mocks, global params and lending rate oracle rates");
const defaultTokenList = {

View File

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