diff --git a/src/contracts/core/RewardsCoordinator.sol b/src/contracts/core/RewardsCoordinator.sol index 1b30c9395..43ea1e55b 100644 --- a/src/contracts/core/RewardsCoordinator.sol +++ b/src/contracts/core/RewardsCoordinator.sol @@ -225,7 +225,6 @@ contract RewardsCoordinator is } /// @inheritdoc IRewardsCoordinator - // TODO: stakers can still use this function, no way to introspect that caller is an AVS. Need to add storage in ALM if an avs exists function setClaimerFor(address earner, address claimer) external checkCanCall(earner) { _setClaimer(earner, claimer); } diff --git a/src/contracts/interfaces/IRewardsCoordinator.sol b/src/contracts/interfaces/IRewardsCoordinator.sol index eaa417dc5..7519f0369 100644 --- a/src/contracts/interfaces/IRewardsCoordinator.sol +++ b/src/contracts/interfaces/IRewardsCoordinator.sol @@ -342,7 +342,7 @@ interface IRewardsCoordinator is IRewardsCoordinatorErrors, IRewardsCoordinatorE * @notice Sets the address of the entity that can call `processClaim` on behalf of an earner * @param earner The address to set the claimer for * @param claimer The address of the entity that can call `processClaim` on behalf of the earner - * @dev Only callable by an address that configures the claimer + * @dev Only callable by an address that has delegated account permissions */ function setClaimerFor(address earner, address claimer) external;