You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* allocating magnitude to an operator set, and the magnitude becoming slashable.
508
510
* @param operator The operator to set the delay on behalf of.
509
511
* @param delay The allocation delay in blocks.
510
-
* @param allocationConfigurationDelay The delay after which the allocation delay takes effect. 0 if the operator is newly registered, otherwise ALLOCATION_CONFIGURATION_DELAY.
512
+
* @param newlyRegistered Whether the operator is newly registered in the core protocol.
511
513
*/
512
-
function _setAllocationDelay(addressoperator, uint32delay, uint32allocationConfigurationDelay) internal {
514
+
function _setAllocationDelay(addressoperator, uint32delay, boolnewlyRegistered) internal {
513
515
AllocationDelayInfo memory info = _allocationDelayInfo[operator];
514
516
515
517
// If there is a pending delay that can be applied now, set it
@@ -519,7 +521,14 @@ contract AllocationManager is
0 commit comments