-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
perf(x/auth): only check memo when memo is present #13528
Conversation
@technicallyty can you update cosmos-sdk/baseapp/block_gas_test.go Line 169 in f3a558c
|
does this change need a changelog entry? @alexanderbez @julienrbrt @tac0turtle |
Sure, why not one under improvements. |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #13528 +/- ##
=======================================
Coverage 53.92% 53.92%
=======================================
Files 643 643
Lines 55464 55464
=======================================
Hits 29909 29909
Misses 23153 23153
Partials 2402 2402
|
Description
ValidateMemoDecorator
ante handler to only check the memo if one is included in the tx, which saves adtl' gas as reading params incurs a flat read gas cost.Closes: n/a
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
!
to the type prefix if API or client breaking changeCHANGELOG.md
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
!
in the type prefix if API or client breaking change