cosmos-sdk/x
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
..
auth perf!: Add HasAccount to the AuthKeeper to save protobuf decoding time (#10022) 2021-08-31 05:07:31 +00:00
authz refactor!: BaseApp {Check,Deliver}Tx with middleware design (#9920) 2021-08-25 14:40:33 +00:00
bank perf!: Add HasAccount to the AuthKeeper to save protobuf decoding time (#10022) 2021-08-31 05:07:31 +00:00
capability refactor(test)!: refactor simapp.Setup function (#9938) 2021-08-17 00:52:06 +00:00
crisis refactor(test)!: refactor simapp.Setup function (#9938) 2021-08-17 00:52:06 +00:00
distribution refactor(test)!: refactor simapp.Setup function (#9938) 2021-08-17 00:52:06 +00:00
evidence refactor(test)!: refactor simapp.Setup function (#9938) 2021-08-17 00:52:06 +00:00
feegrant refactor(test)!: refactor simapp.Setup function (#9938) 2021-08-17 00:52:06 +00:00
genutil refactor(test)!: refactor simapp.Setup function (#9938) 2021-08-17 00:52:06 +00:00
gov refactor!: BaseApp {Check,Deliver}Tx with middleware design (#9920) 2021-08-25 14:40:33 +00:00
group feat: implement x/params get all subspaces/keys (#9884) 2021-08-10 08:44:58 -04:00
mint refactor(test)!: refactor simapp.Setup function (#9938) 2021-08-17 00:52:06 +00:00
params refactor(test)!: refactor simapp.Setup function (#9938) 2021-08-17 00:52:06 +00:00
simulation refactor!: BaseApp {Check,Deliver}Tx with middleware design (#9920) 2021-08-25 14:40:33 +00:00
slashing refactor!: BaseApp {Check,Deliver}Tx with middleware design (#9920) 2021-08-25 14:40:33 +00:00
staking refactor(test)!: refactor simapp.Setup function (#9938) 2021-08-17 00:52:06 +00:00
upgrade refactor(test)!: refactor simapp.Setup function (#9938) 2021-08-17 00:52:06 +00:00
README.md docs: fix module spec ordering (#9870) 2021-08-09 08:09:17 +00:00

List of Modules

Here are some production-grade modules that can be used in Cosmos SDK applications, along with their respective documentation:

  • Auth - Authentication of accounts and transactions for Cosmos SDK application.
  • Authz - Authorization for accounts to perform actions on behalf of other accounts.
  • Bank - Token transfer functionalities.
  • Capability - Object capability implementation.
  • Crisis - Halting the blockchain under certain circumstances (e.g. if an invariant is broken).
  • Distribution - Fee distribution, and staking token provision distribution.
  • Evidence - Evidence handling for double signing, misbehaviour, etc.
  • Feegrant - Grant fee allowances for executing transactions.
  • Governance - On-chain proposals and voting.
  • Mint - Creation of new units of staking token.
  • Params - Globally available parameter store.
  • Slashing - Validator punishment mechanisms.
  • Staking - Proof-of-Stake layer for public blockchains.
  • Upgrade - Software upgrades handling and coordination.

To learn more about the process of building modules, visit the building modules reference documentation.

IBC

The IBC module for the SDK has moved to its own repository.