KittyBridge::bridgeNftWithData
Making Transaction to RevertDescription: The KittyBridge::bridgeNftWithData
function is designed to facilitate the transfer of NFTs across different blockchain networks. However, it does not explicitly approve the Chainlink CCIP Router to take fees in the form of LINK tokens.
Impact: This oversight leads to the transaction reverting when the CCIP Router attempts to deduct fees, as it lacks the necessary approval to do so.
Proof of Concept: To demonstrate this issue, one can attempt to execute the bridgeNftWithData function without first approving the CCIP Router to take LINK tokens. Add the following test to project test suit.
Recommended Mitigation: To mitigate this issue, the KittyBridge::bridgeNftWithData function should be modified to include a step where it approves the CCIP Router to take a certain amount of LINK tokens as fees.
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.