cosmos-sdk/docs/architecture
2025-10-06 16:19:03 +00:00
..
_category_.json docs: update documentation order for build tab (backport #17722) (#17723) 2023-09-13 17:30:56 +02:00
adr-002-docs-structure.md docs: Code blocks in SDK docs are broken (#11189) 2022-02-14 23:39:35 +01:00
adr-003-dynamic-capability-store.md docs: improve documentation navigation and redirection (#13455) 2022-10-06 15:51:10 +02:00
adr-004-split-denomination-keys.md docs: fix typos across multiple modules and documentation (#25078) 2025-08-04 15:34:11 +00:00
adr-006-secret-store-replacement.md docs: fix typos and improve documentation clarity (#24978) 2025-07-24 14:52:49 +00:00
adr-007-specialization-groups.md docs: fix spelling issues (#24965) 2025-07-22 17:45:45 +00:00
adr-008-dCERT-group.md docs: fix typos across multiple modules and documentation (#25078) 2025-08-04 15:34:11 +00:00
adr-009-evidence-module.md docs: Improve markdownlint configuration (#11104) 2022-02-10 12:07:01 +00:00
adr-010-modular-antehandler.md docs: fix typos and improve documentation clarity (#24978) 2025-07-24 14:52:49 +00:00
adr-011-generalize-genesis-accounts.md docs: Improve markdownlint configuration (#11104) 2022-02-10 12:07:01 +00:00
adr-012-state-accessors.md docs: fix typos across multiple modules and documentation (#25078) 2025-08-04 15:34:11 +00:00
adr-013-metrics.md build(deps): use hashicorp/go-metrics instead of armon/go-metrics (backport #16790) (#16800) 2023-06-30 15:27:05 +00:00
adr-014-proportional-slashing.md Fix typos and minor comment cleanup in ADR documentation (#24974) 2025-07-23 14:49:22 -04:00
adr-016-validator-consensus-key-rotation.md fix: typos in documentation (#25110) 2025-08-08 16:28:45 +00:00
adr-017-historical-header-module.md docs: improve documentation navigation and redirection (#13455) 2022-10-06 15:51:10 +02:00
adr-018-extendable-voting-period.md Fix typos and minor comment cleanup in ADR documentation (#24974) 2025-07-23 14:49:22 -04:00
adr-019-protobuf-state-encoding.md fix: typos in documentation (#25110) 2025-08-08 16:28:45 +00:00
adr-020-protobuf-transaction-encoding.md fix: typos in documentation (#25110) 2025-08-08 16:28:45 +00:00
adr-021-protobuf-query-encoding.md fix: typos in documentation (#25110) 2025-08-08 16:28:45 +00:00
adr-022-custom-panic-handling.md fix: typos in documentation (#25110) 2025-08-08 16:28:45 +00:00
adr-023-protobuf-naming.md fix: typos in documentation (#25110) 2025-08-08 16:28:45 +00:00
adr-024-coin-metadata.md docs: add missing field in denom metadata example (#14461) 2023-01-02 10:06:01 +00:00
adr-027-deterministic-protobuf-serialization.md fix: typos in documentation (#25110) 2025-08-08 16:28:45 +00:00
adr-028-public-key-addresses.md fix: typos in documentation (#25110) 2025-08-08 16:28:45 +00:00
adr-029-fee-grant-module.md fix: typos in documentation (#25110) 2025-08-08 16:28:45 +00:00
adr-030-authz-module.md docs: fixed broken links (#25385) 2025-10-06 16:19:03 +00:00
adr-031-msg-service.md fix: correct typos and grammar in architecture documentation (#25124) 2025-08-11 13:14:41 +00:00
adr-032-typed-events.md fix: correct typos and grammar in architecture documentation (#25124) 2025-08-11 13:14:41 +00:00
adr-033-protobuf-inter-module-comm.md fix: correct typos and grammar in architecture documentation (#25124) 2025-08-11 13:14:41 +00:00
adr-034-account-rekeying.md fix: correct typos and grammar in architecture documentation (#25124) 2025-08-11 13:14:41 +00:00
adr-035-rosetta-api-support.md fix: correct typos and grammar in architecture documentation (#25124) 2025-08-11 13:14:41 +00:00
adr-036-arbitrary-signature.md fix: correct typos and grammar in architecture documentation (#25124) 2025-08-11 13:14:41 +00:00
adr-037-gov-split-vote.md fix: correct typos and grammar in architecture documentation (#25124) 2025-08-11 13:14:41 +00:00
adr-038-state-listening.md fix: correct typos across codebase (#25335) 2025-09-10 19:36:08 +00:00
adr-039-epoched-staking.md fix: correct typos and grammar in architecture documentation (#25124) 2025-08-11 13:14:41 +00:00
adr-040-storage-and-smt-state-commitments.md refactor: bring cometbft back to v0.38.x family (#25285) 2025-08-29 15:58:04 -04:00
adr-041-in-place-store-migrations.md fix typographical errors across architecture design records (#24972) 2025-07-23 14:52:26 -04:00
adr-042-group-module.md docs: update documentation references to current paths (#25050) 2025-07-30 15:31:06 +00:00
adr-043-nft-module.md fix: multiple typos of different importance (#25068) 2025-08-04 19:49:30 +00:00
adr-044-protobuf-updates-guidelines.md docs: fix typos (#25065) 2025-07-31 16:26:50 +00:00
adr-045-check-delivertx-middlewares.md docs: fix grammatical and terminology issues in ADR documents (#25066) 2025-07-31 18:33:24 +00:00
adr-046-module-params.md docs: typos (#25062) 2025-08-04 20:26:43 +00:00
adr-047-extend-upgrade-plan.md docs: fix misspelled issues (#25080) 2025-08-04 11:11:06 -04:00
adr-048-consensus-fees.md fix: multiple typos of different importance (#25068) 2025-08-04 19:49:30 +00:00
adr-049-state-sync-hooks.md docs: typos (#25062) 2025-08-04 20:26:43 +00:00
adr-050-sign-mode-textual-annex1.md docs: typos (#25062) 2025-08-04 20:26:43 +00:00
adr-050-sign-mode-textual-annex2.md docs: typos (#25062) 2025-08-04 20:26:43 +00:00
adr-050-sign-mode-textual.md docs: typos (#25062) 2025-08-04 20:26:43 +00:00
adr-053-go-module-refactoring.md docs: fix grammatical and terminology issues in ADR documents (#25066) 2025-07-31 18:33:24 +00:00
adr-054-semver-compatible-modules.md fix: multiple typos of different importance (#25068) 2025-08-04 19:49:30 +00:00
adr-055-orm.md docs: lint (#24854) 2025-06-11 10:20:44 -04:00
adr-057-app-wiring.md docs: fix typos (#25065) 2025-07-31 16:26:50 +00:00
adr-058-auto-generated-cli.md docs: fix misspelled issues (#25080) 2025-08-04 11:11:06 -04:00
adr-059-test-scopes.md docs: fixed broken links (#25385) 2025-10-06 16:19:03 +00:00
adr-060-abci-1.0.md refactor: bring cometbft back to v0.38.x family (#25285) 2025-08-29 15:58:04 -04:00
adr-061-liquid-staking.md docs: fix typos in documentation files (#25064) 2025-07-31 16:51:50 +00:00
adr-062-collections-state-layer.md fix: typos (#25048) 2025-07-30 15:28:28 +00:00
adr-063-core-module-api.md fix: Small visualization fix by removing unclosed code block in ADR 063 (#25247) 2025-08-26 14:30:23 -04:00
adr-064-abci-2.0.md refactor: bring cometbft back to v0.38.x family (#25285) 2025-08-29 15:58:04 -04:00
adr-065-store-v2.md docs: fix grammar and spelling errors (#25129) 2025-08-11 13:18:10 +00:00
adr-068-preblock.md docs: fix grammar and spelling errors (#25129) 2025-08-11 13:18:10 +00:00
adr-070-unordered-account.md docs: fix grammar and spelling errors (#25129) 2025-08-11 13:18:10 +00:00
adr-076-tx-malleability.md docs: fix grammar and spelling errors (#25129) 2025-08-11 13:18:10 +00:00
adr-template.md docs: fix grammar and spelling errors (#25129) 2025-08-11 13:18:10 +00:00
PROCESS.md docs: fix grammar and spelling errors (#25129) 2025-08-11 13:18:10 +00:00
README.md docs: fix grammar and spelling errors (#25129) 2025-08-11 13:18:10 +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 is 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 a 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 a 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