cosmos-sdk/docs/architecture
chengwenxi e39f05907d apply comments 2021-05-31 14:42:56 +08:00
..
PROCESS.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
README.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
adr-002-docs-structure.md Fix typo (#5523) 2020-01-15 08:14:25 +01:00
adr-003-dynamic-capability-store.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
adr-004-split-denomination-keys.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
adr-006-secret-store-replacement.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
adr-007-specialization-groups.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
adr-008-dCERT-group.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
adr-009-evidence-module.md docs: link checker (#5860) 2020-03-24 11:21:30 +01:00
adr-010-modular-antehandler.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
adr-011-generalize-genesis-accounts.md rename RegisterCodec to RegisterLegacyAminoCodec (#7243) 2020-09-07 14:47:12 +00:00
adr-012-state-accessors.md Rename *codec.Codec to *codec.LegacyAmino (#6991) 2020-08-10 19:41:21 +00:00
adr-013-metrics.md Merge PR #6761: telemetry: use UTC() in wrappers 2020-07-17 15:33:50 -04:00
adr-014-proportional-slashing.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
adr-016-validator-consensus-key-rotation.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
adr-017-historical-header-module.md Fix link to ICS2 on ADR017 (#8975) 2021-03-24 08:30:00 +00:00
adr-018-extendable-voting-period.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
adr-019-protobuf-state-encoding.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
adr-020-protobuf-transaction-encoding.md Rename clientCtx.JSONMarshaler to JSONCodec (#9251) 2021-05-03 14:45:47 +00:00
adr-021-protobuf-query-encoding.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
adr-022-custom-panic-handling.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
adr-023-protobuf-naming.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
adr-024-coin-metadata.md x/bank: client denom metadata gRPC (#8317) 2021-01-19 17:08:09 -05:00
adr-027-deterministic-protobuf-serialization.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
adr-028-public-key-addresses.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
adr-029-fee-grant-module.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
adr-030-authz-module.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
adr-031-msg-service.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
adr-032-typed-events.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
adr-033-protobuf-inter-module-comm.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
adr-034-account-rekeying.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
adr-035-rosetta-api-support.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
adr-036-arbitrary-signature.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
adr-037-gov-split-vote.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
adr-038-state-listening.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
adr-039-epoched-staking.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
adr-040-storage-and-smt-state-commitments.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
adr-041-in-place-store-migrations.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
adr-042-group-module.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
adr-043-nft-module.md apply comments 2021-05-31 14:42:56 +08:00
adr-template.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00

README.md

order parent
false
order
false

Architecture Decision Records (ADR)

This is a location to record all high-level architecture decisions in the Cosmos-SDK.

An Architectural Decision (AD) is a software design choice that addresses a functional or non-functional requirement that is architecturally significant. An Architecturally Significant Requirement (ASR) is a requirement that has a measurable effect on a software systems architecture and quality. An Architectural Decision Record (ADR) captures a single AD, such as often done when writing personal notes or meeting minutes; the collection of ADRs created and maintained in a project constitute its decision log. All these are within the topic of Architectural Knowledge Management (AKM).

You can read more about the ADR concept in this blog post.

Rationale

ADRs are intended to be the primary mechanism for proposing new feature designs and new processes, for collecting community input on an issue, and for documenting the design decisions. An ADR should provide:

  • Context on the relevant goals and the current state
  • Proposed changes to achieve the goals
  • Summary of pros and cons
  • References
  • Changelog

Note the distinction between an ADR and a spec. The ADR provides the context, intuition, reasoning, and justification for a change in architecture, or for the architecture of something new. The spec is much more compressed and streamlined summary of everything as it stands today.

If recorded decisions turned out to be lacking, convene a discussion, record the new decisions here, and then modify the code to match.

Creating new ADR

Read about the PROCESS.

ADR Table of Contents

Accepted

Proposed