File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import {IERC20Metadata} from "openzeppelin-contracts/interfaces/IERC20Metadata.s
66import {IERC4626 } from "openzeppelin-contracts/interfaces/IERC4626.sol " ;
77import {EVCUtil} from "ethereum-vault-connector/utils/EVCUtil.sol " ;
88import {IEVC} from "ethereum-vault-connector/interfaces/IEthereumVaultConnector.sol " ;
9- import {IEulerEarn} from "./interfaces/IEulerEarn.sol " ;
9+ import {IEulerEarn, IEulerEarnBase } from "./interfaces/IEulerEarn.sol " ;
1010import {IEulerEarnFactory} from "./interfaces/IEulerEarnFactory.sol " ;
1111import {SafeERC20Permit2Lib} from "./libraries/SafeERC20Permit2Lib.sol " ;
1212import {SafeERC20} from "openzeppelin-contracts/token/ERC20/utils/SafeERC20.sol " ;
@@ -87,7 +87,7 @@ contract RescueStrategy is IERC4626 {
8787 if (! rescueActive && msg .sender == earnVault) {
8888 // if reentrancy locked - earn is calling from `withdraw`, which should be prevented
8989 // if unlocked - let it through because `maxWithdrawFromStrategy` is called, which is relied upon by the Lens contract
90- (bool success , bytes memory reason ) = earnVault.staticcall (abi.encodeWithSignature ( " setFee(uint256) " , 0 ));
90+ (bool success , bytes memory reason ) = earnVault.staticcall (abi.encodeCall (IEulerEarnBase. setFee, ( 0 ) ));
9191 require (! success, "expected revert " ); // if reentrancy was unlocked, attempt to set it will panic
9292
9393 if (bytes4 (reason) == ReentrancyGuard.ReentrancyGuardReentrantCall.selector )
You can’t perform that action at this time.
0 commit comments