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

Problem: need to set accurate destination gas limit for layerzero message execution on Exocore #97

Open
adu-web3 opened this issue Sep 23, 2024 · 0 comments

Comments

@adu-web3
Copy link
Collaborator

Description

As described in evmos/ethermint#1085, ethermint(evmos) would cost at least half of the gas limit no matter how much gas would actually be used by the actual tx execution. Currently we set DESTINATION_GAS_LIMIT as a constant(50_0000_0000), and Layerzero would set a fixed 74_0000_0000(not sure why not the gas limit we have set up) gas limit for the destination tx on Exocore, so the destination tx would consume fixed 37_0000_0000 gas.

Now that ExocoreNetwork/exocore#172 would make the gas estimation more accurate, we should set a more accurate destination gas limit to save layerzero messaging fee, while avoid out of gas failure on Exocore

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