Skip to content

Commit

Permalink
test: allocation test refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
ypatil12 committed Nov 28, 2024
1 parent 6009e25 commit 86218af
Show file tree
Hide file tree
Showing 2 changed files with 220 additions and 204 deletions.
2 changes: 2 additions & 0 deletions src/contracts/core/AllocationManagerStorage.sol
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ abstract contract AllocationManagerStorage is IAllocationManager {
_maxMagnitudeHistory;

/// @dev For a strategy, contains the amount of magnitude an operator has allocated to operator sets
/// @dev This value should be read with caution, as deallocations that are completable but not
/// popped off the queue are still included in the encumbered magnitude
mapping(address operator => mapping(IStrategy strategy => uint64)) public encumberedMagnitude;

/// @dev For a strategy, keeps an ordered queue of operator sets that have pending deallocations
Expand Down
Loading

0 comments on commit 86218af

Please sign in to comment.