Re-enabled Sec 3

This commit is contained in:
Zer0dot 2021-02-18 16:49:29 -05:00
parent e4f4bb0cdb
commit 5ca1a4f05b

View File

@ -82,15 +82,14 @@ task(
// 2. Deploy address provider and set genesis manager
const addressesProvider = await deployLendingPoolAddressesProvider(MarketId, verify);
// TEMPORARILY DISABLING SEC. 3 FOR GOVERNANCE USE
// DISABLE SEC. 3 FOR GOVERNANCE USE!
// 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