When integrating with LayerZero, the contract should have a quote()
function so that users can accurately estimate the cost of cross-chain messaging. TempleGold does not have the quote()
function, unlike TempleTeleporter.sol.
When interacting with LayerZero lzSend()
, the function requires a messaging fee, which can be accurately estimated through the use of the quote()
function. TempleTeleporter.sol has the function, but not TempleGold.sol.
Users may face revert()
when sending inaccurate msg.value
as the messaging fee
Manual Review
Recommend adding the quote functionality to TempleGold.sol contract as well.
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.