cosmos-sdk/x/bank/types
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
..
authz.pb.go x/authz: Add DelegateAuthorization, UndelegateAuthorization (#8472) 2021-02-20 06:57:57 +00:00
balance.go refactoring balance.coin validation 2021-08-03 19:43:38 +02:00
balance_test.go added valid sorted coin testcase 2021-08-04 14:54:01 +02:00
bank.pb.go refactor: Rename x/{mod}/legacy to x/{mod}/migrations (#9628) 2021-07-05 14:55:51 +00:00
codec.go x/authz: audit updates (#9042) 2021-05-06 18:23:48 +00:00
errors.go x/bank/types: fix AddressFromBalancesStore panics with invalid keys (#9061) 2021-04-07 16:20:38 +00:00
events.go [bank]: add balance tracking events (#8656) 2021-02-25 18:15:02 +00:00
expected_keepers.go perf!: Add HasAccount to the AuthKeeper to save protobuf decoding time (#10022) 2021-08-31 05:07:31 +00:00
genesis.go codec: Rename codec and marshaler interfaces (#9226) 2021-04-29 10:46:22 +00:00
genesis.pb.go cosmos-reflection: extend to support writing by reflection clients (#8965) 2021-04-07 00:33:54 +01:00
genesis_test.go auth: allow 0 coin accounts in genesis (#8714) 2021-02-26 15:41:48 +00:00
key.go fix!: remove denom from DenomMetadata key (#9890) 2021-08-11 09:56:51 +00:00
key_test.go feat!: change Coin storage model (#9832) 2021-08-05 17:00:28 +00:00
metadata.go bank: name and symbol metadata fields (#8677) 2021-02-24 20:06:04 -03:00
metadata_test.go bank: name and symbol metadata fields (#8677) 2021-02-24 20:06:04 -03:00
msgs.go refactor!: change GetSigners return type to []sdk.AccAddress (#9915) 2021-08-13 15:34:00 +00:00
msgs_test.go refactor!: change GetSigners return type to []sdk.AccAddress (#9915) 2021-08-13 15:34:00 +00:00
params.go
params_test.go types: update coin regex (#7027) 2020-08-14 09:09:53 +00:00
querier.go Change `address` from bytes to bech32 strings (#7242) 2020-09-25 10:25:37 +00:00
query.pb.go feat: add DenomOwners gRPC method for x/bank (#9533) 2021-06-28 14:40:44 +00:00
query.pb.gw.go feat: add DenomOwners gRPC method for x/bank (#9533) 2021-06-28 14:40:44 +00:00
send_authorization.go ADR-30 (authz) update based on authz audit (#9270) 2021-05-07 19:38:43 +00:00
send_authorization_test.go refactor(test)!: refactor `simapp.Setup` function (#9938) 2021-08-17 00:52:06 +00:00
tx.pb.go Update gogo proto deps with v1.3.2 security fixes (#8350) 2021-01-15 19:45:34 +00:00