cosmos-sdk/x/bank
Dev Ojha 7273bd39e7
perf!: Add HasAccount to the AuthKeeper to save protobuf decoding time (#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 <31522760+fedekunze@users.noreply.github.com>

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2021-08-31 05:07:31 +00:00
..
atlas chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
client fix: fix the invalid argument for bank total supply cli query (#9980) 2021-08-23 14:16:56 +00:00
exported Index supply by denom (#8517) 2021-03-03 09:58:16 +00:00
keeper perf!: Add HasAccount to the AuthKeeper to save protobuf decoding time (#10022) 2021-08-31 05:07:31 +00:00
migrations fix!: remove denom from DenomMetadata key (#9890) 2021-08-11 09:56:51 +00:00
simulation refactor!: BaseApp {Check,Deliver}Tx with middleware design (#9920) 2021-08-25 14:40:33 +00:00
spec x/bank: create reverse prefix for denom<->address (#9611) 2021-07-26 13:51:04 -04:00
testutil refactor: Move simapp FundAccount and FundModuleAccount to testutil (#9427) 2021-06-29 10:23:13 +00:00
types perf!: Add HasAccount to the AuthKeeper to save protobuf decoding time (#10022) 2021-08-31 05:07:31 +00:00
app_test.go refactor: Move simapp FundAccount and FundModuleAccount to testutil (#9427) 2021-06-29 10:23:13 +00:00
bench_test.go x/bank: skip failing BenchmarkOneBankSend* to avoid blocking benchmarking (#10033) 2021-08-30 15:34:18 -04:00
module.go x/bank: create reverse prefix for denom<->address (#9611) 2021-07-26 13:51:04 -04:00