In the kittyConnect::mintCatToNewOwner, when a new NFT is minted, the s_ownerToCatsTokenId is updated before safeMint operation, however, the kittyConnect::mintBridgedNFT
function mints NFT without updating the value.
In the kittyConnect::mintCatToNewOwner, when a new NFT is minted, the s_ownerToCatsTokenId is updated before safeMint operation, however, the kittyConnect::mintBridgedNFT
function mints NFT without updating the value.
User might be confused when interacting with s_ownerToCatsTokenId
related methods, such as kittyConnect::getCatsTokenIdOwnedBy. And some operation might have unintended behavior when kittyConnect::bridgeNftToAnotherChain
execute pop operation of s_ownerToCatsTokenId
array.
Manual Review
Update the s_ownerToCatsTokenId
in the 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.