code-423n4 / 2024-04-ai-arena-mitigation-findings

0 stars 0 forks source link

H-06 MitigationConfirmed #45

Open c4-bot-2 opened 7 months ago

c4-bot-2 commented 7 months ago

Lines of code

Vulnerability details

Mitigation of H-06: Mitigated

Mitigated issue

H-06: FighterFarm:: reroll won't work for nft id greator than 255 due to input limited to uint8

The issue was the limit imposed by uint8 as the type of tokenId in FighterFarm.reRoll().

Mitigation review - Mitigated

uint8 tokenId has been replaced by uint256 tokenId.

c4-judge commented 7 months ago

jhsagd76 marked the issue as satisfactory