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

fix: paying 50% more than base gas price to buffer EIP1559 gas price increase #1672

Merged
merged 2 commits into from
Jan 31, 2024

Conversation

brewmaster012
Copy link
Collaborator

Description

During busy time the block gas limit will be near full and as result, gas price can increase block by block due to EIP1559 -like feemarket. zetaclientd queries base gas price before making a tx, but the gas price might already be too low for the next block. This PR over pays 50% base gas price to buffer for such block gas price increases, targeting around 10min non-stop gas price increase.

Closes:

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Include instructions and any relevant details so others can reproduce.

  • Tested CCTX in localnet
  • Tested in development environment
  • Go unit tests
  • Go integration tests
  • Tested via GitHub Actions

Checklist:

  • I have added unit tests that prove my fix feature works

@lumtis lumtis merged commit 54b7a92 into develop Jan 31, 2024
15 checks passed
@lumtis lumtis deleted the fix-zetaclient-pay-more-gas-price branch January 31, 2024 03:30
brewmaster012 added a commit that referenced this pull request Jan 31, 2024
…increase (#1672)

* paying 50% more than base gas price to buffer block by block gas price increase

* udpate changelog
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

Successfully merging this pull request may close these issues.

None yet

4 participants