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 a tx gasPrice Buffer to reduce INSUFFICIENT_TX_FEE cases #2674

Open
Nana-EC opened this issue Jul 4, 2024 · 0 comments · May be fixed by #2692
Open

Add a tx gasPrice Buffer to reduce INSUFFICIENT_TX_FEE cases #2674

Nana-EC opened this issue Jul 4, 2024 · 0 comments · May be fixed by #2692
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Nana-EC
Copy link
Collaborator

Nana-EC commented Jul 4, 2024

Problem

Occasionally users observe an INSUFFICIENT_TX_FEE.
This may be for insufficient gasLimit supply but occasionally it's due to a change in exchange ate that result in the converted hbar value of the gasLimit not being sufficient.
This is hard to determine as it change infrequently but also due to caching optimizations the relay may miss this.

Solution

Add a configureable setting GAS_PRICE_BUFFER that adds a percentage on top of the calculated network gasPrice.

Note: This may be a band aid option to improve user experience whiles we explore other longer term options.

Alternatives

No response

@Nana-EC Nana-EC added the enhancement New feature or request label Jul 4, 2024
@natanasow natanasow self-assigned this Jul 10, 2024
@natanasow natanasow added this to the 0.52.0 milestone Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Tasks In Progress
Development

Successfully merging a pull request may close this issue.

2 participants