Variable _nextTokenId
incremented before the current value is assigned to the token to be minted.
uint256 tokenId = _nextTokenId++;
View function getDesign()
will throw an error on the latest minted token, and view function getNextTokenId()
will return the tokenId of the latest minted token instead of the next token, leading to erratic behaviour on integration.
Manual review
Update line 39 to two lines:
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.