Go to file
Amaury Martiny 5c0e3b4de5
x/auth/ante: Migrate tests to use the new client.TxConfig (#6661)
* WIP: using encoding config

* Make it compile, test fails

* test should be okay

* Make tests pass

* Add comments

* Convert more tests

* Make TestAnteHandlerSigErrors work

* Make first 2 tests pass

* TestAnteHandlerAccountNumbers

* Use table tests

* Remove print

* Use test table

* TestAnteHandlerSigErrors

* TestAnteHandlerAccountNumbers

* TestAnteHandlerAccountNumbers

* Refactor TestAccount

* Refactor getSignBytes

* TestAnteHandlerAccountNumbersAtBlockHeightZero

* TestAnteHandlerSequences

* TestAnteHandlerFees

* TestAnteHandlerMultiSigner

* TestAnteHandlerBadSignBytes

* TestAnteHandlerSetPubKey

* TestAnteHandlerSigLimitExceeded

* TestCustomSignatureVerificationGasConsumer

* TestAnteHandlerReCheck

* Make all tests pass

* Refactor a little bit more

* Fee test

* SetupTest

* All tests pass

* Refactor to RunTestCase

* Don't use StdFee

* Revert some little stuff

* Finish up last couple of test cases

* Less verbose

* s/TxGenerator/TxConfig

* Add comments

* Indent

* Move KeyTestPubAddr to testdata

* Move testdata to /testutil

* Revert to use signature: nil step in signing

* Add comments

Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-07-20 08:30:12 -04:00
.circleci fix docs build failure (#6633) 2020-07-07 19:56:01 +02:00
.github Reset stale job to only mark PRs as stale (#6757) 2020-07-17 14:06:56 +00:00
baseapp x/auth/ante: Migrate tests to use the new client.TxConfig (#6661) 2020-07-20 08:30:12 -04:00
client x/auth/ante: Migrate tests to use the new client.TxConfig (#6661) 2020-07-20 08:30:12 -04:00
codec x/auth/ante: Migrate tests to use the new client.TxConfig (#6661) 2020-07-20 08:30:12 -04: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 Merge PR #6761: telemetry: use UTC() in wrappers 2020-07-17 15:33:50 -04:00
networks/local Merge PR #6426: Migrate API Server 2020-06-15 13:39:09 -04:00
proto refactor auths broadcast cmd in alignment with #6216 (#6713) 2020-07-17 17:17:21 +00:00
scripts x/auth/ante: Migrate tests to use the new client.TxConfig (#6661) 2020-07-20 08:30:12 -04:00
server testutil cleanup and reorg (#6658) 2020-07-09 14:21:20 +02:00
simapp x/auth/ante: Migrate tests to use the new client.TxConfig (#6661) 2020-07-20 08:30:12 -04:00
std ci: bump codecov (#6638) 2020-07-08 11:03:23 +02:00
store Merge PR #6761: telemetry: use UTC() in wrappers 2020-07-17 15:33:50 -04:00
telemetry Merge PR #6761: telemetry: use UTC() in wrappers 2020-07-17 15:33:50 -04:00
tests x/auth/ante: Migrate tests to use the new client.TxConfig (#6661) 2020-07-20 08:30:12 -04:00
testutil x/auth/ante: Migrate tests to use the new client.TxConfig (#6661) 2020-07-20 08:30:12 -04:00
third_party/proto Update proto files & definitions in accordance with ADR023 (#6413) 2020-06-18 10:04:26 -07:00
types x/auth/ante: Migrate tests to use the new client.TxConfig (#6661) 2020-07-20 08:30:12 -04:00
version testutil: add ApplyMockIODiscardOutErr, simplify existing functions (#6665) 2020-07-10 08:55:48 +02:00
x x/auth/ante: Migrate tests to use the new client.TxConfig (#6661) 2020-07-20 08:30:12 -04: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.