-
Notifications
You must be signed in to change notification settings - Fork 834
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(ante): handle zero fee case on evm transactions #1753
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1753 +/- ##
=======================================
Coverage 70.32% 70.33%
=======================================
Files 297 297
Lines 22287 22293 +6
=======================================
+ Hits 15673 15679 +6
Misses 5847 5847
Partials 767 767
|
ENG-2046 Fix bug for Zero fee EVM tx
ContextWhen the genesis parameter feemarket sets no_base_fee=true and min_gas_price=0, the user send a evm transaction with a gasPrice of 0 fails. ExpectedTx should be successful There's a PR addressing this issue already. Tasks:
More details of the issue on this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGMT!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Great work 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Great work!
https://github.com/Mergifyio backport release/v15.0.x |
✅ Backports have been created
|
* fix: handle zero fee case on eth ante * refactor style * add changelog entry * add zero fees unit test case * refactor helper functions * add zero fees integration tests * fix lint issues (cherry picked from commit e041fdf) # Conflicts: # CHANGELOG.md
…1889) * fix(ante): handle zero fee case on evm transactions (#1753) * fix: handle zero fee case on eth ante * refactor style * add changelog entry * add zero fees unit test case * refactor helper functions * add zero fees integration tests * fix lint issues (cherry picked from commit e041fdf) # Conflicts: # CHANGELOG.md * fix conflicts --------- Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com> Co-authored-by: tom <tomasguerraalda@hotmail.com>
Description
This change addresses the case reported by @luchenqun of having zero fees for evm transactions
(more details on this PR)
Nit: Before merging these changes, would be great to add some e2e tests to cover this case once the nix testing setup is merged
Closes ENG-2046