In project documentation you state that the game could must be 3-5
turns, but when checking the in createGameWithToken()
and createGameWithEth()
at RockPaperScissors.sol
the checks is only for greater than 0.
In createGameWithEth()
and createGameWithToken()
at RockPaperScissors.sol
you used
which checks for the _totalTurns
must be greater than 0
but with no limit
If totalTurns is too large, gas limits could be hit.
Manual review
Consider replacing the following lines in both createGameWithEth()
and createGameWithToken()
at RockPaperScissors.sol
Code suggestions or observations that do not pose a direct security risk.
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.