The contract lacks error codes for several invalid cases, such as invalid fund, invalid amount, invalid goal, goal not reached, and no contribution found. This makes it difficult to handle these cases gracefully.
The ErrorCode
enum does not include variants for the following cases:
Invalid fund
Invalid amount
Invalid goal
Goal not reached
No contribution found
The program cannot handle these cases gracefully, leading to potential confusion and incorrect behavior.
manual review
Add the following error variants to the ErrorCode
enum
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.