colin axnérandmergify[bot] 9e7f504da9 remove client type from 02-client (#7336)
* remove client type struct

Remove the client type struct, remove ClientType interface function from Header and Misbehaviour.
ClientState and ConsensusState return the ClientType as a string.
All uses of client type in testing are now pointing at the testing package so changing the location of the client type const will be painless.

* update godoc and add back client type interface func

Add godoc to client type constant for solo machine, tendermint, and localhost as per @fedekunze review suggestion.
Add back the ClientType interface function for misbehaviour and header for solo machine and tendermint and add back the one liner unit tests as per @AdityaSripal suggestion.

* remove client state from return

remove client state from the return of CreateClient, UpdateClient, and CheckMisbehaviourAndUpdateState as well as update tests to reflect this change.

* fix build error introduced by latest merge

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-09-22 14:25:58 +00:00
2020-07-07 19:56:01 +02:00
2020-09-21 16:48:28 +00:00
2020-09-21 16:48:28 +00:00
2020-09-16 11:08:55 +00:00
2020-09-21 16:48:28 +00:00
2020-09-21 16:48:28 +00:00
2020-09-21 16:48:28 +00:00
2020-09-19 00:34:56 +00:00
2020-09-19 00:34:56 +00:00
2020-09-21 16:48:28 +00:00
2020-09-21 16:48:28 +00:00
2020-09-19 00:34:56 +00:00
2020-09-21 16:48:28 +00:00
2020-08-21 15:38:40 +01:00
2020-09-16 11:08:42 +01:00
2020-03-01 16:18:22 +00:00
2020-08-14 10:05:35 +00:00
2020-09-13 20:55:35 +01:00
2018-01-29 12:38:50 +01:00
2020-09-19 00:34:56 +00:00
2020-05-21 11:12:51 +02:00
2019-03-18 13:45:25 +01:00
2019-01-31 09:59:19 -08:00

Cosmos SDK

banner

The Cosmos-SDK is a framework for building blockchain applications in Golang. It is being used to build Gaia, the first implementation of the Cosmos Hub.

WARNING: The SDK has mostly stabilized, but we are still making some breaking changes.

Note: Requires Go 1.15+

Quick Start

To learn how the SDK works from a high-level perspective, go to the SDK Intro.

If you want to get started quickly and learn how to build on top of the SDK, please follow the SDK Application Tutorial. You can also fork the tutorial's repository to get started building your own Cosmos SDK application.

For more, please go to the Cosmos SDK Docs.

Cosmos Hub Mainnet

The Cosmos Hub application, gaia, has moved to its own repository. Go there to join the Cosmos Hub mainnet and more.

Scaffolding

If you are starting a new app or a new module we provide a scaffolding tool to help you get started and speed up development. If you have any questions or find a bug, feel free to open an issue in the repo.

Disambiguation

This Cosmos-SDK project is not related to the React-Cosmos project (yet). Many thanks to Evan Coury and Ovidiu (@skidding) for this Github organization name. As per our agreement, this disambiguation notice will stay here.

S
Description
No description provided
Readme
288 MiB
2025-12-12 07:01:08 +00:00
Languages
Go 93.1%
C 5.5%
Java 0.3%
Sage 0.3%
Makefile 0.2%
Other 0.5%