mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
Fixed UNI prefix error in setup.spec
This commit is contained in:
parent
5f4798f4bd
commit
1669d6587a
|
@ -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 = {
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user