Fixed issues before deployment

This commit is contained in:
Zer0dot 2021-02-19 21:59:14 -05:00
parent 8d831d5ad7
commit 384f00f15e
2 changed files with 4 additions and 3 deletions

View File

@ -45,7 +45,7 @@ export const MaticConfig: IMaticConfiguration = {
USDT: '0xB3abd1912F586fDFFa13606882c28E27913853d2',
WBTC: '0x393E3512d45a956A628124665672312ea86930Ba',
WETH: '0x53CDb16B8C031B779e996406546614E5F05BC4Bf',
MATIC: '0x0000000000000000000000000000000000001010 ',
MATIC: '0x0000000000000000000000000000000000001010',
},
[EthereumNetwork.kovan]: {},
[EthereumNetwork.ropsten]: {},

View File

@ -83,8 +83,9 @@ task('full:initialize-lending-pool', 'Initialize lending pool configuration.')
const wethAddress = await getWethAddress(poolConfig);
const lendingPoolAddress = await addressesProvider.getLendingPool();
await deployWETHGateway([wethAddress, lendingPoolAddress]);
if (network != 'mumbai' && network != 'matic') {
await deployWETHGateway([wethAddress, lendingPoolAddress]);
}
} catch (err) {
console.error(err);
exit(1);