Go to file
Alessio Treglia e8cedf243f
fix all bits broken by viper API changes (#5982)
github.com/spf13/viper's recent releases introduced a semantic
change in some public API such as viper.IsSet(), which have
broken some of our flags checks. Instead of checking whether
users have changed a flag's default value we should rely on such
defaults and adjust runtime behaviour accordingly. In order to do
so, it's important that we pick sane defaults for all our flags.

The --pruning flag and configuration option now allow for a
fake custom strategy. When users elect custom, then the
pruning-{keep,snapshot}-every options are interpreted and
parsed; else they're ignored.
Zero is pruning-{keep,snapshot}-every default value. When
users choose to set a custom pruning strategy they are
signalling that they want more fine-grainted control, therefore
it's legitimate to expect them to know what they are doing and
enter valid values for both options.

Ref #5964
2020-04-14 17:24:27 +02:00
.circleci revert proto changes 2020-03-27 16:04:55 +01:00
.github lint: migrate to review-dog (#5955) 2020-04-08 14:47:24 +02:00
baseapp Fix tests 2020-03-26 12:50:39 -04:00
client fix all bits broken by viper API changes (#5982) 2020-04-14 17:24:27 +02:00
codec JSON Proto changes 2020-03-26 12:46:10 -04:00
contrib Merge PR #5610: proto: migrate x/distr to use hybrid codec 2020-02-11 09:58:37 -05:00
crypto Enter the new keyring interface (#5904) 2020-04-08 11:38:28 +02:00
docs x/ibc: IBC alpha (#5277) 2020-04-08 20:57:52 -04:00
scripts Merge PR #5491: Protobuf Introduction + Types 2020-01-24 10:32:00 -05:00
server fix all bits broken by viper API changes (#5982) 2020-04-14 17:24:27 +02:00
simapp x/ibc: IBC alpha (#5277) 2020-04-08 20:57:52 -04:00
store x/ibc: IBC alpha (#5277) 2020-04-08 20:57:52 -04:00
tests regenerate mocks, don't format autogenered files on make format (#5848) 2020-03-20 18:14:53 +00:00
third_party/proto Merge PR #5669: proto: update tendermint proto files 2020-02-20 11:38:07 +01:00
types fix all bits broken by viper API changes (#5982) 2020-04-14 17:24:27 +02:00
version Fix various linter warnings (#5824) 2020-03-18 12:59:08 +00:00
x fix all bits broken by viper API changes (#5982) 2020-04-14 17:24:27 +02:00
.codecov.yml types: add test cases (#5747) 2020-03-04 17:49:59 +00:00
.dockerignore Add basic Dockerfile to build all binaries and export gaiad 2018-04-10 12:39:47 +02:00
.gitattributes Merge PR #3192: This is not a js repo :) 2018-12-26 20:16:25 +01:00
.gitignore Merge PR #4787: Updated docs build process 2019-08-26 09:09:18 -04:00
.golangci.yml lint: various linting fixs (#5825) 2020-03-20 19:24:18 +00:00
.mergify.yml Tweak mergify config 2020-03-01 16:18:22 +00:00
CHANGELOG.md fix all bits broken by viper API changes (#5982) 2020-04-14 17:24:27 +02:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2018-01-29 12:38:50 +01:00
CONTRIBUTING.md Merge PR #5392: Fix typos in the CONTRIBUTING.md 2019-12-12 10:46:14 -05:00
LICENSE Add README.md to Basecoin; Update licenses 2018-01-28 18:17:19 -08:00
Makefile regenerate mocks, don't format autogenered files on make format (#5848) 2020-03-20 18:14:53 +00:00
README.md lint: migrate to review-dog (#5955) 2020-04-08 14:47:24 +02:00
SECURITY.md update SECURITY.md (#5377) 2019-12-16 16:24:37 -03:00
Vagrantfile Fix Makefile's all target (#3085) 2018-12-20 10:03:59 -08:00
buf.yaml Merge PR #5591: Ignore testdata 2020-01-30 11:26:16 -05:00
go.mod Bump github.com/golang/protobuf from 1.4.0-rc.4 to 1.4.0 (#5990) 2020-04-14 17:05:05 +02:00
go.sum Bump github.com/golang/protobuf from 1.4.0-rc.4 to 1.4.0 (#5990) 2020-04-14 17:05:05 +02:00
snapcraft.yaml replace dep with go mod (#3907) 2019-03-18 13:45:25 +01:00
snapcraft.yaml.in Autobuild snap (#3455) 2019-01-31 09:59:19 -08:00

README.md

Cosmos SDK

banner

version CircleCI Sims codecov Go Report Card license LoC API Reference

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.14+

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.