Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
brotherlymite committed May 6, 2024
1 parent 9d80072 commit 4d2b070
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ contract PoolConfiguratorReserveRiskConfigs is TestnetProcedures {
emit ReservePaused(reserves[x], true);
}
vm.prank(poolAdmin);
contracts.poolConfiguratorProxy.setPoolPause(true);
contracts.poolConfiguratorProxy.setPoolPause(true, 0);

for (uint16 x; x < reserves.length; ++x) {
bool isPaused = contracts.protocolDataProvider.getPaused(reserves[x]);
Expand All @@ -597,7 +597,7 @@ contract PoolConfiguratorReserveRiskConfigs is TestnetProcedures {
emit ReservePaused(reserves[x], false);
}
vm.prank(poolAdmin);
contracts.poolConfiguratorProxy.setPoolPause(false);
contracts.poolConfiguratorProxy.setPoolPause(false, 0);

for (uint16 x; x < reserves.length; ++x) {
bool isPaused = contracts.protocolDataProvider.getPaused(reserves[x]);
Expand Down Expand Up @@ -740,7 +740,7 @@ contract PoolConfiguratorReserveRiskConfigs is TestnetProcedures {
}

function test_setLiquidationGracePeriodReserve(uint40 gracePeriod) public {
vm.assume(gracePeriod < contracts.poolConfiguratorProxy.MAX_GRACE_PERIOD() && gracePeriod != 0);
vm.assume(gracePeriod <= contracts.poolConfiguratorProxy.MAX_GRACE_PERIOD());

address asset = tokenList.usdx;

Expand Down

0 comments on commit 4d2b070

Please sign in to comment.