Skip to content

Commit

Permalink
Reduce MAX_PERFORM and MAX_CHECK (#9657)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylesmartin committed Jun 21, 2023
1 parent 14f0d66 commit 6e55cdc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ contract LinkAvailableBalanceMonitor is ConfirmedOwner, Pausable, KeeperCompatib
error InvalidWatchList();
error DuplicateAddress(address duplicate);

uint256 public constant MAX_PERFORM = 30; // max number to addresses to top up in a single batch
uint256 public constant MAX_CHECK = 130; // max number of upkeeps to check (need to fit in 5M gas limit)
uint256 public constant MAX_PERFORM = 5; // max number to addresses to top up in a single batch
uint256 public constant MAX_CHECK = 20; // max number of upkeeps to check (need to fit in 5M gas limit)
IERC20 public immutable LINK_TOKEN;

EnumerableMap.AddressToUintMap private s_watchList;
Expand Down

0 comments on commit 6e55cdc

Please sign in to comment.