cosmos-sdk/docs
Amaury 01832e6239
refactor: Revert middlewares to antehandlers (part 1/2: baseapp) (#11979)
## Description

We decided to remove middlewares, and revert to antehandlers (exactly like in v045) for this release. A better middleware solution will be implemented after v046.

ref: #11955 

Because this refactor is big, so I decided to cut it into two. This PR is part 1 of 2:
- part 1: Revert baseapp and middlewares to v0.45.4
- part 2: Add posthandler, tips, priority

---
 Suggestion for reviewers:

This PR might still be hard to review though. I think it's easier to actually review the diff between v0.45.4 and this PR:
- `git difftool -d v0.45.4..am/revert-045-baseapp baseapp`
  - most important parts to review: runTx, runMsgs
- `git difftool -d v0.45.4..am/revert-045-baseapp x/auth/ante`
  - only cosmetic changes
- `git difftool -d v0.45.4..am/revert-045-baseapp simapp`



---

### Author Checklist

*All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.*

I have...

- [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] added `!` to the type prefix if API or client breaking change
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/building-modules)
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] confirmed all CI checks have passed

### Reviewers Checklist

*All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.*

I have...

- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] confirmed `!` in the type prefix if API or client breaking change
- [ ] confirmed all author checklist items have been addressed 
- [ ] reviewed state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)
2022-05-20 09:27:27 +00:00
..
.vuepress docs: fix master to main redirect (#11790) 2022-04-27 16:31:50 +02:00
architecture refactor: Revert middlewares to antehandlers (part 1/2: baseapp) (#11979) 2022-05-20 09:27:27 +00:00
assets docs: adding acceptance tests description (#10534) 2021-12-10 01:34:34 +00:00
basics docs: remove typos and IBC documentation (#11933) 2022-05-12 14:02:57 +02:00
building-modules docs: improve documentation menu ordering (#11950) 2022-05-12 16:50:44 +02:00
core docs: remove typos and IBC documentation (#11933) 2022-05-12 14:02:57 +02:00
ibc docs: improve documentation menu ordering (#11950) 2022-05-12 16:50:44 +02:00
intro docs: remove typos and IBC documentation (#11933) 2022-05-12 14:02:57 +02:00
ko docs: clean up translations and readme (#9539) 2021-07-05 10:07:26 +00:00
migrations docs: Improve markdownlint configuration (#11104) 2022-02-10 12:07:01 +00:00
ru style: lint go and markdown (#10060) 2021-10-30 13:43:04 +00:00
run-node docs: update docs for Check/DeliverTx middlewares (#11918) 2022-05-10 16:25:53 +02:00
spec docs: Improve markdownlint configuration (#11104) 2022-02-10 12:07:01 +00:00
uml docs: uml hotfix (#9124) 2021-04-16 07:59:21 +00:00
using-the-sdk docs: Improve markdownlint configuration (#11104) 2022-02-10 12:07:01 +00:00
zh docs: clean up translations and readme (#9539) 2021-07-05 10:07:26 +00:00
404.md style: lint go and markdown (#10060) 2021-10-30 13:43:04 +00:00
DOCS_README.md chore: master -> main (#11730) 2022-04-24 10:19:04 -04:00
DOC_WRITING_GUIDELINES.md docs: Improve markdownlint configuration (#11104) 2022-02-10 12:07:01 +00:00
README.md docs: remove typos and IBC documentation (#11933) 2022-05-12 14:02:57 +02:00
cosmos-sdk-image.jpg Merge PR #4643: Update cosmos sdk image, remove unused images 2019-06-30 16:29:05 -04:00
package-lock.json build(deps): Bump async from 2.6.3 to 2.6.4 in /docs (#11653) 2022-04-15 09:48:44 -04:00
package.json build(deps): Bump vuepress-theme-cosmos from 1.0.182 to 1.0.183 in /docs (#10966) 2022-01-19 11:47:52 +01:00
post.sh docs: fix cosmovisor quickstart (#9730) 2021-07-26 07:51:36 +00:00
pre.sh docs: fix cosmovisor quickstart (#9730) 2021-07-26 07:51:36 +00:00
protodoc-markdown.tmpl Add script to generate proto-docs (#8238) 2020-12-31 16:10:13 +00:00
versions docs: fix master to main redirect (#11790) 2022-04-27 16:31:50 +02:00

README.md

Cosmos SDK Documentation

Get Started

  • Cosmos SDK Intro: High-level overview of the Cosmos SDK.
  • Ignite CLI: A developer-friendly interface to the Cosmos SDK to scaffold, launch, and maintain any crypto application on a sovereign and secured blockchain.
  • SDK Tutorials: Tutorials that showcase how to build Cosmos SDK-based blockchains from scratch and explain the basic Cosmos SDK principles in the process.

Reference Docs

  • Basics: Basic concepts of the Cosmos SDK, including the standard anatomy of an application, the transaction lifecycle, and accounts management.
  • Core: Core concepts of the Cosmos SDK, including baseapp, the store, or the server.
  • Building Modules: Important concepts for module developers like message, keeper, and querier.
  • IBC: IBC protocol integration and concepts.
  • Running a Node, API, CLI: How to run a node and interact with the node using the CLI and the API.
  • Migrations: Migration guides for updating to newer versions of Cosmos SDK.

Other Resources

Cosmos Hub

The Cosmos Hub (gaia) docs have moved to github.com/cosmos/gaia.

Languages

The Cosmos SDK is written in Golang, though the framework could be implemented similarly in other languages. Contact us for information about funding an implementation in another language.

Contribute

See the DOCS_README.md for details of the build process and considerations when making changes.