cosmos-sdk/x/auth/spec
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
..
01_concepts.md x/{auth, bank, distr} docs basic cleanup (#8268) 2021-01-11 12:11:22 +00:00
02_state.md docs: Revert SPEC-SPEC and update x/{auth,bank,evidence,slashing} (#7407) 2020-10-16 12:42:48 +00:00
03_antehandlers.md Update x/auth AnteHandler Spec (#9298) 2021-05-12 09:10:11 +00:00
04_keepers.md perf!: Add HasAccount to the AuthKeeper to save protobuf decoding time (#10022) 2021-08-31 05:07:31 +00:00
05_vesting.md docs: Fix vesting doc. (#9883) 2021-08-09 17:44:11 +00:00
06_params.md docs: fix module spec ordering (#9870) 2021-08-09 08:09:17 +00:00
README.md docs: Revert SPEC-SPEC and update x/{auth,bank,evidence,slashing} (#7407) 2020-10-16 12:42:48 +00:00

README.md

auth

Abstract

This document specifies the auth module of the Cosmos SDK.

The auth module is responsible for specifying the base transaction and account types for an application, since the SDK itself is agnostic to these particulars. It contains the ante handler, where all basic transaction validity checks (signatures, nonces, auxiliary fields) are performed, and exposes the account keeper, which allows other modules to read, write, and modify accounts.

This module will be used in the Cosmos Hub.

Contents

  1. Concepts
  2. State
  3. AnteHandlers
  4. Keepers
  5. Vesting
  6. Parameters