feat: pause Pool at deployment scripts

This commit is contained in:
karotjal 2021-09-20 12:44:18 +02:00
parent 153f869271
commit c0caf65796

View File

@ -70,6 +70,10 @@ task('full:deploy-lending-pool', 'Deploy lending pool for dev enviroment')
eContractid.LendingPoolConfigurator,
lendingPoolConfiguratorProxy.address
);
// Pause market during deployment
await waitForTx(await lendingPoolConfiguratorProxy.setPoolPause(true));
// Deploy deployment helpers
await deployStableAndVariableTokensHelper(
[lendingPoolProxy.address, addressesProvider.address],