The mismatch between lzsend and quote functions mean gas will be erroneous which means more gas will be sent or less gas will be sent. In the case of less gas, it means the asset on the destination chain will be stuck
According to layerzero Make sure that the arguments passed into the quote() function identically match the parameters used in the lzSend() function. If parameters mismatch, you may run into errors as your msg.value will not match the actual gas quote.
https://docs.layerzero.network/v2/developers/evm/oapp/overview#implementing-_lzreceive
The mismatch between lzsend and quote functions arguments mean gas will be erroneous which means more gas will be sent or less gas will be sent. In the case of less gas, it means the asset on the destination chain will be stuck.
One of to scenarios will happen: we waste excess gas, which is refunded to the lzReceive() caller (Layer Zero) OR we underprice the delivery cost, causing lzReceive() to revert and the asset stuck in limbo forever.
Manual Review
Make sure that the arguments passed into the quote()
function identically match the parameters used in the lzSend()
function. If parameters mismatch, you may run into errors as your msg.value
will not match the actual gas quote.
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.