Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf!: Add HasAccount to the AuthKeeper to save protobuf decoding tim…
…e (backport cosmos#10022) (cosmos#10847) * perf!: Add HasAccount to the AuthKeeper to save protobuf decoding time (cosmos#10022) * Add HasAccount to the AuthKeeper to save protobuf decoding time We found in the Osmosis epoch time, the many accesses to GetAccount's proto unmarshalling was a significant slowdown. This adds a HasAccount method to the AuthKeeper, and fixes one unnecessary spot that it appears within in SendCoins * Update Spec * Add Changelog entry * Fix lint & use speedup in SendCoins * Update x/auth/keeper/account.go Co-authored-by: Federico Kunze Küllmer <[email protected]> Co-authored-by: Federico Kunze Küllmer <[email protected]> (cherry picked from commit 7273bd3) * conflicts * changelog * changelog Co-authored-by: Dev Ojha <[email protected]> Co-authored-by: Federico Kunze Küllmer <[email protected]>
- Loading branch information