cosmos-sdk/docs/core
Amaury 5cd741a878
revert: Turn staking power reduction into an on-chain param (#9495)
<!--
The default pull request template is for types feat, fix, or refactor.
For other templates, add one of the following parameters to the url:
- template=docs.md
- template=other.md
-->

## Description

Closes: #9447

This PR partially reverts #8505. Namely:
- it removes PowerReduction as a staking on-chain param
- however, it keeps #8505's API changes regarding adding a `powerReduction` function argument to staking functions. This allows us to rely less on global variables in said functions.

<!-- Add a description of the changes that this PR introduces and the files that
are the most critical to review. -->

---

### 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/master/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/master/docs/building-modules)
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/master/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)
2021-06-14 14:45:15 +00:00
..
README.md documentation for in-place migrations with x/upgrade module (#8967) 2021-04-14 08:49:17 +00:00
baseapp.md doc: Updates related to ServiceMsg, sdk.Msg and Msg service (#9294) 2021-05-12 15:47:54 +00:00
baseapp_state-begin_block.png Merge PR #4748: Write-Through Inter-Block Cache 2019-09-04 13:33:32 -04:00
baseapp_state-checktx.png Merge PR #4748: Write-Through Inter-Block Cache 2019-09-04 13:33:32 -04:00
baseapp_state-commit.png Merge PR #4748: Write-Through Inter-Block Cache 2019-09-04 13:33:32 -04:00
baseapp_state-deliver_tx.png Merge PR #4748: Write-Through Inter-Block Cache 2019-09-04 13:33:32 -04:00
baseapp_state-initchain.png Merge PR #4748: Write-Through Inter-Block Cache 2019-09-04 13:33:32 -04:00
baseapp_state_types.png Merge PR #4748: Write-Through Inter-Block Cache 2019-09-04 13:33:32 -04:00
cli.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
context.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
encoding.md style: fix lint errors and update lint timeout (#9464) 2021-06-08 16:27:39 +00:00
events.md doc: Updates related to ServiceMsg, sdk.Msg and Msg service (#9294) 2021-05-12 15:47:54 +00:00
grpc_rest.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
node.md docs: update bech32 account docs (#9006) 2021-03-29 11:22:30 +00:00
ocap.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
proto-docs.md revert: Turn staking power reduction into an on-chain param (#9495) 2021-06-14 14:45:15 +00:00
runtx_middleware.md docs: Remove deprecated "Interfaces" section (#8294) 2021-01-18 00:11:26 +00:00
simulation.md docs: Remove deprecated "Interfaces" section (#8294) 2021-01-18 00:11:26 +00:00
store.md Docs: Anys Usage, Events & small cleanups (#8895) 2021-03-17 12:15:20 +00:00
telemetry.md docs: Remove deprecated "Interfaces" section (#8294) 2021-01-18 00:11:26 +00:00
transactions.md fix interfaces links (#9448) 2021-06-08 12:03:42 +00:00
upgrade.md chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00

README.md

Core Concepts

This repository contains reference documentation on the core concepts of the Cosmos SDK.

  1. BaseApp
  2. Transaction
  3. Context
  4. Node Client
  5. Store
  6. Encoding
  7. gRPC, REST and Tendermint Endpoints
  8. Command-Line Interface
  9. Events
  10. Telemetry
  11. Object-Capabilities
  12. RunTx recovery middleware
  13. Simulation
  14. Protobuf documentation
  15. In-Place Store Migrations

After reading about the core concepts, check the IBC documentation to learn more about the IBC core concepts and how to integrate IBC in your application.