OstiumLinkUpKeep:topUp() is missing a length check for registryAddresses
Description
OstiumLinkUpKeep:topUp() checks if (upkeepIDs.length != topUpAmounts.length)
revert WrongParams();, but does not include the length of registryAddresses, which isexpected to be equal, as seen in OstiumLinkUpKeep:getUnderfundedUpkeeps().
Recommendation
Either do:
if (upkeepIDs.length != topUpAmounts.length && topUpAmounts.length != registryAddresses.length) revert WrongParams();or use an array of structs containing the 3 parameters.
Status
Addressed in #ae32282.