cosmos-sdk/x/bank/keeper
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
..
genesis.go x/bank: create reverse prefix for denom<->address (#9611) 2021-07-26 13:51:04 -04:00
genesis_test.go fix zero coins (#9229) 2021-04-30 16:54:08 +00:00
grpc_query.go feat!: change Coin storage model (#9832) 2021-08-05 17:00:28 +00:00
grpc_query_test.go refactor: Move simapp FundAccount and FundModuleAccount to testutil (#9427) 2021-06-29 10:23:13 +00:00
invariants.go Paginate supply queries (#8798) 2021-04-06 14:43:08 +00:00
keeper.go fix!: remove denom from DenomMetadata key (#9890) 2021-08-11 09:56:51 +00:00
keeper_test.go feat!: Add bech32 prefix to authkeeper (#9759) 2021-08-25 11:17:18 +00:00
migrations.go x/bank: create reverse prefix for denom<->address (#9611) 2021-07-26 13:51:04 -04:00
msg_server.go x/bank v0.43 Audit updates (#9271) 2021-05-10 12:17:55 -04:00
querier.go Paginate supply queries (#8798) 2021-04-06 14:43:08 +00:00
querier_test.go refactor: Move simapp FundAccount and FundModuleAccount to testutil (#9427) 2021-06-29 10:23:13 +00:00
send.go perf!: Add HasAccount to the AuthKeeper to save protobuf decoding time (#10022) 2021-08-31 05:07:31 +00:00
view.go feat!: change Coin storage model (#9832) 2021-08-05 17:00:28 +00:00