diff --git a/test/invariant/Invariants.t.sol b/test/invariant/Invariants.t.sol index fe54026..cb90c7b 100644 --- a/test/invariant/Invariants.t.sol +++ b/test/invariant/Invariants.t.sol @@ -121,8 +121,6 @@ abstract contract PSMInvariantTestBase is PSMTestBase { uint256 startingSeedValue = psm.convertToAssetValue(1e18); - console.log("startingSeedValue", startingSeedValue); - // Liquidity is unknown so withdraw all assets for all users to empty PSM. _withdraw(address(dai), lp0, type(uint256).max); _withdraw(address(usdc), lp0, type(uint256).max); @@ -357,7 +355,7 @@ contract PSMInvariants_TimeBasedRateSetting_NoTransfer is PSMInvariantTestBase { timeBasedRateHandler.setPotData(1e27, 1e27, block.timestamp); targetContract(address(lpHandler)); - // targetContract(address(swapperHandler)); + targetContract(address(swapperHandler)); targetContract(address(timeBasedRateHandler)); } diff --git a/test/invariant/handlers/TimeBasedRateHandler.sol b/test/invariant/handlers/TimeBasedRateHandler.sol index 5e52acf..c23da27 100644 --- a/test/invariant/handlers/TimeBasedRateHandler.sol +++ b/test/invariant/handlers/TimeBasedRateHandler.sol @@ -39,7 +39,8 @@ contract TimeBasedRateHandler is StdCheats, StdUtils { })); } - // function warp(uint256 skipTime) external { - // skip(_bound(skipTime, 0, 45 days)); - // } + function warp(uint256 skipTime) external { + skip(_bound(skipTime, 0, 45 days)); + } + }