Not capped array can grow too big and lead to out of gas error
If an user wants to Re-initializes the field, a for-loop will iterate over all of his positions to the relevant indexes. However, this loop will go over all of the past position as well, and in long period of time, if the user interacts with the protocol many times, this array can grow too big and the call can exceed the block gas limit which will DoS the protocol.
Manual Review
Consider limit accountPlots length.
Invalid as per docs https://docs.codehawks.com/hawks-auditors/how-to-determine-a-finding-validity
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.