Lines of impacted code:
WithdrawalBatch[] internal withdrawalBatches;
is a dynamic array which only grows during the lifetime of withdrawal pool contract. At this moment there is no way to remove items from this list. If grown in significant size it might be difficult to traverse through or retrieve items from this list. It might break multiple private/public functions including updateWithdrawalBatchIdCutoff
.
Continuously growing withdrawalBatches
might break WithdrawalPool contract.
Have a mechanism to put a hard cap on withdrawalBatches
and delete items from withdrawalBatches
.
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.