Go to file
Tomas Tauber f21c77814f
feat: static checking for common bug patterns (#10488)
## Description

Closes: #10190

added a basic GH Action pipeline for CodeQL that checks
general security and code quality issues
plus a few custom queries for Cosmos SDK
defined in https://github.com/crypto-com/cosmos-sdk-codeql


---

### Author Checklist

*All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.*

I have...

- [x] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] added `!` to the type prefix if API or client breaking change
- [x] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#pr-targeting))
- [x] provided a link to the relevant issue or specification
- [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/master/docs/building-modules)
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#testing)
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
- [x] reviewed "Files changed" and left comments if necessary
- [x] confirmed all CI checks have passed

### Reviewers Checklist

*All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.*

I have...

- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] confirmed `!` in the type prefix if API or client breaking change
- [ ] confirmed all author checklist items have been addressed 
- [ ] reviewed state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)
2021-11-09 12:03:29 +00:00
.github feat: static checking for common bug patterns (#10488) 2021-11-09 12:03:29 +00:00
baseapp feat: ADR-038 Part 2: StreamingService interface, file writing implementation, and configuration (#8664) 2021-10-24 21:37:37 +00:00
client chore: Add "Since:" on proto doc comments (#10434) 2021-10-27 14:13:35 +00:00
codec refactor: move from io/ioutil to io and os package (#10341) 2021-10-13 07:38:22 +00:00
container refactor(container)!: move logging and visualization options to DebugOption (#10302) 2021-10-14 16:49:50 +00:00
contrib style: lint go and markdown (#10060) 2021-10-30 13:43:04 +00:00
cosmovisor style: lint go and markdown (#10060) 2021-10-30 13:43:04 +00:00
crypto style: lint go and markdown (#10060) 2021-10-30 13:43:04 +00:00
db style: lint go and markdown (#10060) 2021-10-30 13:43:04 +00:00
docs chore: fix typo in adr-014-proportional-slashing.md (#10492) 2021-11-08 10:13:14 +00:00
internal feat: ADR-040: Implement KV Store with decoupled storage and SMT (#9892) 2021-10-19 11:58:06 +00:00
proto/cosmos feat: implement nft module msg server (#10074) 2021-10-27 14:43:47 +00:00
scripts style: lint go and markdown (#10060) 2021-10-30 13:43:04 +00:00
server style: lint go and markdown (#10060) 2021-10-30 13:43:04 +00:00
simapp feat(mint): Implement custom inflation function. (#10441) 2021-11-08 10:56:10 +00:00
snapshots style: lint go and markdown (#10060) 2021-10-30 13:43:04 +00:00
std
store perf: store/cachekv: avoid a map lookup if unnecessary, clear maps fast (#10486) 2021-11-08 23:49:13 +00:00
telemetry refactor!: Keyring migration (#9695) 2021-09-20 12:02:15 +00:00
tests test: fix mockgen version (#9127) 2021-05-25 09:18:59 +00:00
testutil feat: Add Table-Store (aka ORM) package - `AutoUInt64Table` and `PrimaryKeyTable` (#10415) 2021-10-27 12:49:37 +00:00
third_party/proto feat: Introduce Cosmos Scalars (#9933) 2021-09-21 09:46:29 +00:00
types style: lint go and markdown (#10060) 2021-10-30 13:43:04 +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(mint): Implement custom inflation function. (#10441) 2021-11-08 10:56:10 +00:00
.build.sh fix library file path (#8301) 2021-01-12 10:08:42 +00:00
.clang-format
.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
.gitattributes
.gitignore docs: fix cosmovisor quickstart (#9730) 2021-07-26 07:51:36 +00:00
.golangci.yml fix(CI): add golangci-lint to dependencies (#10112) 2021-09-14 11:05:30 +02:00
.goreleaser.yml
.markdownlint.json chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
.markdownlintignore chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
.mergify.yml chore: update mergify for v0.44 backports (#10146) 2021-09-15 12:43:59 +02:00
CHANGELOG.md perf: store/cachekv: avoid a map lookup if unnecessary, clear maps fast (#10486) 2021-11-08 23:49:13 +00:00
CODE_OF_CONDUCT.md
CODING_GUIDELINES.md style: lint go and markdown (#10060) 2021-10-30 13:43:04 +00:00
CONTRIBUTING.md style: lint go and markdown (#10060) 2021-10-30 13:43:04 +00: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 chore: golangci-linter github action setup (#10475) 2021-11-08 10:24:22 +00:00
README.md chore: add meeting list and working groups to contributing doc (#10315) 2021-10-13 13:01:29 +00:00
RELEASE_PROCESS.md style: lint go and markdown (#10060) 2021-10-30 13:43:04 +00:00
SECURITY.md docs: update contributing guidelines (#10223) 2021-10-01 11:36:22 +00:00
buf.yaml refactor: Bring back deprecated proto fields to `v1beta1` (#9534) 2021-06-23 13:03:33 +00:00
docker-compose.yml perf: Change localnet CIDR from /16 (65k addresses) to /25 (128 addresses) to reduce docker network conflicts (#9667) 2021-07-12 08:51:36 +00:00
go.mod build(deps): Bump github.com/coinbase/rosetta-sdk-go from 0.7.0 to 0.7.1 (#10508) 2021-11-09 10:09:24 +00:00
go.sum build(deps): Bump github.com/coinbase/rosetta-sdk-go from 0.7.0 to 0.7.1 (#10508) 2021-11-09 10:09:24 +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.

Starport

Starport 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 Starport 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.