cosmos-sdk/docs/core
colin axnér 1c6e267964
Remove IBC logic from x/upgrade (#8673)
* add zeroed custom fields check to tm client

* remove custom fields function from x/upgrade and fix tests

* use []byte in x/upgrade, move abci to 02-client

* remove x/ibc from types

* whoops, delete testing files

* fix upgrade tests

* fix tm tests

* fix tests

* update CHANGELOG

* revert proto breakage, use reserved field cc @amaurym

* add IBC Upgrade Proposal type

* remove IBC from upgrade types

* add IBC upgrade logic to 02-client

* fix all tests for x/upgrade

* Add CLI for IBC Upgrade Proposal

* Update x/ibc/core/02-client/types/proposal_test.go

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* add gRPC for upgraded client state

* test fixes

* add HandleUpgradeProposal tests

* update docs and remove unnecessary code

* self review bug and test fixes

* neatness

* construct empty rest handler

* fix tests

* fix stringer tests

* Update docs/core/proto-docs.md

Co-authored-by: Christopher Goes <cwgoes@pluranimity.org>

* add key in ibc store tracking ibc upgrade heights

Add a new Key to the IBC client store to track the IBC Upgrade Height. This allows IBC upgrades to correctly remove old IBC upgrade states

* update abci and tests

* revert key storage after discussion with @AdityaSripal

Revert using a key to track IBC upgrades. By clearing any IBC state using an old plan in ScheduleUpgrade, IBC upgrades do not need to be tracked by IBC. This reduces code complexity and reduces potential for bugs.

* clear IBC states on cancelled upgrades

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Christopher Goes <cwgoes@pluranimity.org>
2021-03-01 16:28:54 +00:00
..
README.md docs: Remove deprecated "Interfaces" section (#8294) 2021-01-18 00:11:26 +00:00
baseapp.md Update baseapp docs (#8630) 2021-02-19 15:07:52 +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 docs: update master docs (#8353) 2021-02-23 10:57:04 +00:00
context.md Fix typo in context and node docs (#8533) 2021-02-08 09:55:24 +00:00
encoding.md docs: Add grpc & rest endpoints overview (#8064) 2020-12-14 10:51:32 +00:00
events.md Use service Msgs in CLI tx commands (#8512) 2021-02-18 18:00:19 +00:00
grpc_rest.md docs: Add mention to use gRPC v1.33.2 (#8658) 2021-02-25 07:57:06 +00:00
node.md Fix typo in context and node docs (#8533) 2021-02-08 09:55:24 +00:00
ocap.md docs: Remove deprecated "Interfaces" section (#8294) 2021-01-18 00:11:26 +00:00
proto-docs.md Remove IBC logic from x/upgrade (#8673) 2021-03-01 16:28:54 +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]: Stargate migration guides (#7771) 2021-01-06 11:43:52 +00:00
telemetry.md docs: Remove deprecated "Interfaces" section (#8294) 2021-01-18 00:11:26 +00:00
transactions.md Create docs for signing & broadcasting txs (#8257) 2021-01-07 16:21:50 +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

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