File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -351,7 +351,7 @@ contract ForeignController is AccessControlEnumerable {
351351
352352 require (
353353 IERC4626 (token).convertToAssets (shares) >= amount * maxSlippages[token] / 1e18 ,
354- "ForeignController/slippage-too-high "
354+ "ForeignController/inflated-shares "
355355 );
356356 }
357357
Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ contract MorphoDepositFailureTests is MorphoBaseTest {
168168 foreignController.setMaxSlippage (MORPHO_VAULT_USDS, 1e18 + 1 ); // Positive slippage needed to cause error
169169
170170 vm.prank (relayer);
171- vm.expectRevert ("ForeignController/slippage-too-high " );
171+ vm.expectRevert ("ForeignController/inflated-shares " );
172172 foreignController.depositERC4626 (MORPHO_VAULT_USDS, 5_000_000e18 );
173173
174174 vm.prank (Base.SPARK_EXECUTOR);
You can’t perform that action at this time.
0 commit comments