battlesWon
field stat is never updated after _battle()
ends
The RapBattle
smart contract should be able to update battlesWon
field with OneShot
contract. _battle()
function is not updating battlesWon
after getting results of the battle
Users will be not able to move in ranking (or smth like that)
Only manual review was used.
Consider updating onlyStreetContract
modifier in the OneShot.sol
to onlyStreetOrRapBattleContracts
and adding RapBattle
contract address to storage for checking with modifier. Or add separate modifier to the OneShot
and add updating of battlesWon
to the _battle()
function
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.