Players who legitimately obtain commemorative NFTs may have a very low chance of receiving a URL that is identical to another player's.
Likelihood:
The use of the abi.encodePacked
function may introduce the risk of encoding collisions.
Impact:
This can result in different token IDs being mapped to the same URL.
This risk can only be demonstrated when the system contains a large number of commemorative NFTs, but it is a real and valid concern.
Replace abi.encodePacked
with string.concat
in a reasonable and safe manner, as shown in the following code example:
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.