From 384f00f15e1093e27753705166d7e8a85d3944c4 Mon Sep 17 00:00:00 2001 From: Zer0dot Date: Fri, 19 Feb 2021 21:59:14 -0500 Subject: [PATCH] Fixed issues before deployment --- markets/matic/index.ts | 2 +- tasks/full/5_initialize.ts | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/markets/matic/index.ts b/markets/matic/index.ts index a75e257d..8dbda72d 100644 --- a/markets/matic/index.ts +++ b/markets/matic/index.ts @@ -45,7 +45,7 @@ export const MaticConfig: IMaticConfiguration = { USDT: '0xB3abd1912F586fDFFa13606882c28E27913853d2', WBTC: '0x393E3512d45a956A628124665672312ea86930Ba', WETH: '0x53CDb16B8C031B779e996406546614E5F05BC4Bf', - MATIC: '0x0000000000000000000000000000000000001010 ', + MATIC: '0x0000000000000000000000000000000000001010', }, [EthereumNetwork.kovan]: {}, [EthereumNetwork.ropsten]: {}, diff --git a/tasks/full/5_initialize.ts b/tasks/full/5_initialize.ts index 99725034..858bd77d 100644 --- a/tasks/full/5_initialize.ts +++ b/tasks/full/5_initialize.ts @@ -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);