Go to file
SaReN 5656e8647b
x/staking: gRPC query Service (#6490)
* Add types for staking grpc

* Update module.go

* Update staking query types

* Add grpc query methods

* Add delegation response to proto

* Add queriers for delegations

* Add queriers for unbonding

* Add queriers for redelegations

* Add cases for redelegations

* Add test for grpc validators

* Update staking types to proto

* Update staking query proto

* Add tests for grpc

* Add tests for grpc pool, parameters

* Fix lint issues

* Add grpc redelegation tests

* Add more tests

* Add docs for query proto

* Add docs for query types

* Modify redel querier

* Add debugging statements

* Revert debugging

* Fix proto lint errors

* Add wrapper for keeper

* Embed keeper in querier

* Add more tests

* Add tests for validator unbondings

* Add redel tests

* fix queryRedelegationsFromSrcValidator

* Fix Redelegation tests

* update godoc

* Update args

* Update tests with suite

* Fix lint

* Remove redundant types

* Refactor tests

* fix test

* refactor query proto

* Fix tests

* address review comments

* lint staking proto

* add godoc

* Update tests to table driven tests

* add debugging

* Fix grpc tests

* address comments

* address whitespace suggestions

* Add more tests

* add tests for invalid redels

* update error messages

* address review suggestions

* add tests

* move suite to keeper_test

Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-07-14 17:41:30 +00:00
.circleci fix docs build failure (#6633) 2020-07-07 19:56:01 +02:00
.github run sims on master (#6648) 2020-07-08 17:50:01 +02:00
baseapp Server/simd: Viper Removal (#6599) 2020-07-05 16:56:17 +00:00
client Tiny change to flag help description for gas-prices (#6701) 2020-07-13 08:36:34 -04:00
codec codec: remove unused and untest ProtoMarshalJSONIndent (#6668) 2020-07-10 14:33:35 +02:00
contrib buildsystem: various small improvements (#6598) 2020-07-03 20:50:14 +02:00
crypto crypto/hd: update godoc for ComputerMastersFromSeed (#6694) 2020-07-12 09:17:59 -04:00
docs Standardize connection versioning + channel versioning docs (#6640) 2020-07-14 08:43:26 +00:00
networks/local Merge PR #6426: Migrate API Server 2020-06-15 13:39:09 -04:00
proto x/staking: gRPC query Service (#6490) 2020-07-14 17:41:30 +00:00
scripts Fix testdata proto-gen (#6568) 2020-07-01 15:26:29 +00:00
server testutil cleanup and reorg (#6658) 2020-07-09 14:21:20 +02:00
simapp Update simapp helpers to use Tx generator (#6655) 2020-07-14 17:33:31 +00:00
std ci: bump codecov (#6638) 2020-07-08 11:03:23 +02:00
store store/cache: speed up + conserve memory by using map clearing idiom in Reset (#6700) 2020-07-13 12:49:09 +02:00
telemetry Merge PR #6449: Initial Metrics 2020-06-18 14:12:44 -04:00
tests testutil cleanup and reorg (#6658) 2020-07-09 14:21:20 +02:00
testutil Merge PR #6652: x/distribution: In-Process Testing & CLI Refactor 2020-07-10 10:45:46 -04:00
third_party/proto Update proto files & definitions in accordance with ADR023 (#6413) 2020-06-18 10:04:26 -07:00
types types: better Dec.MarshalTo's performance (#6691) 2020-07-12 13:26:51 +00:00
version testutil: add ApplyMockIODiscardOutErr, simplify existing functions (#6665) 2020-07-10 08:55:48 +02:00
x x/staking: gRPC query Service (#6490) 2020-07-14 17:41:30 +00: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 #6426: Migrate API Server 2020-06-15 13:39:09 -04:00
.gitignore docs: improve IBC guide (#6472) 2020-07-07 06:19:36 -04:00
.golangci.yml linter: enable nolintlint (#6162) 2020-05-08 08:46:12 +00:00
.goreleaser.yml ci: automate release post tag push (#6230) 2020-05-25 20:02:08 +02:00
.mergify.yml Tweak mergify config 2020-03-01 16:18:22 +00:00
buf.yaml Update proto files & definitions in accordance with ADR023 (#6413) 2020-06-18 10:04:26 -07:00
CHANGELOG.md Merge PR #6651: More CLI cleanup 2020-07-08 13:57:45 -04:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2018-01-29 12:38:50 +01:00
CONTRIBUTING.md Stable Releases: Definition and Process (#6394) 2020-07-14 10:28:53 +02:00
docker-compose.yml Merge PR #6426: Migrate API Server 2020-06-15 13:39:09 -04:00
Dockerfile Merge PR #6595: Single Binary & Command Refactor 2020-07-07 11:40:46 -04:00
go.mod build(deps): bump github.com/spf13/cast from 1.3.0 to 1.3.1 (#6605) 2020-07-06 04:18:35 -04:00
go.sum build(deps): bump github.com/spf13/cast from 1.3.0 to 1.3.1 (#6605) 2020-07-06 04:18:35 -04:00
LICENSE Add README.md to Basecoin; Update licenses 2018-01-28 18:17:19 -08:00
Makefile Makefile: build simd with ledger support (#6629) 2020-07-07 19:10:11 +02:00
README.md readme: add sourcegraph badge (#6362) 2020-06-07 17:08:19 -04:00
SECURITY.md update SECURITY.md (#6263) 2020-05-21 11:12:51 +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
STABLE_RELEASES.md Stable Releases: Definition and Process (#6394) 2020-07-14 10:28:53 +02:00
Vagrantfile Fix Makefile's all target (#3085) 2018-12-20 10:03:59 -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.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.