cosmos-sdk/docs/architecture
Dev Ojha c0fd863ef1
Merge branch 'master' into adr-epoched-staking
2021-02-25 21:48:57 -06:00
..
PROCESS.md ADR: add a process proposal (#7621) 2020-10-22 22:40:44 +00:00
README.md Merge branch 'master' into adr-epoched-staking 2021-02-25 21:48:57 -06:00
adr-001-coin-source-tracing.md x/ibc-transfer: ADR001 source tracing implementation (#6871) 2020-08-14 17:46:26 -04:00
adr-002-docs-structure.md Fix typo (#5523) 2020-01-15 08:14:25 +01:00
adr-003-dynamic-capability-store.md Merge PR #6007: update 03 adr 2020-04-16 14:19:06 -04:00
adr-004-split-denomination-keys.md Update ADR status (#8009) 2020-11-23 16:31:17 +00:00
adr-006-secret-store-replacement.md Update ADR 006 (#5326) 2019-11-19 09:51:39 +00:00
adr-007-specialization-groups.md Merge PR #4827: ADR 007 / 008: Specialization Groups Abstraction / CERT Group 2019-09-30 15:05:29 -04:00
adr-008-dCERT-group.md Merge PR #4827: ADR 007 / 008: Specialization Groups Abstraction / CERT Group 2019-09-30 15:05:29 -04:00
adr-009-evidence-module.md docs: link checker (#5860) 2020-03-24 11:21:30 +01:00
adr-010-modular-antehandler.md Merge PR #5006: Modular AnteDecorator 2019-10-10 08:46:09 -04: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 Proportional slashing ADR Update (#6368) 2020-10-05 09:30:50 +02:00
adr-015-ibc-packet-receiver.md x/ibc: IBC alpha (#5277) 2020-04-08 20:57:52 -04:00
adr-016-validator-consensus-key-rotation.md Merge PR #5233: ADR 016: Validator consensus key rotation 2020-01-05 16:57:18 -05:00
adr-017-historical-header-module.md Merge PR #5340: ADR 17: Historical header module 2019-12-04 10:18:02 -05:00
adr-018-extendable-voting-period.md Merge PR #5459: ADR 18: Extendable Governance Voting Periods 2020-02-04 11:23:49 -05:00
adr-019-protobuf-state-encoding.md ADR-019/020 cleanups: HybridCodec, Pubkey (#8683) 2021-02-25 15:40:04 +00:00
adr-020-protobuf-transaction-encoding.md ADR-019/020 cleanups: HybridCodec, Pubkey (#8683) 2021-02-25 15:40:04 +00:00
adr-021-protobuf-query-encoding.md Update ADR status (#8009) 2020-11-23 16:31:17 +00:00
adr-022-custom-panic-handling.md ADR 022 - Custom baseapp panic handling (#6072) 2020-05-13 11:09:46 -04:00
adr-023-protobuf-naming.md Update ADR status (#8009) 2020-11-23 16:31:17 +00:00
adr-024-coin-metadata.md x/bank: client denom metadata gRPC (#8317) 2021-01-19 17:08:09 -05:00
adr-025-ibc-passive-channels.md ibc: core restructure (#7434) 2020-10-02 06:03:02 -03:00
adr-026-ibc-client-recovery-mechanisms.md Modify IBC client governance unfreezing to reflect ADR changes (#8405) 2021-02-16 15:31:40 +00:00
adr-027-deterministic-protobuf-serialization.md Followup suggestions from ADR-027 updates (#7232) (#7379) 2020-09-28 09:42:57 +00:00
adr-028-public-key-addresses.md Finalize ADR-028 (#8398) 2021-02-04 04:08:11 +01:00
adr-029-fee-grant-module.md ADR 029: Fee Grant Module (#7106) 2020-10-09 15:09:17 +00:00
adr-030-authz-module.md ADR-033 cosmetic updates (#8676) 2021-02-24 11:45:21 +00:00
adr-031-msg-service.md Update ADR status (#8009) 2020-11-23 16:31:17 +00:00
adr-032-typed-events.md ADR 32: Typed Events (#7474) 2020-10-13 19:51:47 +01:00
adr-033-protobuf-inter-module-comm.md ADR-033 cosmetic updates (#8676) 2021-02-24 11:45:21 +00:00
adr-034-account-rekeying.md Update adr-034-account-rekeying.md 2020-11-24 13:06:58 -05:00
adr-035-rosetta-api-support.md Rosetta API implementation (#7695) 2021-01-21 09:33:02 +00:00
adr-037-gov-split-vote.md fix comments and add CHANGELOG 2021-02-06 00:57:12 +10:00
adr-038-state-listening.md ADR 038: State Listening (#8012) 2021-02-04 18:09:28 -08:00
adr-039-epoched-staking.md Add section for parameterizing the epoch length 2021-02-22 15:37:53 -06:00
adr-template.md ADR template: add Further Discussions (#8108) 2020-12-09 10:36:48 +00:00
readme.md~origin_master-docs Merge PR #5379: New docs V1 (merge master-docs to master) 2019-12-10 09:29:46 -05: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