Commit Graph

7816 Commits

Author SHA1 Message Date
dependabot[bot] 334b2238d8
build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0 (#8330)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.6.1...v1.7.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-14 08:41:03 -03:00
Aaron Craelius 2a2c2ec009
ADR 030: Authorization Module (#7105)
* Add ADR 030

* Cleanup

* Updates

* Updates based on ADR 031

* Add abstract and context

* Updates

* Update module name as per #7615

* Updates from reviews

* Rename

* CLI update

* Update docs/architecture/adr-030-authz-module.md

Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* Update docs/architecture/adr-030-authz-module.md

Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* Update docs/architecture/adr-030-authz-module.md

Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* Update docs/architecture/adr-030-authz-module.md

Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* Code review updates

* Update docs

Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
2021-01-13 19:18:19 +00:00
Sunny Aggarwal ba96bbebdd
Merge branch 'master' into gov_split_vote_weighted_vote 2021-01-13 13:16:44 -05:00
Marko df7f0b2741
docs: deploy to github pages (#8321) 2021-01-13 18:41:50 +01:00
atheeshp eafd1bc945
x/gov docs basic cleanup (#8279)
* update docs

* review changes

* review changes

* review changes

* review changes

* review changes

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-01-13 11:55:51 +00:00
Tobias Schwarz b4bc63dd78
Chain Upgrade Guide: new_v040_genesis.json (#8313)
Genesis name changes from `new_v040_genesis.json` to `new_040_genesis.json` in this command. 

This is probably a typo

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-01-13 10:01:02 +00:00
Jonathan Gimeno ef35ba69f9
add cosmovisot to running a node (#8320) 2021-01-13 09:52:54 +00:00
Federico Kunze 046b1a4da5
deps: bump tendermint to v0.34.2 (#8316)
* deps: bump tendermint to v0.34.2

* changelog

* tidy
2021-01-12 19:54:27 +00:00
Sunny Aggarwal a517c6bdf7
Merge branch 'master' into gov_split_vote_weighted_vote 2021-01-12 13:51:36 -05:00
Alessio Treglia 40ce5a3e55
fix library file path (#8301)
Co-authored-by: SaReN <sahithnarahari@gmail.com>
2021-01-12 10:08:42 +00:00
SaReN 9d67526dd7
Fix sequence value in auth sign signature only (#8287)
* fix signature only

* add test, changelog

* update test

* Update CHANGELOG.md

* address suggestions

Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2021-01-12 07:47:47 +00:00
Alessio Treglia 4fa9e98095
fix reproducible builds (#8300) 2021-01-11 21:08:56 +00:00
MD Aleem a64bd8cd90
[docs] x/crisis - general audit and cleanup (#8269)
* update docs

* review changes

Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com>
2021-01-11 12:51:42 +00:00
atheeshp 8ac3bd2642
x/{auth, bank, distr} docs basic cleanup (#8268)
* basic code clean up

* revert MsgVerifyInvariant

* review changes

* review changes

* review changes

* review changes

* review changes

* review changes

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-01-11 12:11:22 +00:00
dependabot[bot] 834688f6d4
build(deps): bump gaurav-nelson/github-action-markdown-link-check (#8290)
Bumps [gaurav-nelson/github-action-markdown-link-check](https://github.com/gaurav-nelson/github-action-markdown-link-check) from 1.0.11 to 1.0.12.
- [Release notes](https://github.com/gaurav-nelson/github-action-markdown-link-check/releases)
- [Commits](https://github.com/gaurav-nelson/github-action-markdown-link-check/compare/1.0.11...0fe4911067fa322422f325b002d2038ba5602170)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-11 08:38:03 -03:00
dependabot[bot] 6d2dfff877
build(deps): bump github.com/gogo/protobuf from 1.3.1 to 1.3.2 (#8291)
Bumps [github.com/gogo/protobuf](https://github.com/gogo/protobuf) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/gogo/protobuf/releases)
- [Commits](https://github.com/gogo/protobuf/compare/v1.3.1...v1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-11 10:16:17 +00:00
Sunny Aggarwal 5b0b3232ae remove old adr 2021-01-10 00:28:56 -05:00
Sunny Aggarwal 81bc4479c0 Merge branch 'master' into gov_split_vote_weighted_vote 2021-01-10 00:27:20 -05:00
Robert Zaremba 2c611b5706
8058 fix zero time checks (#8282)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-01-09 12:08:46 +00:00
Cory 5113effd24
v0.40.0 Changelog backport & docs publish (#8285)
* Stargate Release PR -- v0.40.0 Final (#8284)

* v0.40.0 final changelog & release notes

* Trigger Build

* update docs/versions to render v0.40 docs site
2021-01-09 08:59:07 -03:00
dependabot[bot] 3257618461
build(deps): bump github.com/armon/go-metrics from 0.3.5 to 0.3.6 (#8273)
* build(deps): bump github.com/armon/go-metrics from 0.3.5 to 0.3.6

Bumps [github.com/armon/go-metrics](https://github.com/armon/go-metrics) from 0.3.5 to 0.3.6.
- [Release notes](https://github.com/armon/go-metrics/releases)
- [Commits](https://github.com/armon/go-metrics/compare/v0.3.5...v0.3.6)

Signed-off-by: dependabot[bot] <support@github.com>

* go.sum

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@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>
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
2021-01-08 13:41:03 +00:00
colin axnér 0df0626604
Generic 02-client cli cmds, removes light client specific ones (#8259)
* remove old light client cli cmds and replace with generic ones housed in client

* remove print and add client cli getter cmds

* use any as arguments

* revert back to single pub key

* fix tests

* typo

* remove todo

* add upgrade cli cmd cc @AdityaSripal

* register upgrade cmd
2021-01-08 13:00:07 +00:00
MD Aleem 2e8f5e52bd
[docs] x/mint - general audit and cleanup (#8267)
* update docs

* update docs

* review changes

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-01-08 11:48:04 +00:00
MD Aleem 51e7e913fb
fix GET /upgrade/current query (#8280)
* fix cli queries

* fix codec issue

* revert cli

Co-authored-by: SaReN <sahithnarahari@gmail.com>
2021-01-08 09:52:33 +00:00
Robert Zaremba 7fc5e3e6ab
codecs: rename MakeCodecs rename and docs update (#8245)
* codecs: rename MakeCodecs to MakeTestCodecs

* update changelog

* remove MakeTestCodecs

* typo
2021-01-07 21:50:52 +00:00
Cory 7fd3d00459
update changelog for rc7 (#8275) 2021-01-07 12:26:24 -08:00
Cory 5020a189e2
Update tendermint to v0.34.1 (#8281)
* update tendermint to v0.34.1

* update changelog

Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2021-01-07 17:47:45 +00:00
Amaury 75204389e0
Create docs for signing & broadcasting txs (#8257)
* Add structure of tx page

* WIP

* Finish CLI

* Add go examples

* Add golang examples

* Tweaks

* Update links

* Update docs/run-node/interact-node.md

Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>

* Update docs/run-node/interact-node.md

Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>

* Put code snippets in functiosn

* Put snippet in functions

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-01-07 16:21:50 +00:00
Marie Gauthier 0ba839a738
x/evidence doc general audit & cleanup (#8277)
* Update x/evidence doc

* Update x/evidence spec
2021-01-07 16:12:54 +00:00
dependabot[bot] 1895831641
build(deps): bump github.com/tendermint/tendermint from 0.34.0 to 0.34.1 (#8274)
Bumps [github.com/tendermint/tendermint](https://github.com/tendermint/tendermint) from 0.34.0 to 0.34.1.
- [Release notes](https://github.com/tendermint/tendermint/releases)
- [Changelog](https://github.com/tendermint/tendermint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tendermint/tendermint/compare/v0.34.0...v0.34.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2021-01-07 10:52:27 -03:00
colin axnér 7d6345a3f9
ibc: add proto message to Header and Misbehaviour (#8278)
* add proto message to Header and Misbehaviour

* format
2021-01-07 10:05:34 -03:00
Cory c840261cb0
Revert "Fix upgrade tx commands not showing up in CLI" (#8262)
* Revert "Fix upgrade tx commands not showing up in CLI (#8261)"

This reverts commit 893f2262a7.

* Update x/upgrade/client/cli/tx.go

Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2021-01-06 22:16:20 -08:00
Robert Zaremba 85b5fa9b71
appcreator: Reuse encoding config instead of recreating it (#8250)
* appcreator: Reuse encoding config instead of recreating it

* Update tests

* merge tests

* fix export_test.go

* fix genesis_test.go

* fix withGenesis flag

* fix setup parameters

* Update server/README.md

Co-authored-by: Alessio Treglia <alessio@tendermint.com>

* Update server/README.md

Co-authored-by: Alessio Treglia <alessio@tendermint.com>

Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2021-01-06 15:20:12 +00:00
dependabot[bot] ba5eb1a8c4
build(deps): bump codecov/codecov-action from v1.2.0 to v1.2.1 (#8263)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from v1.2.0 to v1.2.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1.2.0...e156083f13aff6830c92fc5faa23505779fbf649)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2021-01-06 10:48:00 -03:00
Anil Kumar Kammari 8ba297f25a
[docs]: Stargate migration guides (#7771)
* init

* Add page contents

* Update migrate a module to stargate

* Update links

* Add querier

* add baseapp migration guide

* Add upgrade instructions

* Add TODO for missing udpates

* Add dependencies

* address review comments

* remove unused

* gaiad => simd

* Add ibc state jq cmd

* Update docs/migrations/README.md

Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>

* Update docs/migrations/README.md

Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>

* Update docs/migrations/README.md

Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>

* Update docs/migrations/README.md

Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>

* Update docs/migrations/chain-upgrade-guide-040.md

Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>

* Update docs/migrations/chain-upgrade-guide-040.md

Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>

* Update docs/migrations/chain-upgrade-guide-040.md

Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>

* Update docs/migrations/chain-upgrade-guide-040.md

Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>

* Created a modules.md file

* Update chain migration guide

* Rename to App migration

* Add new paragraph

* Add some initial sections

* Add msg and queries

* Finish modules

* Add client

* Add update guide

* Rename title

* More tweaks

* Update chain upgrade one

* Remove useless change

* Don't repeat

* Update docs/migrations/chain-upgrade-guide-040.md

Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>

* Small update

* Use rc6

* Update docs/migrations/app_and_modules.md

Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* Update docs/migrations/app_and_modules.md

Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* Update docs/migrations/app_and_modules.md

Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* Update docs/migrations/app_and_modules.md

Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* Update docs/migrations/app_and_modules.md

Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* Update docs/migrations/app_and_modules.md

Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* Update docs/migrations/chain-upgrade-guide-040.md

Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* Update docs/migrations/app_and_modules.md

Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* Update docs/migrations/app_and_modules.md

Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* Update docs/migrations/app_and_modules.md

Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* Update docs/migrations/app_and_modules.md

Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* Update docs/migrations/app_and_modules.md

Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* reviews

* Review

Co-authored-by: Amaury <amaury.martiny@protonmail.com>
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
2021-01-06 11:43:52 +00:00
Aditya 031eec3e9d
Update IBC Application Guide (#8256)
* fix app doc

* finish updating guide

* Update docs/ibc/overview.md

Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>

* apply @colin-axner suggestions

Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2021-01-05 23:01:13 +00:00
Cory 893f2262a7
Fix upgrade tx commands not showing up in CLI (#8261)
* add upgrade tx subcommands to cli

* update CLI help to direct to cosmovisor repo
2021-01-05 19:52:49 -03:00
Robert Zaremba e481f13ff3
docs: cache-wrapping and virtual store (#8102)
* docs: cache-wrapping and virtual store

* Finish the docs update

* Update docs/building-modules/msg-services.md

Co-authored-by: Amaury <amaury.martiny@protonmail.com>

* Update docs/building-modules/msg-services.md

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

Co-authored-by: Amaury <amaury.martiny@protonmail.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2021-01-05 15:57:33 +00:00
Amaury 46b697ca23
Fix gentx command setting wrong amount (#8255)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-01-05 15:08:56 +00:00
dependabot[bot] 8fd051b76e
build(deps): bump codecov/codecov-action from v1.1.1 to v1.2.0 (#8252)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from v1.1.1 to v1.2.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1.1.1...a92c414703a4bba586f6df7fcc885c9d0bdff772)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-05 10:59:51 -03:00
Cory f4ce6860d2
v0.40.0-rc6 Changelog Update (#8249)
* rc6 changelog update

* Update CHANGELOG.md

Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>

* rc6 changelog update

* drop newline

* more changelog entries

Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2021-01-05 01:51:19 +00:00
dependabot[bot] 5bf6026e54
build(deps): bump github.com/otiai10/copy from 1.4.1 to 1.4.2 (#8242)
* build(deps): bump github.com/otiai10/copy from 1.4.1 to 1.4.2

Bumps [github.com/otiai10/copy](https://github.com/otiai10/copy) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/otiai10/copy/releases)
- [Commits](https://github.com/otiai10/copy/compare/v1.4.1...v1.4.2)

Signed-off-by: dependabot[bot] <support@github.com>

* go.sum

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
2021-01-04 20:37:42 +00:00
likhita809 1e7ab564ca
update appd export (#8228)
* update appd export

* Update export.go

* Update export.go

* Update server/export.go

Co-authored-by: Alessio Treglia <quadrispro@ubuntu.com>

* Update export.go

Co-authored-by: Likhita Polavarapu <likhita@vitwit.xyz>
Co-authored-by: MD Aleem <72057206+aleem1314@users.noreply.github.com>
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
Co-authored-by: Alessio Treglia <quadrispro@ubuntu.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-01-04 20:12:45 +00:00
Jonathan Gimeno 0f5b9ea23c
contrib: fix path for statik files (#8248) 2021-01-04 20:02:29 +00:00
Aditya f67eac6840
Fix ConsensusStates grpc query (#8246)
* fix consensus states grpc query

* Update x/ibc/core/02-client/keeper/grpc_query.go

* simplify
2021-01-04 15:03:11 +00:00
Anil Kumar Kammari 6a9b0caa57
Add grpc gateway missing endpoints to swagger docs (#8232)
* Add missing endpoints

* Fix swagger gen

* update

* Update static.go

* Fix format

* Fix tests
2021-01-01 13:45:09 -03:00
MD Aleem ed7bd245b8
Add script to generate proto-docs (#8238)
* init protobuf-docs

* update template

* update docs/core/README.md

* update proto files

* update template

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-12-31 16:10:13 +00:00
vincent faad49688e
x/distribution: fix setting withdraw address (#8240) 2020-12-31 12:04:28 -03:00
likhita809 d316013f77
Update randomfees selection of non-zero coins (#8209)
* Update randomfees selection of non-zero coins

* fix randomfees

* fixing account test

* fix broadcast.go

* fixing

* Revert "fixing"

This reverts commit b6eaa8d281977451d95e3f5e17792bef642ff65c.

* Revert "fix broadcast.go"

This reverts commit 2275ea1303b3f5f8c61774a42f17d8a539c3c00a.

* Revert "fixing account test"

This reverts commit d0d4aa7d5d9421b810bd6582db33ea7dda66a008.

* fix randomfees

* fix randomfees

* remove commented code

Co-authored-by: Likhita Polavarapu <likhita@vitwit.xyz>
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
2020-12-29 16:08:07 +00:00
Tony Arcieri (iqlusion) cfeb5eb4d0
Fix tendermint query proto scoping (#8236)
The following errors are occurring when these protos are compiling
because they exist in a sub-package `cosmos.base.tendermint` but are
trying to refer to toplevel `.tendermint` types:

```
cosmos/base/tendermint/v1beta1/query.proto:87:3: "tendermint.types.BlockID" is resolved to "cosmos.base.tendermint.types.BlockID", which is not defined. The innermost scope is searched first in name resolution. Consider using a leading '.'(i.e., ".tendermint.types.BlockID") to start from the outermost scope.
cosmos/base/tendermint/v1beta1/query.proto:88:3: "tendermint.types.Block" is resolved to "cosmos.base.tendermint.types.Block", which is not defined. The innermost scope is searched first in name resolution. Consider using a leading '.'(i.e., ".tendermint.types.Block") to start from the outermost scope.
cosmos/base/tendermint/v1beta1/query.proto:96:3: "tendermint.types.BlockID" is resolved to "cosmos.base.tendermint.types.BlockID", which is not defined. The innermost scope is searched first in name resolution. Consider using a leading '.'(i.e., ".tendermint.types.BlockID") to start from the outermost scope.
cosmos/base/tendermint/v1beta1/query.proto:97:3: "tendermint.types.Block" is resolved to "cosmos.base.tendermint.types.Block", which is not defined. The innermost scope is searched first in name resolution. Consider using a leading '.'(i.e., ".tendermint.types.Block") to start from the outermost scope.
cosmos/base/tendermint/v1beta1/query.proto:113:3: "tendermint.p2p.DefaultNodeInfo" is resolved to "cosmos.base.tendermint.p2p.DefaultNodeInfo", which is not defined. The innermost scope is searched first in name resolution. Consider using a leading '.'(i.e., ".tendermint.p2p.DefaultNodeInfo") to start from the outermost scope.
```

Here is one issue where I observed these errors:

https://github.com/cosmos/cosmos-sdk/issues/8171

However note it is also breaking the build on `cosmos-rust`:

https://github.com/cosmos/cosmos-rust/issues/23

Adding a `.` before `tendermint` references the package in toplevel
scope, which appears to be what is intended.
2020-12-29 08:58:40 -03:00