@@ -20,7 +20,7 @@ import {Morpho} from "../ABIs/Morpho.sol";
2020
2121contract MorphoFeeForkTest is Test {
2222 uint256 constant BASIS_POINT_DIVISOR = 10000 ;
23-
23+
2424 address owner;
2525 address APP_USER_ALICE = makeAddr ("Alice " );
2626 // real morpho vault on base from https://app.morpho.org/base/vault/0x7BfA7C4f149E7415b73bdeDfe609237e29CBF34A/spark-usdc-vault
@@ -154,7 +154,8 @@ contract MorphoFeeForkTest is Test {
154154 uint256 feeContractBalance = underlyingERC20.balanceOf (address (morphoPerfFeeFacet));
155155
156156 uint256 expectedTotalProfit = expectedTotalWithdrawal - depositAmount;
157- uint256 expectedUserProfit = expectedTotalProfit - (expectedTotalProfit * performanceFeePercentage / BASIS_POINT_DIVISOR);
157+ uint256 expectedUserProfit =
158+ expectedTotalProfit - (expectedTotalProfit * performanceFeePercentage / BASIS_POINT_DIVISOR);
158159 uint256 expectedFeeContractProfit = expectedTotalProfit * performanceFeePercentage / BASIS_POINT_DIVISOR;
159160 console.log ("expectedTotalProfit " , expectedTotalProfit);
160161 console.log ("expectedUserProfit " , expectedUserProfit);
@@ -358,7 +359,8 @@ contract MorphoFeeForkTest is Test {
358359 uint256 feeContractBalance = underlyingERC20.balanceOf (address (morphoPerfFeeFacet));
359360
360361 uint256 expectedTotalProfit = expectedTotalWithdrawal - depositAmount;
361- uint256 expectedUserProfit = expectedTotalProfit - (expectedTotalProfit * performanceFeePercentage / BASIS_POINT_DIVISOR);
362+ uint256 expectedUserProfit =
363+ expectedTotalProfit - (expectedTotalProfit * performanceFeePercentage / BASIS_POINT_DIVISOR);
362364 uint256 expectedFeeContractProfit = expectedTotalProfit * performanceFeePercentage / BASIS_POINT_DIVISOR;
363365 console.log ("expectedTotalProfit " , expectedTotalProfit);
364366 console.log ("expectedUserProfit " , expectedUserProfit);
0 commit comments