Skip to content

Commit c0caf65

Browse files
committed
feat: pause Pool at deployment scripts
1 parent 153f869 commit c0caf65

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tasks/full/2_lending_pool.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ task('full:deploy-lending-pool', 'Deploy lending pool for dev enviroment')
7070
eContractid.LendingPoolConfigurator,
7171
lendingPoolConfiguratorProxy.address
7272
);
73+
74+
// Pause market during deployment
75+
await waitForTx(await lendingPoolConfiguratorProxy.setPoolPause(true));
76+
7377
// Deploy deployment helpers
7478
await deployStableAndVariableTokensHelper(
7579
[lendingPoolProxy.address, addressesProvider.address],

0 commit comments

Comments
 (0)