Skip to content

Commit

Permalink
docs: add comment for processClaims() about large arrays hitting gas …
Browse files Browse the repository at this point in the history
…limit
  • Loading branch information
nadir-akhtar committed Dec 2, 2024
1 parent ac57bc1 commit be2662a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/contracts/interfaces/IRewardsCoordinator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ interface IRewardsCoordinator {
* @dev only callable by the valid claimer, that is
* if claimerFor[claim.earner] is address(0) then only the earner can claim, otherwise only
* claimerFor[claim.earner] can claim the rewards.
* @dev This function may fail to execute with a large number of claims due to gas limits. Use a smaller array of claims if necessary.
*/
function processClaims(RewardsMerkleClaim[] calldata claims, address recipient) external;

Expand Down

0 comments on commit be2662a

Please sign in to comment.