Skip to content

Commit 00e046e

Browse files
committed
nit
1 parent c3b1a53 commit 00e046e

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

src/contracts/core/storage/AllocationManagerStorage.sol

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ abstract contract AllocationManagerStorage is IAllocationManagerStorage {
6363
/// OPERATOR => OPERATOR SET (REGISTRATION/DEREGISTRATION)
6464

6565
/// @notice Returns the allocation delay info for each `operator`; the delay and whether or not it's previously been set.
66-
mapping(address operator => IAllocationManagerTypes.AllocationDelayInfo) internal _allocationDelayInfo;
66+
mapping(address operator => AllocationDelayInfo) internal _allocationDelayInfo;
6767

6868
/// @dev Lists the operator sets the operator is registered for. Note that an operator
6969
/// can be registered without allocated stake. Likewise, an operator can allocate
@@ -74,18 +74,15 @@ abstract contract AllocationManagerStorage is IAllocationManagerStorage {
7474
mapping(address operator => EnumerableSet.Bytes32Set) internal allocatedSets;
7575

7676
/// @dev Contains the operator's registration status for an operator set.
77-
mapping(address operator => mapping(bytes32 operatorSetKey => IAllocationManagerTypes.RegistrationStatus)) internal
78-
registrationStatus;
77+
mapping(address operator => mapping(bytes32 operatorSetKey => RegistrationStatus)) internal registrationStatus;
7978

8079
/// @dev For an operator set, lists all strategies an operator has outstanding allocations from.
8180
mapping(address operator => mapping(bytes32 operatorSetKey => EnumerableSet.AddressSet)) internal
8281
allocatedStrategies;
8382

8483
/// @dev For an operator set and strategy, the current allocated magnitude and any pending modification
85-
mapping(
86-
address operator
87-
=> mapping(bytes32 operatorSetKey => mapping(IStrategy strategy => IAllocationManagerTypes.Allocation))
88-
) internal allocations;
84+
mapping(address operator => mapping(bytes32 operatorSetKey => mapping(IStrategy strategy => Allocation))) internal
85+
allocations;
8986

9087
/// OPERATOR => STRATEGY (MAX/USED AND DEALLOCATIONS)
9188

src/contracts/interfaces/IAllocationManager.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ interface IAllocationManagerEvents is IAllocationManagerTypes {
225225
event StrategyRemovedFromOperatorSet(OperatorSet operatorSet, IStrategy strategy);
226226
}
227227

228-
interface IAllocationManagerStorage {
228+
interface IAllocationManagerStorage is IAllocationManagerEvents {
229229
/**
230230
* @notice The DelegationManager contract for EigenLayer
231231
*/

0 commit comments

Comments
 (0)