possibility of having a maximum deposit equal to zero in the setMaxDepositSizeBP function.
When setting new to the maxDepositSizeBP storage with the VaultControllerStrategy::setMaxDepositSizeBP function, no checks are carried out; which means that this variable will receive any value, including zero. However this state variable represent the max basis point amount of the deposit room in the Chainlink staking contract that can be deposited at once. So this is a maximum value; it would make no sense to set a maximum value to zero:
Unexpected Behavior leading to potential errors, attacks or state inconsistencies.
Manual review.
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.