Non existing tokenId will return a price of 0
the openzeppelin ERC721 contract requires NFT to be owned, thus minted, to return a tokenURI or it will revert with a ERC721NonexistentToken
.
RAACNFT doesn't follow the same logic and every not minted token will return a price of 0 in getHousePrice
instead of reverting following the same logic as ERC721.
It will return a price of 0 while for non existing NFTs while it should not return any price. It is a low impact.
Likelihood is high as it will always happen
Add the same check as ERC721 contract
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.