cosmos-sdk/docs/architecture
atheeshp 2a95a4abdd
docs: add consensus pubkey docs (#19081)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: samricotta <37125168+samricotta@users.noreply.github.com>
2024-01-18 09:23:21 +00:00
..
_category_.json docs: update documentation order for build tab (#17722) 2023-09-13 15:17:51 +00: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: improve documentation navigation and redirection (#13455) 2022-10-06 15:51:10 +02:00
adr-006-secret-store-replacement.md docs: fix typo adr-006-secret-store-replacement.md (#18610) 2023-12-02 10:40:54 +00:00
adr-007-specialization-groups.md docs: fix typos in adr-007-specialization-groups.md (#18635) 2023-12-06 13:49:52 +00:00
adr-008-dCERT-group.md docs: Improve markdownlint configuration (#11104) 2022-02-10 12:07:01 +00:00
adr-009-evidence-module.md chore!: remove bank & genutil legacy migrations (#17818) 2023-09-21 10:33:14 +00:00
adr-010-modular-antehandler.md docs: fix typos in docs/architecture (#18612) 2023-12-02 18:26:07 +00:00
adr-011-generalize-genesis-accounts.md refactor(x/auth): spin out go.mod (#18351) 2023-11-07 11:42:58 +00:00
adr-012-state-accessors.md docs: Improve markdownlint configuration (#11104) 2022-02-10 12:07:01 +00:00
adr-013-metrics.md build(deps): use hashicorp/go-metrics instead of armon/go-metrics (#16790) 2023-06-30 14:21:57 +00:00
adr-014-proportional-slashing.md chore: typos fixes by cosmos-sdk bot (#18689) 2023-12-11 13:03:19 +00:00
adr-016-validator-consensus-key-rotation.md docs: add consensus pubkey docs (#19081) 2024-01-18 09:23:21 +00:00
adr-017-historical-header-module.md refactor(staking): change historicalinfo to contain minimal set of data (#17655) 2023-09-19 10:59:04 +00:00
adr-018-extendable-voting-period.md chore: typos fixes by cosmos-sdk bot (#18689) 2023-12-11 13:03:19 +00:00
adr-019-protobuf-state-encoding.md refactor: migrate to cosmos/gogoproto (#13070) 2022-09-08 17:27:48 +00:00
adr-020-protobuf-transaction-encoding.md docs: fix typos (#18125) 2023-10-16 06:37:07 +00:00
adr-021-protobuf-query-encoding.md chore: typos fixes by cosmos-sdk bot (#18689) 2023-12-11 13:03:19 +00:00
adr-022-custom-panic-handling.md refactor: fix lint issues + gofumpt (#15062) 2023-02-19 10:31:49 +00:00
adr-023-protobuf-naming.md docs: fix typos (#18028) 2023-10-10 07:34:14 +00:00
adr-024-coin-metadata.md docs: ADR-067 Simulator v2 (#16400) 2023-06-23 19:59:41 +00:00
adr-027-deterministic-protobuf-serialization.md docs: minor documentation improvements (#13594) 2022-10-19 14:56:29 +02:00
adr-028-public-key-addresses.md docs: fix typos in docs/architecture (#18612) 2023-12-02 18:26:07 +00:00
adr-029-fee-grant-module.md feat: add github links in docs (#13491) 2022-10-10 20:02:32 +02:00
adr-030-authz-module.md chore: Clean up {accept,implement}_interface (#14476) 2023-01-04 14:23:24 +00:00
adr-031-msg-service.md chore: typos fixes by cosmos-sdk bot (#18689) 2023-12-11 13:03:19 +00:00
adr-032-typed-events.md chore: typos fixes by cosmos-sdk bot (#18689) 2023-12-11 13:03:19 +00:00
adr-033-protobuf-inter-module-comm.md chore: rename develop to learn (#17821) 2023-09-21 09:15:41 +00:00
adr-034-account-rekeying.md chore: typos fixes by cosmos-sdk bot (#18689) 2023-12-11 13:03:19 +00:00
adr-035-rosetta-api-support.md docs: Code blocks in SDK docs are broken (#11189) 2022-02-14 23:39:35 +01:00
adr-036-arbitrary-signature.md feat: add github links in docs (#13491) 2022-10-10 20:02:32 +02:00
adr-037-gov-split-vote.md chore: typos fix by misspell-fixer (#18683) 2023-12-11 09:10:43 +00:00
adr-038-state-listening.md chore: typos fixes by cosmos-sdk bot (#18689) 2023-12-11 13:03:19 +00:00
adr-039-epoched-staking.md chore: typos fixes by cosmos-sdk bot (#18689) 2023-12-11 13:03:19 +00:00
adr-040-storage-and-smt-state-commitments.md chore: Rename store/v2 -> store/v2alpha1 (#11392) 2022-03-16 18:30:27 +00:00
adr-041-in-place-store-migrations.md chore: typos fixes by cosmos-sdk bot (#18689) 2023-12-11 13:03:19 +00:00
adr-042-group-module.md chore: typos fixes by cosmos-sdk bot (#18689) 2023-12-11 13:03:19 +00:00
adr-043-nft-module.md refactor(x/nft): remove class&nft id validation (#13836) 2022-11-15 13:47:38 +01:00
adr-044-protobuf-updates-guidelines.md docs: fix typos (#18125) 2023-10-16 06:37:07 +00:00
adr-045-check-delivertx-middlewares.md refactor: Revert middlewares to antehandlers (part 1/2: baseapp) (#11979) 2022-05-20 09:27:27 +00:00
adr-046-module-params.md docs: fix typos (#18125) 2023-10-16 06:37:07 +00:00
adr-047-extend-upgrade-plan.md docs: retract adr-47 (#16189) 2023-05-16 19:58:14 +00:00
adr-048-consensus-fees.md chore: typos fixes by cosmos-sdk bot (#18689) 2023-12-11 13:03:19 +00:00
adr-049-state-sync-hooks.md chore: typos fixes by cosmos-sdk bot (#18689) 2023-12-11 13:03:19 +00:00
adr-050-sign-mode-textual-annex1.md feat:(textual) Add bool value renderer (#15863) 2023-04-18 15:34:44 +00:00
adr-050-sign-mode-textual-annex2.md chore: fix several typos. (#18666) 2023-12-09 21:47:34 +00:00
adr-050-sign-mode-textual.md chore: typos fixes by cosmos-sdk bot (#18689) 2023-12-11 13:03:19 +00:00
adr-053-go-module-refactoring.md chore: run markdownlint on the whole repository (#14106) 2022-11-30 19:51:26 +00:00
adr-054-semver-compatible-modules.md docs: fix example variable (#18615) 2023-12-02 21:55:57 +00:00
adr-055-orm.md chore: run markdownlint on the whole repository (#14106) 2022-11-30 19:51:26 +00:00
adr-057-app-wiring.md refactor(appconfig)!: simplify app config (#19040) 2024-01-13 20:42:45 +00:00
adr-058-auto-generated-cli.md chore: run markdownlint on the whole repository (#14106) 2022-11-30 19:51:26 +00:00
adr-059-test-scopes.md docs: fix typos (#18125) 2023-10-16 06:37:07 +00:00
adr-060-abci-1.0.md chore: ADR-060 Updates (#13844) 2022-11-14 07:05:56 +00:00
adr-061-liquid-staking.md chore(docs): fix typos & wording in docs (#18667) 2023-12-09 21:47:16 +00:00
adr-062-collections-state-layer.md feat(ADR): ADR 062: Collections -- a new storage layer for cosmos-sdk modules. (#14107) 2022-12-06 09:45:23 -05:00
adr-063-core-module-api.md chore(docs): fix typos & wording in docs (#18667) 2023-12-09 21:47:16 +00:00
adr-064-abci-2.0.md chore(docs): fix typos & wording in docs (#18667) 2023-12-09 21:47:16 +00:00
adr-065-store-v2.md chore: Update ADR-065 (#18862) 2024-01-03 16:50:47 +00:00
adr-067-simulator-v2.md chore(docs): fix typos & wording in docs (#18667) 2023-12-09 21:47:16 +00:00
adr-068-preblock.md refactor!: reimplement PreFinalizeBlockHook as PreBlocker (#17713) 2023-09-15 07:50:17 +00:00
adr-069-gov-improvements.md chore: fix spelling errors (#19030) 2024-01-12 09:19:39 +00:00
adr-070-unordered-account.md feat: [ADR-070] Unordered Transactions (1/2) (#18641) 2024-01-04 16:58:52 +00:00
adr-template.md docs: ADR-065 Store V2 (#15028) 2023-03-16 10:24:10 -04:00
PROCESS.md chore: fix spelling errors (#19030) 2024-01-12 09:19:39 +00:00
README.md chore: Update ADR-065 (#18862) 2024-01-03 16:50:47 +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