From 3edbbceb1a7e257c872a3210117a3d31442e67e1 Mon Sep 17 00:00:00 2001 From: David Racero Date: Wed, 31 Mar 2021 10:41:05 +0200 Subject: [PATCH] Resets matic config --- markets/matic/commons.ts | 8 ++++---- tasks/full/2_lending_pool.ts | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/markets/matic/commons.ts b/markets/matic/commons.ts index 984d877d..6203daac 100644 --- a/markets/matic/commons.ts +++ b/markets/matic/commons.ts @@ -86,7 +86,7 @@ export const CommonsConfig: ICommonConfiguration = { }, ProviderRegistry: { [ePolygonNetwork.mumbai]: '0x27453A916e91Fb922d309D92e637C0b6625846dF', // TEMP - [ePolygonNetwork.matic]: '0xeD03247f4858E60ad682B9865d64eCb46322ECfd', + [ePolygonNetwork.matic]: '', }, ProviderRegistryOwner: { [ePolygonNetwork.mumbai]: '0xa6842C2C7fece4Cdc6a4aaaD331eb1c7910e419A', // TEMP @@ -94,7 +94,7 @@ export const CommonsConfig: ICommonConfiguration = { }, LendingRateOracle: { [ePolygonNetwork.mumbai]: '', - [ePolygonNetwork.matic]: '0x37Ce325Df9c92A994cC662443Dda6276a4BBBaf1', + [ePolygonNetwork.matic]: '', }, LendingPoolCollateralManager: { [ePolygonNetwork.mumbai]: '', @@ -106,11 +106,11 @@ export const CommonsConfig: ICommonConfiguration = { }, WethGateway: { [ePolygonNetwork.mumbai]: '', - [ePolygonNetwork.matic]: '0x8746445fF50469B406C5642763979280AFe3e426', + [ePolygonNetwork.matic]: '', }, AaveOracle: { [ePolygonNetwork.mumbai]: '', - [ePolygonNetwork.matic]: '0x21451bD7b528896B4AB2b9764b521D6ed641708d', + [ePolygonNetwork.matic]: '', }, FallbackOracle: { [ePolygonNetwork.mumbai]: ZERO_ADDRESS, diff --git a/tasks/full/2_lending_pool.ts b/tasks/full/2_lending_pool.ts index 5f92b8eb..1d7a9b4a 100644 --- a/tasks/full/2_lending_pool.ts +++ b/tasks/full/2_lending_pool.ts @@ -34,6 +34,7 @@ task('full:deploy-lending-pool', 'Deploy lending pool for dev enviroment') console.log('\tDeploying new lending pool implementation & libraries...'); const lendingPoolImpl = await deployLendingPool(verify); lendingPoolImplAddress = lendingPoolImpl.address; + await lendingPoolImpl.initialize(addressesProvider.address); } console.log('\tSetting lending pool implementation with address:', lendingPoolImplAddress); // Set lending pool impl to Address provider