diff --git a/src/contracts/core/AVSDirectory.sol b/src/contracts/core/AVSDirectory.sol index b74e42b80..98f7d9797 100644 --- a/src/contracts/core/AVSDirectory.sol +++ b/src/contracts/core/AVSDirectory.sol @@ -29,12 +29,7 @@ contract AVSDirectory is * @dev Initializes the immutable addresses of the strategy mananger, delegationManager, slasher, * and eigenpodManager contracts */ - constructor( - IDelegationManager _delegation, - IStrategyManager _strategyManager, - ISlasher _slasher, - IEigenPodManager _eigenPodManager - ) AVSDirectoryStorage(_delegation, _strategyManager, _slasher, _eigenPodManager) { + constructor(IDelegationManager _delegation) AVSDirectoryStorage(_delegation) { _disableInitializers(); ORIGINAL_CHAIN_ID = block.chainid; } diff --git a/src/contracts/core/AVSDirectoryStorage.sol b/src/contracts/core/AVSDirectoryStorage.sol index 38b80e2c3..ec536f76b 100644 --- a/src/contracts/core/AVSDirectoryStorage.sol +++ b/src/contracts/core/AVSDirectoryStorage.sol @@ -18,15 +18,6 @@ abstract contract AVSDirectoryStorage is IAVSDirectory { /// @notice The DelegationManager contract for EigenLayer IDelegationManager public immutable delegation; - - /// @notice The StrategyManager contract for EigenLayer - IStrategyManager public immutable strategyManager; - - /// @notice The Slasher contract for EigenLayer - ISlasher public immutable slasher; - - /// @notice The EigenPodManager contract for EigenLayer - IEigenPodManager public immutable eigenPodManager; /** * @notice Original EIP-712 Domain separator for this contract. @@ -42,16 +33,8 @@ abstract contract AVSDirectoryStorage is IAVSDirectory { /// @dev Salt is used in the `registerOperatorToAVS` function. mapping(address => mapping(bytes32 => bool)) public operatorSaltIsSpent; - constructor( - IDelegationManager _delegation, - IStrategyManager _strategyManager, - ISlasher _slasher, - IEigenPodManager _eigenPodManager - ) { + constructor(IDelegationManager _delegation) { delegation = _delegation; - strategyManager = _strategyManager; - slasher = _slasher; - eigenPodManager = _eigenPodManager; } /**