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

Add ability to set gas price or fees in ZetaClient broadcasts #1246

Closed
Tracked by #1611
lumtis opened this issue Oct 5, 2023 · 1 comment
Closed
Tracked by #1611

Add ability to set gas price or fees in ZetaClient broadcasts #1246

lumtis opened this issue Oct 5, 2023 · 1 comment
Labels
zetaclient Issues related to ZetaClient

Comments

@lumtis
Copy link
Member

lumtis commented Oct 5, 2023

We currently don't set any gas price or fees in ZetaClient when broadcasting ZetaChain messages:
https://github.com/zeta-chain/node/blob/develop/zetaclient/broadcast.go

This might become problematic if the gas price is lower than the other txs in the mempool and node prioritize higher gas price.

We should have the ability to set a custom gas price for message broadcast that would depend on the network.

@lumtis lumtis added the zetaclient Issues related to ZetaClient label Oct 5, 2023
@lumtis lumtis mentioned this issue Oct 9, 2023
@lumtis
Copy link
Member Author

lumtis commented Feb 6, 2024

Closing, ZetaClient now uses the base fee with a multiplier for the gas price. In the future we're consider a specific prioritization for system messages.

@lumtis lumtis closed this as completed Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
zetaclient Issues related to ZetaClient
Projects
None yet
Development

No branches or pull requests

1 participant