diff --git a/test/fork/concrete/WstEthHandlerFork.t.sol b/test/fork/concrete/WstEthHandlerFork.t.sol index f824b2da..31af69c3 100644 --- a/test/fork/concrete/WstEthHandlerFork.t.sol +++ b/test/fork/concrete/WstEthHandlerFork.t.sol @@ -341,8 +341,9 @@ contract WstEthHandler_Zap_ForkTest is WstEthHandler_ForkBase { uint256 resultingAdditionalWstEthCollateral = IWstEth(address(MAINNET_WSTETH)).getWstETHByStETH(resultingAdditionalStEthCollateral); - uint256 maxResultingDebt = - MAINNET_WSTETH.getEthAmountInForLstAmountOut(resultingAdditionalWstEthCollateral - wstEthDepositAmount) * 1.005e18; // Some slippage tolerance + uint256 maxResultingDebt = MAINNET_WSTETH.getEthAmountInForLstAmountOut( + resultingAdditionalWstEthCollateral - wstEthDepositAmount + ) * 1.005e18; // Some slippage tolerance uint160 sqrtPriceLimitX96 = 0; IERC20(address(MAINNET_STETH)).approve(address(wstEthHandler), stEthDepositAmount); @@ -395,8 +396,9 @@ contract WstEthHandler_Zap_ForkTest is WstEthHandler_ForkBase { uint256 resultingAdditionalWstEthCollateral = IWstEth(address(MAINNET_WSTETH)).getWstETHByStETH(resultingAdditionalStEthCollateral); - uint256 maxResultingDebt = - MAINNET_WSTETH.getEthAmountInForLstAmountOut(resultingAdditionalWstEthCollateral - wstEthDepositAmount) * 1.005e18; // Some slippage tolerance + uint256 maxResultingDebt = MAINNET_WSTETH.getEthAmountInForLstAmountOut( + resultingAdditionalWstEthCollateral - wstEthDepositAmount + ) * 1.005e18; // Some slippage tolerance uint160 sqrtPriceLimitX96 = 0; IERC20(address(MAINNET_STETH)).approve(address(wstEthHandler), stEthDepositAmount); diff --git a/test/fork/fuzz/handlers-base/BalancerFlashloanDirectMintHandler.t.sol b/test/fork/fuzz/handlers-base/BalancerFlashloanDirectMintHandler.t.sol index 56e92e00..b25520f9 100644 --- a/test/fork/fuzz/handlers-base/BalancerFlashloanDirectMintHandler.t.sol +++ b/test/fork/fuzz/handlers-base/BalancerFlashloanDirectMintHandler.t.sol @@ -3,9 +3,8 @@ pragma solidity 0.8.21; import { IonHandler_ForkBase } from "../../../helpers/IonHandlerForkBase.sol"; import { WadRayMath, RAY } from "../../../../src/libraries/math/WadRayMath.sol"; -import { - BalancerFlashloanDirectMintHandler -} from "../../../../src/flash/handlers/base/BalancerFlashloanDirectMintHandler.sol"; +import { BalancerFlashloanDirectMintHandler } from + "../../../../src/flash/handlers/base/BalancerFlashloanDirectMintHandler.sol"; import { IERC20 } from "@openzeppelin/contracts/interfaces/IERC20.sol";