cosmos-sdk/docs/spec
Alexander Bezobchuk 67f6b02118 Merge PR #4541: Events Tracking / Tendermint v0.32.0 Update
* Update Tendermint to v0.32.0-dev0

* Initial refactor of tags

* Update event types and add unit tests

* Refactor context

* Update module manager

* Update result godoc

* Implement ToABCIEvents

* Update BaseApp

* Minor cleanup

* Fix typo

* Update x/bank message handler

* Update x/bank keeper

* Update x/bank

* Update x/bank events docs

* Update x/crisis module events

* Reset context with events on each message exec

* Update x/distribution events and docs

* Update BaseApp to not set empty events manually

* Implement simple event manager

* Update module manager

* Update modules to use event manager

* Update x/gov module to use events

* Update events docs

* Update gov queries and crisis app module

* Update bank keeper

* Add events to minting begin blocker

* Update modules to use types/events.go

* Cleanup x/mint

* Update x/staking events

* Update x/staking events

* Update events to have sender part of message.sender

* Fix build

* Fix module unit tests

* Add pending log entry

* Update deps

* Update x/crisis/types/events.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/bank/internal/types/events.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/distribution/types/events.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/mint/internal/types/events.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/slashing/types/events.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/staking/types/events.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/gov/handler.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/gov/handler.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/mint/abci.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/mint/abci.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/slashing/handler.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/staking/handler.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/slashing/handler.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/staking/handler.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/staking/handler.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/staking/handler.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Upgrade TM to v0.32.0-dev1

* Update events as strings

* Update Tendermint to v0.32.0-dev2

* Fix BaseApp unit tests

* Fix unit tests

* Bump tendermint version to v0.32.0

* typos
2019-06-26 18:03:25 +02:00
..
_ics Merge PR #3637: DOCS: Add readme to specs 2019-02-13 10:05:03 -08:00
_proposals Merge PR #3637: DOCS: Add readme to specs 2019-02-13 10:05:03 -08:00
addresses Merge PR #3637: DOCS: Add readme to specs 2019-02-13 10:05:03 -08:00
auth Revert "Generalize auth/types.StdSignature (#4507)" (#4512) 2019-06-08 11:04:52 +01:00
bank Merge PR #4541: Events Tracking / Tendermint v0.32.0 Update 2019-06-26 18:03:25 +02:00
circuit-breaker Merge PR #3898: Circuit breaker high level explanation 2019-03-25 16:37:05 +01:00
crisis Merge PR #4541: Events Tracking / Tendermint v0.32.0 Update 2019-06-26 18:03:25 +02:00
distribution Merge PR #4541: Events Tracking / Tendermint v0.32.0 Update 2019-06-26 18:03:25 +02:00
governance Merge PR #4541: Events Tracking / Tendermint v0.32.0 Update 2019-06-26 18:03:25 +02:00
ibc Merge PR #4074: Fix Docs Typo 2019-04-09 08:53:34 -04:00
mint Merge PR #4541: Events Tracking / Tendermint v0.32.0 Update 2019-06-26 18:03:25 +02:00
params Merge PR #3683: spec-spec update, spec file reorg, TOC updates 2019-02-20 13:21:57 -05:00
reserve-pool Merge PR #3281: Staking Spec Upgrade 2019-01-21 19:52:03 -05:00
slashing Merge PR #4541: Events Tracking / Tendermint v0.32.0 Update 2019-06-26 18:03:25 +02:00
staking Merge PR #4541: Events Tracking / Tendermint v0.32.0 Update 2019-06-26 18:03:25 +02:00
store docs/spec: flesh out dir structure and update index 2018-06-16 00:39:15 -07:00
README.md Merge PR #4353: Documentation Fixes 2019-05-17 09:24:24 -04:00
SPEC-SPEC.md Merge PR #4404: Update Spec to include params 2019-05-24 12:18:07 -04:00

Specifications

This directory contains specifications for the modules of the Cosmos SDK as well as Interchain Standards (ICS) and other specifications.

SDK applications hold this state in a Merkle store. Updates to the store may be made during transactions and at the beginning and end of every block.

SDK specifications:

  • Store - The core Merkle store that holds the state.
  • Bech32 - Address format for Cosmos SDK applications.

Modules specifications:

  • Auth - The structure and authentication of accounts and transactions.
  • Bank - Sending tokens.
  • Governance - Proposals and voting.
  • Staking - Proof-of-stake bonding, delegation, etc.
  • Slashing - Validator punishment mechanisms.
  • Distribution - Fee distribution, and staking token provision distribution.
  • Crisis - Halting the blockchain under certain circumstances.
  • Mint - Staking token provision creation.
  • Params - Globally available parameter store.
  • IBC - Inter-Blockchain Communication (IBC) protocol.

Interchain standards

  • ICS30 - Signed messages standard.

For details on the underlying blockchain and p2p protocols, see the Tendermint specification.