mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
feat: pause Pool at deployment scripts
This commit is contained in:
parent
153f869271
commit
c0caf65796
|
@ -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],
|
||||
|
|
Loading…
Reference in New Issue
Block a user