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 authored and FelixFan1992 committed Jul 6, 2023
1 parent 58e2c99 commit 0b1d60e
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 0b1d60e

Please sign in to comment.