checkLiquidatableAccounts() would revert if lowerBound is positive.
In checkLiquidatableAccounts(), the length of liquidatableAccountsIds is upperBound - lowerBound.
But while iterating from lowerBound to upperBound, it updates liquidatableAccountsIds[i] directly which will revert if i >= upperBound - lowerBound.
checkUpkeep() would revert when lowerBound > 0.
Manual Review
checkLiquidatableAccounts() should use a correct index while updating liquidatableAccountsIds.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.