Go to file
Facundo Medica 0024a0bf44
refactor: use mocks for x/distribution (#12889)
* initial commit

* add mocks

* TestAllocateTokensToManyValidators

* one file more in, like a hundred left

* progress

* progress

* move tests to integration

* finally got TestCalculateRewardsMultiDelegator right lol

* small fixes

* progress

* progress

* progress

* progress

* revert test panic

* progress

* progress

* more progress

* fix go.mod

* merge

* merge

* cache issue?

* fix go.sum

* fix tests

* make mocks

* move back simulations

Co-authored-by: Marko <marbar3778@yahoo.com>
2022-08-29 20:15:51 -03:00
.github chore: add short tempalte for epics (#13072) 2022-08-29 13:45:15 +00:00
api build(deps): Bump google.golang.org/grpc from 1.48.0 to 1.49.0 in /api (#13015) 2022-08-24 19:23:13 +02:00
baseapp fix: missing return statement in BaseApp.Query (#13046) 2022-08-25 15:54:50 +00:00
client build(deps): Bump google.golang.org/grpc in /client/v2 (#13021) 2022-08-24 21:47:14 +02:00
codec fix(codec): MarshalInterface should err when UnmarshalInterface will fail (#12964) 2022-08-19 18:42:55 +00:00
contrib chore: downgrade to tendermint v0.34.x (#12958) 2022-08-20 02:33:07 +02:00
core build(deps): Bump github.com/golangci/golangci-lint from 1.48.0 to 1.49.0 (#13013) 2022-08-24 23:13:11 +02:00
cosmovisor build(deps): Bump github.com/rs/zerolog in /cosmovisor (#13081) 2022-08-29 17:08:43 +00:00
crypto fix(codec): MarshalInterface should err when UnmarshalInterface will fail (#12964) 2022-08-19 18:42:55 +00:00
db chore: downgrade to tendermint v0.34.x (#12958) 2022-08-20 02:33:07 +02:00
depinject build(deps): Bump github.com/golangci/golangci-lint from 1.48.0 to 1.49.0 (#13013) 2022-08-24 23:13:11 +02:00
docs feat: value renderer for timestamp protos (#12860) 2022-08-23 19:58:29 +00:00
errors build(deps): Bump google.golang.org/grpc in /errors (#13017) 2022-08-24 21:02:14 +02:00
fuzz test: re-enable FuzzStoreInternalProofsCreateNonmembershipProof (#12176) 2022-06-08 18:44:51 +00:00
internal chore: Db linting (#12141) 2022-06-08 19:02:01 +02:00
math chore: fix linting issues exposed by fixing golangci-lint (#12895) 2022-08-11 22:00:24 +02:00
orm build(deps): Bump pgregory.net/rapid from 0.4.8 to 0.5.1 in /orm (#13080) 2022-08-29 17:00:29 +00:00
proto refactor!: Refactor CommunityPoolSpendProposal (#12852) 2022-08-22 16:09:22 -04:00
pruning chore: sdk.Int to math.Int (#12132) 2022-06-03 12:17:02 +00:00
runtime chore: fix linting issues exposed by fixing golangci-lint (#12895) 2022-08-11 22:00:24 +02:00
scripts refactor: use mocks for x/distribution (#12889) 2022-08-29 20:15:51 -03:00
server fix: exporting the blockParams regression (#13029) 2022-08-25 09:09:52 +00:00
simapp test(gov): Remove simapp references from module tests and simulations (#13043) 2022-08-29 14:24:51 +00:00
snapshots feat: Make extension snapshotter interface safer to use (#11825) 2022-08-18 09:33:55 +02:00
std fix: register evidence regression (#10595) 2021-12-14 14:25:31 +00:00
store build(deps): Bump github.com/golangci/golangci-lint from 1.48.0 to 1.49.0 (#13013) 2022-08-24 23:13:11 +02:00
telemetry refactor!: Keyring migration (#9695) 2021-09-20 12:02:15 +00:00
tests refactor: use mocks for x/distribution (#12889) 2022-08-29 20:15:51 -03:00
testutil test(gov): Remove simapp references from module tests and simulations (#13043) 2022-08-29 14:24:51 +00:00
third_party/proto docs: improve UPGRADING.md instructions for v0.46.0 (#12646) 2022-08-23 14:52:40 +00:00
tools chore: simplify and refactor linting (#12318) 2022-06-21 17:49:36 +00:00
tx feat: value renderer for timestamp protos (#12860) 2022-08-23 19:58:29 +00:00
types feat: add FormatTime and ParseTimeString methods (#12995) 2022-08-22 23:53:09 +02:00
version chore: fix linting issues exposed by fixing golangci-lint (#12895) 2022-08-11 22:00:24 +02:00
x refactor: use mocks for x/distribution (#12889) 2022-08-29 20:15:51 -03:00
.build.sh fix library file path (#8301) 2021-01-12 10:08:42 +00:00
.clang-format chore: improve proto formatting (#12656) 2022-07-21 10:56:31 +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 build(deps): Bump github.com/golangci/golangci-lint from 1.48.0 to 1.49.0 (#13013) 2022-08-24 23:13:11 +02:00
.gitpod.yml Create .gitpod.yml (#12662) 2022-08-15 15:18:30 +02:00
.golangci.yml build(deps): Bump github.com/golangci/golangci-lint from 1.48.0 to 1.49.0 (#13013) 2022-08-24 23:13:11 +02:00
.goreleaser.yml ci: fix release notes not populated by goreleaser 2022-08-13 20:41:27 +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: master -> main (#11730) 2022-04-24 10:19:04 -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
CHANGELOG.md fix: x/gov migrations (#13045) 2022-08-29 15:15:36 +02: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 chore: fix #12674 changelog (#12746) 2022-07-27 16:11:11 +00:00
docker-compose.yml build: add remote debugging with delve (#10587) 2021-12-01 12:44:54 +00:00
Dockerfile Revert "update-ci-only" (#12882) 2022-08-10 09:04:24 +02:00
go.mod build(deps): Bump github.com/rs/zerolog from 1.27.0 to 1.28.0 (#13075) 2022-08-29 18:37:43 +02:00
go.sum build(deps): Bump github.com/rs/zerolog from 1.27.0 to 1.28.0 (#13075) 2022-08-29 18:37:43 +02:00
go.work fix: re-add cosmovisor in go.work to fix make test (#12884) 2022-08-10 15:12:23 +02:00
LICENSE chore: update license copyright (#12542) 2022-07-13 10:19:10 +00:00
Makefile docs: improve UPGRADING.md instructions for v0.46.0 (#12646) 2022-08-23 14:52:40 +00:00
README.md docs: small readme tweaks (#12979) 2022-08-20 22:04:11 -04:00
RELEASE_PROCESS.md docs: updates outdated docs (#12014) 2022-05-31 08:59:38 -04:00
SECURITY.md docs: updates outdated docs (#12014) 2022-05-31 08:59:38 -04:00
UPGRADING.md docs: improve UPGRADING.md instructions for v0.46.0 (#12646) 2022-08-23 14:52:40 +00:00

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 Go programming language. Cosmos SDK is used to build Gaia, the implementation of the Cosmos Hub.

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

Note: Requires Go 1.18+

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. Awesome Cosmos is a community-curated list of notable frameworks, modules and tools.

Cosmos Hub Mainnet

The Cosmos Hub application, gaia, has 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 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.