cosmos-sdk/docs/architecture
Marko 9afe2f71d7
docs: add a synopsis upgrade doc for 52 (#23097)
Co-authored-by: Alex | Skip <alex@skip.money>
2025-01-08 13:25:52 +00:00
..
_category_.json
adr-75-v2.md docs: remove redundant words and symbols (#23058) 2024-12-23 11:34:22 +00:00
adr-002-docs-structure.md docs: fix several typos in the document (#22098) 2024-10-03 13:50:51 +00:00
adr-003-dynamic-capability-store.md docs: fix several typos in the document (#22135) 2024-10-07 00:08:29 +00:00
adr-004-split-denomination-keys.md Fix spelling issues (#20957) 2024-07-15 18:10:09 +00:00
adr-006-secret-store-replacement.md
adr-007-specialization-groups.md
adr-008-dCERT-group.md docs: fix typos in various documentation files (#22722) 2024-12-03 09:10:51 +00:00
adr-009-evidence-module.md
adr-010-modular-antehandler.md docs: fix several typos in the document (#22135) 2024-10-07 00:08:29 +00:00
adr-011-generalize-genesis-accounts.md refactor: revert auth extraction (#21507) 2024-09-03 21:12:21 +00:00
adr-012-state-accessors.md docs: fix several typos in the document (#22135) 2024-10-07 00:08:29 +00:00
adr-013-metrics.md docs: fix several typos in the document (#22135) 2024-10-07 00:08:29 +00:00
adr-014-proportional-slashing.md docs: Fix typos and improve clarity in ADR documents docs/architecture (#20908) 2024-07-09 09:41:45 +00:00
adr-016-validator-consensus-key-rotation.md docs: fix several typos in the document (#22135) 2024-10-07 00:08:29 +00:00
adr-017-historical-header-module.md
adr-018-extendable-voting-period.md
adr-019-protobuf-state-encoding.md docs: update global type registration code link (#23230) 2025-01-07 13:00:41 +00:00
adr-020-protobuf-transaction-encoding.md docs: Update protobuf tx signing message format outer link (#22510) 2024-11-11 18:04:16 +00:00
adr-021-protobuf-query-encoding.md
adr-022-custom-panic-handling.md
adr-023-protobuf-naming.md docs: fix spelling errors (#23038) 2024-12-20 13:51:07 +00:00
adr-024-coin-metadata.md
adr-027-deterministic-protobuf-serialization.md docs: update protobuf links (#22182) 2024-10-09 07:18:53 +00:00
adr-028-public-key-addresses.md
adr-029-fee-grant-module.md
adr-030-authz-module.md
adr-031-msg-service.md docs: Quotation marks are used incorrectly. (#23071) 2024-12-26 04:02:05 +00:00
adr-032-typed-events.md docs: update links for https security protocol (#22514) 2024-11-12 14:32:44 +00:00
adr-033-protobuf-inter-module-comm.md docs: Quotation marks are used incorrectly. (#23071) 2024-12-26 04:02:05 +00:00
adr-034-account-rekeying.md docs: remove duplicate words (#20622) 2024-06-11 10:44:33 +00:00
adr-035-rosetta-api-support.md
adr-036-arbitrary-signature.md docs: Quotation marks are used incorrectly. (#23071) 2024-12-26 04:02:05 +00:00
adr-037-gov-split-vote.md
adr-038-state-listening.md feat: replace the cosmos-db.DB interface with core/store interface (#21450) 2024-08-30 21:25:25 +00:00
adr-039-epoched-staking.md docs: Fix typos and improve clarity in ADR documents docs/architecture (#20908) 2024-07-09 09:41:45 +00:00
adr-040-storage-and-smt-state-commitments.md docs: add a synopsis upgrade doc for 52 (#23097) 2025-01-08 13:25:52 +00:00
adr-041-in-place-store-migrations.md
adr-042-group-module.md
adr-043-nft-module.md docs: fix several typos in the document (#22052) 2024-10-03 07:37:36 +00:00
adr-044-protobuf-updates-guidelines.md docs: update protobuf links (#22182) 2024-10-09 07:18:53 +00:00
adr-045-check-delivertx-middlewares.md chore(docs): fix incorrect usage of 'a' and 'an' across documentation (#22976) 2024-12-18 17:10:47 +00:00
adr-046-module-params.md
adr-047-extend-upgrade-plan.md
adr-048-consensus-fees.md
adr-049-state-sync-hooks.md docs: fix typos in various documentation files (#22722) 2024-12-03 09:10:51 +00:00
adr-050-sign-mode-textual-annex1.md
adr-050-sign-mode-textual-annex2.md
adr-050-sign-mode-textual.md
adr-053-go-module-refactoring.md docs: update go module link (#22037) 2024-10-02 06:26:31 +00:00
adr-054-semver-compatible-modules.md docs: redirect the remote generation page (#22404) 2024-10-31 20:21:46 +00:00
adr-055-orm.md
adr-057-app-wiring.md refactor: revert auth extraction (#21507) 2024-09-03 21:12:21 +00:00
adr-058-auto-generated-cli.md
adr-059-test-scopes.md docs: update ADR 59 (#22423) 2024-11-05 07:38:08 +00:00
adr-060-abci-1.0.md refactor! : bump comet to v1 (#19726) 2024-05-06 14:12:00 +00:00
adr-061-liquid-staking.md
adr-062-collections-state-layer.md docs: update collections api example code link (#23251) 2025-01-08 09:47:01 +00:00
adr-063-core-module-api.md docs: fix spelling errors (#23038) 2024-12-20 13:51:07 +00:00
adr-064-abci-2.0.md docs: remove duplicate words (#20622) 2024-06-11 10:44:33 +00:00
adr-065-store-v2.md chore(docs): update store v2 adr (#22794) 2024-12-09 11:19:18 +00:00
adr-067-simulator-v2.md refactor! : bump comet to v1 (#19726) 2024-05-06 14:12:00 +00:00
adr-068-preblock.md
adr-069-gov-improvements.md docs: fix multiple typos (#23143) 2025-01-02 11:59:18 +00:00
adr-070-unordered-transactions.md feat(tx)!: make timeout_height time based (#20870) 2024-07-29 11:53:27 +00:00
adr-071-bank-v2.md chore: fix spelling errors (#21117) 2024-07-30 15:53:13 +00:00
adr-071-crypto-v2-multi-curve.md feat: [ADR-071] Cryptography v2 (#18824) 2024-08-06 21:13:50 +00:00
adr-073-indexer.md docs: ADR 073: update to accepted and add to README.md (#20619) 2024-06-11 08:30:50 +00:00
adr-074-implicit-msg-signers.md docs: ADR 074: Msg v2 (#20618) 2024-06-14 18:19:04 +00:00
adr-template.md
bankv2.png docs: ADR-071 Bank/v2 (#20316) 2024-07-30 10:35:25 +00:00
PROCESS.md docs: fix several typos in the document (#22066) 2024-10-03 09:12:15 +00:00
README.md docs: Add missing symbol in README.md (#21640) 2024-09-11 08:10:05 +00:00

sidebar_position
1

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.

Use RFC 2119 Keywords

When writing ADRs, follow the same best practices for writing RFCs. When writing RFCs, key words are used to signify the requirements in the specification. These words are often capitalized: "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL". They are to be interpreted as described in RFC 2119.

ADR Table of Contents

Accepted

Proposed

Draft