File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -687,6 +687,8 @@ contract AVSDirectory is
687
687
// Newly configured magnitude is less than current value.
688
688
// Therefore we handle this as a deallocation
689
689
690
+ // Note: MAX_PENDING_UPDATES == 1, so we do not have to decrement any allocations
691
+
690
692
// 1. push PendingFreeMagnitude and respective array index into (op,opSet,Strategy) queued deallocations
691
693
uint256 index = _pendingFreeMagnitude[operator][allocation.strategy].length ;
692
694
_pendingFreeMagnitude[operator][allocation.strategy].push (
@@ -696,6 +698,7 @@ contract AVSDirectory is
696
698
})
697
699
);
698
700
_queuedDeallocationIndices[operator][allocation.strategy][operatorSetKey].push (index);
701
+
699
702
} else if (allocation.magnitudes[i] > uint64 (currentMagnitude)) {
700
703
// Newly configured magnitude is greater than current value.
701
704
// Therefore we handle this as an allocation
You can’t perform that action at this time.
0 commit comments