mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
Setup testing on Kovan. Error on oracle deployment
This commit is contained in:
parent
1669d6587a
commit
ced0bc3dfe
|
@ -111,8 +111,8 @@ export const CommonsConfig: ICommonConfiguration = {
|
|||
[eEthereumNetwork.buidlerevm]: '',
|
||||
[eEthereumNetwork.tenderlyMain]: '0x52D306e36E3B6B02c153d0266ff0f85d18BCD413',
|
||||
},
|
||||
ProviderRegistryOwner: {
|
||||
[eEthereumNetwork.kovan]: '0x85e4A467343c0dc4aDAB74Af84448D9c45D8ae6F',
|
||||
ProviderRegistryOwner: { // TEMPORARILY USING MY DEPLOYER
|
||||
[eEthereumNetwork.kovan]: '0x18d9bA2baEfBdE0FF137C4ad031427EF205f1Fd9',//'0x85e4A467343c0dc4aDAB74Af84448D9c45D8ae6F',
|
||||
[eEthereumNetwork.ropsten]: '',
|
||||
[eEthereumNetwork.main]: '0xbd723fc4f1d737dcfc48a07fe7336766d34cad5f',
|
||||
[eEthereumNetwork.coverage]: '',
|
||||
|
@ -181,6 +181,8 @@ export const CommonsConfig: ICommonConfiguration = {
|
|||
YFI: '0xC5d1B1DEb2992738C0273408ac43e1e906086B6C',
|
||||
ZRX: '0xBc3f28Ccc21E9b5856E81E6372aFf57307E2E883',
|
||||
USD: '0x9326BFA02ADD2366b30bacB125260Af641031331',
|
||||
WETHDAI: '0x90B86B501BF4d800a7F76E551952E214Cc58Fba3',
|
||||
WETHWBTC: '0x90B86B501BF4d800a7F76E551952E214Cc58Fba3',
|
||||
},
|
||||
[EthereumNetwork.ropsten]: {
|
||||
AAVE: ZERO_ADDRESS,
|
||||
|
|
|
@ -39,8 +39,8 @@ export const UniswapConfig: IUniswapConfiguration = {
|
|||
USDT: '0x13512979ADE267AB5100878E2e0f485B568328a4',
|
||||
WBTC: '0xD1B98B6607330172f1D991521145A22BCe793277',
|
||||
WETH: '0xd0a1e359811322d97991e03f863a0c30c2cf029c',
|
||||
WETHDAI: '',
|
||||
WETHWBTC: '',
|
||||
WETHDAI: '0x7d3A67ab574abD3F9849e5fcDa48c19939d032b4',
|
||||
WETHWBTC: '0x342e78bf229Cd2a750E80D7D7c2C185455979b91',
|
||||
},
|
||||
[EthereumNetwork.ropsten]: {
|
||||
// AAVE: '',
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
"aave:evm:dev:migration": "npm run compile && hardhat aave:dev",
|
||||
"aave:docker:full:migration": "npm run compile && npm run hardhat:docker -- aave:mainnet",
|
||||
"aave:kovan:full:migration": "npm run compile && npm run hardhat:kovan -- aave:mainnet --verify",
|
||||
"uniswap:kovan:full:migration": "npm run compile && npm run hardhat:kovan -- uniswap:mainnet --verify",
|
||||
"aave:kovan:full:initialize": "npm run hardhat:kovan -- full:initialize-lending-pool --verify --pool Aave",
|
||||
"aave:ropsten:full:migration": "npm run compile && npm run hardhat:ropsten -- aave:mainnet --verify",
|
||||
"aave:fork:main:tenderly": "npm run compile && npm run hardhat:tenderly-main -- aave:mainnet",
|
||||
|
|
|
@ -80,14 +80,16 @@ task(
|
|||
|
||||
// 2. Deploy address provider and set genesis manager
|
||||
const addressesProvider = await deployLendingPoolAddressesProvider(MarketId, verify);
|
||||
|
||||
// TEMPORARILY DISABLING SEC. 3 FOR KOVAN DEPLOYMENT
|
||||
|
||||
// 3. Set the provider at the Registry
|
||||
await waitForTx(
|
||||
await addressesProviderRegistry.registerAddressesProvider(
|
||||
addressesProvider.address,
|
||||
ProviderId
|
||||
)
|
||||
);
|
||||
// await waitForTx(
|
||||
// await addressesProviderRegistry.registerAddressesProvider(
|
||||
// addressesProvider.address,
|
||||
// ProviderId
|
||||
// )
|
||||
// );
|
||||
|
||||
// 4. Set pool admins
|
||||
|
||||
|
|
|
@ -29,8 +29,8 @@ task('aave:dev', 'Deploy development enviroment')
|
|||
console.log('4. Deploy oracles');
|
||||
await localBRE.run('dev:deploy-oracles', {verify, pool: POOL_NAME});
|
||||
|
||||
// console.log('6. Deploy Uniswap market oracles');
|
||||
// await localBRE.run('dev:deploy-oracles', {verify, pool: "Uniswap"});
|
||||
console.log('6. Deploy Uniswap market oracles');
|
||||
await localBRE.run('dev:deploy-oracles', {verify, pool: "Uniswap"});
|
||||
|
||||
console.log('5. Initialize lending pool');
|
||||
await localBRE.run('dev:initialize-lending-pool', {verify, pool: POOL_NAME});
|
||||
|
|
Loading…
Reference in New Issue
Block a user