When rappers win battles in the contract, their stat profiles reflecting these wins are not updated. This leads to inaccurate public stat information that misrepresents actual rapper performance.
The goOnStageOrBattle(uint256 _tokenId, uint256 _credBet) function handles conducting battles and determining winners. However, it does not call the updateRapperStats() function after victories to update:
battlesWon
So values from getRapperStats() do not align with reality.
The impacts of this stat discrepancy are:
Reputation and achievements don't match actual wins
Inaccurate metadata can wrongly influence battles
Undermines credibility of the rapper histories
Manual Review
To address this, goOnStageOrBattle(uint256 _tokenId, uint256 _credBet) should call updateRapperStats() for the winner to increment battlesWon and recalculate any other stat impacts from the lyrics.
Accurately maintaining these profiles preserves the integrity of rapper histories and reputations, keeping the game fair.
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.