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 @@ -688,6 +688,8 @@ contract AVSDirectory is
688688                // Newly configured magnitude is less than current value. 
689689                // Therefore we handle this as a deallocation 
690690
691+                 // Note: MAX_PENDING_UPDATES == 1, so we do not have to decrement any allocations 
692+ 
691693                // 1. push PendingFreeMagnitude and respective array index into (op,opSet,Strategy) queued deallocations 
692694                uint256  index =  _pendingFreeMagnitude[operator][allocation.strategy].length ;
693695                _pendingFreeMagnitude[operator][allocation.strategy].push (
@@ -697,6 +699,7 @@ contract AVSDirectory is
697699                    })
698700                );
699701                _queuedDeallocationIndices[operator][allocation.strategy][operatorSetKey].push (index);
702+ 
700703            } else  if  (allocation.magnitudes[i] >  uint64 (currentMagnitude)) {
701704                // Newly configured magnitude is greater than current value. 
702705                // Therefore we handle this as an allocation 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments