Go to file
Daniel Burckhardt b8270fc9ba
feat: add (re)delegation getters (#11596)
### Description

This PR adds general helper functions to the `x/staking` module that are used in the Evmos `x/vesting` module and originated from Agoric's custom staking module implementation https://github.com/agoric-labs/cosmos-sdk/blob/4085-true-vesting/x/staking/keeper/delegation.go.

- `GetDelegatorUnbonding`  
- `GetDelegatorBonded`
- `IterateDelegatorUnbondingDelegations`
- `IterateDelegatorDelegations`
- `IterateDelegatorRedelegations`
2022-04-12 14:41:08 +00:00
.github build(deps): Bump actions/upload-artifact from 2 to 3 (#11584) 2022-04-08 18:55:06 +02:00
api refactor(group): API naming audit (#11515) 2022-04-06 11:16:23 +00:00
baseapp fix: RegisterLegacyAminoCodec should error if Msg name is >39 chars (#11349) 2022-03-16 13:21:00 +00:00
client fix: ` --dry-run` not working when using tx command (#11558) 2022-04-11 15:50:54 +00:00
codec fix: RegisterLegacyAminoCodec should error if Msg name is >39 chars (#11349) 2022-03-16 13:21:00 +00:00
container build(deps): Bump github.com/stretchr/testify in /container (#11400) 2022-03-19 11:47:11 +01:00
contrib chore: use canonical name for dockerfile (#11485) 2022-03-29 17:55:34 +00:00
cosmovisor feat: bump cosmos-sdk dep in cosmovisor (#11570) 2022-04-07 17:12:23 +00:00
crypto fix(cli): Group SubmitProposal CLI not working properly (#11521) 2022-04-04 10:11:02 +00:00
db build(deps): Bump github.com/stretchr/testify from 1.7.0 to 1.7.1 in /db (#11397) 2022-03-19 23:09:41 +00:00
docs docs: update mentions of starport to ignite cli (#11612) 2022-04-12 16:26:30 +02:00
errors fix(errors): support wrapped errors with gRPC codes (#11385) 2022-03-16 13:59:49 +00:00
internal feat: ADR-040: Add `RootStore` implementation (#10430) 2021-12-16 13:09:57 +00:00
orm perf(orm): add benchmarks (#11525) 2022-04-08 13:22:44 +00:00
proto docs: Update module.proto (#11572) 2022-04-07 17:18:00 +00:00
scripts fix: Protobuf docker (#11472) 2022-03-26 23:38:32 +01:00
server build(deps): Bump github.com/tendermint/tendermint from 0.35.2 to 0.35.3 (#11599) 2022-04-12 05:19:38 +00:00
simapp feat: Cancel unbonding delegation entry (#10885) 2022-04-05 10:01:13 +00:00
snapshots feat: ADR-040: add state sync for v2 store (#10794) 2022-03-04 06:05:23 +00:00
std fix: register evidence regression (#10595) 2021-12-14 14:25:31 +00:00
store fix: commitStores deterministic ordering (#11592) 2022-04-11 14:49:58 +00:00
telemetry refactor!: Keyring migration (#9695) 2021-09-20 12:02:15 +00:00
tests feat: ADR-040: Add `RootStore` implementation (#10430) 2021-12-16 13:09:57 +00:00
testutil fix: genesis typo in error message (#11576) 2022-04-08 11:33:31 +02:00
third_party/proto feat: full api module building alongside gogo proto files with buf schema registry support (#10669) 2022-01-06 14:57:55 -05:00
types fix: address confusing error message with SetOrder* functions (#11571) 2022-04-08 14:11:07 +00:00
version refactor: Implementing sigs.k8s.io YAML to remove .proto yaml annotations (#9780) 2021-09-24 14:37:34 +00:00
x feat: add (re)delegation getters (#11596) 2022-04-12 14:41:08 +00:00
.build.sh fix library file path (#8301) 2021-01-12 10:08:42 +00:00
.clang-format Fix clang-format to specific version (#7350) 2020-10-27 10:04:34 +00:00
.codecov.yml CI: Fix codecov flag project config (#7994) 2020-11-20 09:13:25 -05:00
.deepsource.toml chore: refactor code quality issues (#8932) 2021-03-22 09:30:27 +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 ci: fix gh docs action (#11547) 2022-04-05 15:04:15 +02:00
.golangci.yml chore: bump TM to v0.35.0 release candidate (#10210) 2021-11-16 11:24:38 -08:00
.goreleaser.yml ci: automate release post tag push (#6230) 2020-05-25 20:02:08 +02:00
.markdownlint.json docs: Code blocks in SDK docs are broken (#11189) 2022-02-14 23:39:35 +01:00
.markdownlintignore docs: Improve markdownlint configuration (#11104) 2022-02-10 12:07:01 +00:00
.mergify.yml chore: Add mergify backport to v0.46.x (#11501) 2022-03-30 14:49:57 +02:00
CHANGELOG.md feat: add (re)delegation getters (#11596) 2022-04-12 14:41:08 +00:00
CODE_OF_CONDUCT.md Update CODE_OF_CONDUCT.md (#7381) 2020-09-28 11:28:30 +02:00
CODING_GUIDELINES.md docs: Improve markdownlint configuration (#11104) 2022-02-10 12:07:01 +00:00
CONTRIBUTING.md docs: Code blocks in SDK docs are broken (#11189) 2022-02-14 23:39:35 +01:00
Dockerfile build: Update Dockerfile (#9839) 2021-08-03 09:46:16 -04:00
LICENSE docs: 10180 Fix SDK (#10237) 2021-09-28 19:33:58 +02:00
Makefile ci: fix gh docs action (#11547) 2022-04-05 15:04:15 +02:00
README.md docs: update mentions of starport to ignite cli (#11612) 2022-04-12 16:26:30 +02:00
RELEASE_PROCESS.md docs: Improve markdownlint configuration (#11104) 2022-02-10 12:07:01 +00:00
SECURITY.md fix: Broken HackerOne program link #11481 2022-03-28 17:24:25 -04:00
buf.work.yaml feat: full api module building alongside gogo proto files with buf schema registry support (#10669) 2022-01-06 14:57:55 -05:00
docker-compose.yml build: add remote debugging with delve (#10587) 2021-12-01 12:44:54 +00:00
go.mod build(deps): Bump github.com/tendermint/tendermint from 0.35.2 to 0.35.3 (#11599) 2022-04-12 05:19:38 +00:00
go.sum build(deps): Bump github.com/tendermint/tendermint from 0.35.2 to 0.35.3 (#11599) 2022-04-12 05:19:38 +00:00

README.md

Cosmos SDK

banner

The Cosmos SDK is a framework for building blockchain applications. Tendermint Core (BFT Consensus) and the Cosmos SDK are written in the Golang programming language. Cosmos SDK is used to build Gaia, the first implementation of the Cosmos Hub.

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

Note: Requires Go 1.17+

Quick Start

To learn how the Cosmos SDK works from a high-level perspective, see the Cosmos SDK High-Level Intro.

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

For more information, see the Cosmos SDK Documentation.

Contributing

See CONTRIBUTING.md for details how to contribute and participate in our dev calls. If you want to follow the updates or learn more about the latest design then join our Discord.

Tools and Frameworks

The Cosmos ecosystem is vast. We will only make a few notable mentions here.

  • Tools: notable frameworks and modules.
  • CosmJS: the Swiss Army knife to power JavaScript based client solutions.

Cosmos Hub Mainnet

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

Inter-Blockchain Communication (IBC)

The IBC module for the Cosmos SDK has moved to its own cosmos/ibc-go repository. Go there to build and integrate with the IBC module.

Ignite CLI

Ignite CLI is the all-in-one platform to build, launch, and maintain any crypto application on a sovereign and secured blockchain. If you are building a new app or a new module, use Ignite CLI to get started and speed up development.

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.