Description:
as the length of PendingStakes
increases, it will take higher computaional gas fees to delete a stake from the pendingStakes
array.
Impact: the gas fees required to delete a stake will greatly increase as the number of stakes increase.
Proof of Concept: add this code to your test
Recommended Mitigation
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.