Skip to content

Commit

Permalink
fix: zokyo l9
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyonline committed Oct 21, 2024
1 parent 6c507eb commit 180618d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ynEIGEN/EigenStrategyManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ contract EigenStrategyManager is
//---------------------------------- INITIALIZATION ----------------------------------
//--------------------------------------------------------------------------------------

constructor() {
_disableInitializers();
}

struct Init {
IERC20[] assets;
IStrategy[] strategies;
Expand Down
2 changes: 2 additions & 0 deletions src/ynEIGEN/LSDWrapper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ contract LSDWrapper is IWrapper, Initializable {
// ============================================================================================

constructor(address _wstETH, address _woETH, address _oETH, address _stETH) {
_disableInitializers();

if (_wstETH == address(0) || _woETH == address(0) || _oETH == address(0) || _stETH == address(0)) {
revert ZeroAddress();
}
Expand Down

0 comments on commit 180618d

Please sign in to comment.