The battle system doesn't impose any maximum bet limit, which could lead to very large bets straining the system or causing integer overflow issues. The go_on_stage_or_battle
function accepts any bet amount without upper bounds.
This lack of validation could allow users to place extremely large bets that may exceed system limits or create economic imbalances.
Likelihood:
Users could submit extremely large bets
No protection against economic imbalance
Potential for system strain
Impact:
System strain from large bet amounts
Potential integer overflow in calculations
Economic imbalance in the protocol
This PoC demonstrates the lack of bet limits:
The mitigation adds reasonable bet limits to prevent system strain:
This limit prevents extremely large bets while maintaining reasonable gameplay.
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.
The contest is complete and the rewards are being distributed.