The return value of the getFee function is not being checked. According to the Chainlink CCIP documentation, the function returns 0 on an invalid message.
returns 0 fees on invalid message.
Chainlink Doc
Failing to validate the return value of getFee may lead to incorrect fee calculations and potential discrepancies in the processing of messages. This could result in financial losses or incorrect processing of transactions.
Failing to check the return value of getFee may lead to incorrect fee calculations and potential discrepancies in the processing of messages. It is important to ensure that the return value is properly validated to maintain accurate fee calculations and message processing.
Manual Review
It is important to implement proper validation of the return value of the getFee function to ensure accurate fee calculations and message processing.
Make changes to the getFee method
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.