Sparkn

CodeFox Inc.
DeFiFoundryProxy
15,000 USDC
View results
Submission Details
Severity: medium

28 days Limit of contest days may fall short for large projects

Summary

Large projects with a long timespan cannot use SPARKN .

Vulnerability Details

SPARKN protocol is a Web3 project that aspires to create a marketplace for anyone looking to find solutions to their problems or eager to assist others in solving theirs.

Currently SPARKN has a max contest time limit of only 28 days .

uint256 public constant MAX_CONTEST_PERIOD = 28 days

Which may cause issue for very large projects . If a project is too large and requires more than a month to finish than limit of 28 days will fall short for them and those projects cannot use SPARKN.

For example : CodeHawks Vyper compiler contest.A huge project like this requires a long timespan in terms auditing , building ,designing , testing etc.
But SPARKN is unable to provide that long timespan flexibility for large projects .

Impact

Large projects which requires more than 28 days cannot use SPARKN for their projects .

Tools Used

Manual review

Recommendations

Having that extra flexibility is always recommended .
Consider increasing MAX_CONTEST_PERIOD for better flexibility .

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.