mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
Fixed issues before deployment
This commit is contained in:
parent
8d831d5ad7
commit
384f00f15e
|
@ -45,7 +45,7 @@ export const MaticConfig: IMaticConfiguration = {
|
||||||
USDT: '0xB3abd1912F586fDFFa13606882c28E27913853d2',
|
USDT: '0xB3abd1912F586fDFFa13606882c28E27913853d2',
|
||||||
WBTC: '0x393E3512d45a956A628124665672312ea86930Ba',
|
WBTC: '0x393E3512d45a956A628124665672312ea86930Ba',
|
||||||
WETH: '0x53CDb16B8C031B779e996406546614E5F05BC4Bf',
|
WETH: '0x53CDb16B8C031B779e996406546614E5F05BC4Bf',
|
||||||
MATIC: '0x0000000000000000000000000000000000001010 ',
|
MATIC: '0x0000000000000000000000000000000000001010',
|
||||||
},
|
},
|
||||||
[EthereumNetwork.kovan]: {},
|
[EthereumNetwork.kovan]: {},
|
||||||
[EthereumNetwork.ropsten]: {},
|
[EthereumNetwork.ropsten]: {},
|
||||||
|
|
|
@ -83,8 +83,9 @@ task('full:initialize-lending-pool', 'Initialize lending pool configuration.')
|
||||||
|
|
||||||
const wethAddress = await getWethAddress(poolConfig);
|
const wethAddress = await getWethAddress(poolConfig);
|
||||||
const lendingPoolAddress = await addressesProvider.getLendingPool();
|
const lendingPoolAddress = await addressesProvider.getLendingPool();
|
||||||
|
if (network != 'mumbai' && network != 'matic') {
|
||||||
await deployWETHGateway([wethAddress, lendingPoolAddress]);
|
await deployWETHGateway([wethAddress, lendingPoolAddress]);
|
||||||
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user