Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to estimate dstGasForCall on destination chain? #3

Open
0xbeny opened this issue Jun 28, 2022 · 0 comments
Open

How to estimate dstGasForCall on destination chain? #3

0xbeny opened this issue Jun 28, 2022 · 0 comments

Comments

@0xbeny
Copy link

0xbeny commented Jun 28, 2022

How to estimate dstGasForCall on destination chain?

after wasting a lot of gas fee on BSC and Polygon, and getting this warning "Although one or more Error Occurred [out of gas] Contract Execution Completed" and also tracing on tenderly
i found out, i should fill dstGasForCall in lzTxObj properly. is there any function like "quoteLayerZeroFee" method to return proper value and call it before swap method?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant