Commit Graph

10022 Commits

Author SHA1 Message Date
Julien Robert
209797f3be
chore: make format, make proto-update-deps, add 0.45.10 in changelog (#13623) 2022-10-24 15:23:12 +02:00
Marko
04db139e8a
chore: move pruning to store (#13609)
* move pruning to store

* add changelog entry

Co-authored-by: Julien Robert <julien@rbrt.fr>
2022-10-24 14:02:17 +02:00
Julien Robert
3b62a95ad0
ci: fix can't release cosmovisor (#13618)
* ci: fix can't release cosmovisor

* fix tests

* update date

* update zip
2022-10-24 12:55:58 +02:00
Aaron Craelius
4cf2911f16
feat(core): add AppModule tag interface (#13607) 2022-10-23 06:02:59 +00:00
Jim Larson
c484a0dc0f
docs: Textual ADR minor fixes (#13608)
## Description

Refs: #11970

Minor fixups to architecture docs. No major semantic changes are intended.

---

### Author Checklist

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
- [x] 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/main/CONTRIBUTING.md#pr-targeting))
- [x] provided a link to the relevant issue or specification
- [x] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/building-modules)
- [x] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
- [x] added a changelog entry to `CHANGELOG.md`
- [x] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [x] 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)
2022-10-23 00:52:06 +00:00
dependabot[bot]
b0e0b3e5dc
build(deps): Bump tailwindcss from 3.1.8 to 3.2.0 in /docs (#13615)
* build(deps): Bump tailwindcss from 3.1.8 to 3.2.0 in /docs

Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.1.8 to 3.2.0.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.1.8...v3.2.0)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* build(deps): Bump tailwindcss from 3.1.8 to 3.2.0 in /docs for all modules

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-10-22 23:28:36 +02:00
Sai Kumar
ddf5cf0d8d
feat(cli): add module-account cli cmd and grpc get api (#13612) 2022-10-22 18:23:24 +00:00
dependabot[bot]
e2792711ba
build(deps): Bump cosmossdk.io/depinject from 1.0.0-alpha.2 to 1.0.0-alpha.3 in /tests (#13596)
* build(deps): Bump cosmossdk.io/depinject in /tests

Bumps [cosmossdk.io/depinject](https://github.com/cosmos/cosmos-sdk) from 1.0.0-alpha.2 to 1.0.0-alpha.3.
- [Release notes](https://github.com/cosmos/cosmos-sdk/releases)
- [Changelog](https://github.com/cosmos/cosmos-sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/cosmos/cosmos-sdk/compare/orm/v1.0.0-alpha.2...orm/v1.0.0-alpha.3)

---
updated-dependencies:
- dependency-name: cosmossdk.io/depinject
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* build(deps): Bump cosmossdk.io/depinject from 1.0.0-alpha.2 to 1.0.0-alpha.3 in /tests for all modules

* update core version

* x/consensus providers need to be exported

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com>
Co-authored-by: Aaron Craelius <aaron@regen.network>
2022-10-21 12:44:58 -04:00
Julien Robert
7d6601e1fb
refactor: clean-up SDK tools (#13603) 2022-10-21 15:15:20 +00:00
Emmanuel T Odeke
6a371842df
fix: core/coins: skip 2 int64(uint32) casts by comparison checks and silence gosec warnings (#13611) 2022-10-21 16:50:52 +02:00
dependabot[bot]
1dae922fe0
build(deps): Bump bufbuild/buf-setup-action from 1.8.0 to 1.9.0 (#13602)
Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases)
- [Commits](https://github.com/bufbuild/buf-setup-action/compare/v1.8.0...v1.9.0)

---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-20 18:11:38 +02:00
Julien Robert
9d9f7df3d6
chore: add minor versions changelog (#13556) 2022-10-20 15:28:15 +02:00
Julien Robert
df4d6d1a4c
docs: remove outdated documentation (#13595) 2022-10-19 14:43:32 +00:00
Amaury
9a9e5b59ae
fix(group)!: Register types with Amino (#13592)
* fix!(group): Register types with Amino

* Chagenlog
2022-10-19 13:16:23 +00:00
Julien Robert
0dbae701f0
docs: minor documentation improvements (#13594)
* updates

* rename `sh` to `shell` for syntax coloring

* keep navbar the same on mobile
2022-10-19 14:56:29 +02:00
Marko
a3b8b7fcc9
docs: fix tooling (#13593)
* fix docs

* some more fixes

* some more fixes

* some more fixes

* move spec to 12

* fix

* fix

* Update docs/docs/tooling/00-protobuf.md

Co-authored-by: Julien Robert <julien@rbrt.fr>

Co-authored-by: Julien Robert <julien@rbrt.fr>
2022-10-19 12:38:36 +00:00
Amaury
10ac33edb8
refactor: Move FormatCoins to core (#13306)
* refactor: Move FormatCoins to `core`

* Rename to shorter names

* Add chaneglog

* Don't panic

* add comments

* go mod tidy

* fix changelog

* move structs to top

* Fix test

* go mod tidy

* Refactor tests
2022-10-19 11:21:24 +00:00
Marko
ff4f995b18
docs: add protobuf tooling section (#13590)
* add tooling section

* add make section

* Update docs/docs/tooling/README.md

Co-authored-by: Julien Robert <julien@rbrt.fr>

* Update docs/docs/tooling/protobuf.md

Co-authored-by: Julien Robert <julien@rbrt.fr>

* comments

* address comments

* add cosmovisor and add redirects

* drop file suffix

* fix build

* fix build

* fix build

Co-authored-by: Julien Robert <julien@rbrt.fr>
2022-10-19 12:30:26 +02:00
atheeshp
49ad3b0576
feat: x/staking deterministic tests (#13426)
* `x/staking` deterministic tests

* `params` deterministic tests

* add validators

* pull main

* add validators test

* add `valdator delegations`

* changes

* fix tests

* add unbonding delegation tests

* add more tests

* wip: redelegations

* `redelegations`

* fix tests

* review changes

* review

* add gas consumed check

* review changes

* review changes

Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
2022-10-18 17:32:28 +00:00
dependabot[bot]
6673999463
build(deps): Bump docker/metadata-action from 4.1.0 to 4.1.1 (#13584) 2022-10-18 19:10:51 +02:00
Xavier Leprêtre
c9b446029f
refactor: use FormatUint instead of converting to int. (#13582) 2022-10-18 16:40:39 +02:00
Amaury
1f10efe621
refactor: Remove useless gogoproto jsontag (#13581) 2022-10-18 10:28:17 +00:00
Likhita Polavarapu
59f3c3c3da
refactor(auth): CLI tests using Tendermint Mock (#13567) 2022-10-18 09:13:21 +02:00
dependabot[bot]
46a8c51951
build(deps): Bump technote-space/get-diff-action from 6.1.0 to 6.1.1 (#13570) 2022-10-17 18:39:59 +00:00
dependabot[bot]
42c629e4d0
build(deps): Bump amannn/action-semantic-pull-request (#13569) 2022-10-17 18:36:55 +00:00
dependabot[bot]
f6b6143e66
build(deps): Bump google.golang.org/grpc from 1.50.0 to 1.50.1 in /api (#13573) 2022-10-17 20:31:47 +02:00
yihuang
15accd76fc
feat: support alternative query multistore (#13529)
* support customize query multistore

* Update CHANGELOG.md

* fix test

* Update baseapp/abci.go

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

* Update baseapp/baseapp.go

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

* Update baseapp/options.go

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

* Apply suggestions from code review

Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2022-10-17 23:40:28 +08:00
Elias Naur
ed9cd41396
chore(crypto): update btcec to v2 (#13513)
Similar to Tendermint's PR,

https://github.com/tendermint/tendermint/pull/9250

Note that crypto/ledger is not updated in this PR, because if its
dependency on the R and S values being exposed by ParseDERSignature.

Updates #13423

Signed-off-by: Elias Naur <elias@orijtech.com>

Signed-off-by: Elias Naur <elias@orijtech.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2022-10-17 16:33:43 +02:00
Marko
a34d5b213d
docs: create ecosystem section (#13562)
* create ecosystem section

* add mention of ethermint
2022-10-17 12:55:02 +02:00
Giancarlos Salas
18d8b64ce5
refactor: check begin, end block interface extensions (#13560) 2022-10-17 08:17:01 +00:00
Julien Robert
3c9b244f62
refactor: automate EventTypeMessage inclusion in every message execution (#13532) 2022-10-16 19:00:34 -04:00
Jim Larson
d9f3eb027d
feat: structured screens for SIGN_MODE_TEXTUAL (#13434)
## Description

Refs: #11970

Changes target of `SIGN_MODE_TEXTUAL` rendering to be a structured datatype
instead of lines of ASCII text. This avoids the complexities of in-band, signaling and
allows more capable signing devices not to be hindered by the limitations of those less
capable.

---

### 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
- [X] 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/main/CONTRIBUTING.md#pr-targeting))
- [X] provided a link to the relevant issue or specification
- [X] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/building-modules)
- [X] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
- [ ] added a changelog entry to `CHANGELOG.md`
- [X] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [X] updated the relevant documentation or specification
- [X] reviewed "Files changed" and left comments if necessary
- [x] confirmed all CI checks have passed
NOTE: changelog intentionally omitted - we'll add an entry when
#11970 is complete.

### 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)
2022-10-15 08:04:36 +00:00
Aleksandr Bezobchuk
ebe0f5c6ee
fix: update param validation to fail on nil dec (#13553) 2022-10-15 00:24:25 +02:00
dependabot[bot]
e1ff59e350
build(deps): Bump amannn/action-semantic-pull-request (#13552)
Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/amannn/action-semantic-pull-request/releases)
- [Changelog](https://github.com/amannn/action-semantic-pull-request/blob/main/CHANGELOG.md)
- [Commits](https://github.com/amannn/action-semantic-pull-request/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: amannn/action-semantic-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-14 18:45:48 +02:00
Likhita Polavarapu
d01aa5b4a8
refactor(authz): CLI tests using Tendermint Mock (#13517)
## Description

Closes: #13487 



---

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

- [ ] 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
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/building-modules)
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/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
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] 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)
2022-10-14 10:37:08 +00:00
Aaron Craelius
de49cb4b1c
refactor!: rename autocli package (#13547) 2022-10-14 07:12:00 +00:00
Aaron Craelius
05d11382d7
feat!: use built-in cobra completion command (#13548) 2022-10-13 22:03:10 -04:00
Aaron Craelius
fa2cb40892
feat: implement autocli customization (#13251)
* feat: implement autocli customization

* WIP

* integrate simple options

* skip positional fields

* WIP

* WIP

* WIP

* trying to simplify diff, fixing errors

* WIP

* WIP

* tests passing again

* positional params working

* add TODO

* WIP on tests

* WIP on tests

* working tests

* doc strings

* docs

* tests

* tests

* simplify API

* proper validation

* fix import

* address review comments

* address review comments

Co-authored-by: Marko <marbar3778@yahoo.com>
2022-10-13 21:25:26 +00:00
Julien Robert
6fdcbfd3ab
docs: small ui fixes (#13546)
* docs: small ui fixes

* updates
2022-10-13 19:58:25 +00:00
Tyler
81d033e701
perf(x/auth): only check memo when memo is present (#13528) 2022-10-13 19:49:11 +00:00
dependabot[bot]
7122ded4ee
build(deps): Bump github.com/cosmos/cosmos-proto from 1.0.0-alpha7 to 1.0.0-alpha8 (#13543)
* build(deps): Bump github.com/cosmos/cosmos-proto

Bumps [github.com/cosmos/cosmos-proto](https://github.com/cosmos/cosmos-proto) from 1.0.0-alpha7 to 1.0.0-alpha8.
- [Release notes](https://github.com/cosmos/cosmos-proto/releases)
- [Commits](https://github.com/cosmos/cosmos-proto/compare/v1.0.0-alpha7...v1.0.0-alpha8)

---
updated-dependencies:
- dependency-name: github.com/cosmos/cosmos-proto
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* build(deps): Bump github.com/cosmos/cosmos-proto from 1.0.0-alpha7 to 1.0.0-alpha8 for all modules

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-10-13 19:25:47 +00:00
dependabot[bot]
459af5812c
build(deps): Bump postcss from 8.4.17 to 8.4.18 in /docs (#13541)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.17 to 8.4.18.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.17...8.4.18)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-13 19:17:22 +02:00
dependabot[bot]
e46c5ad79d
build(deps): Bump JamesIves/github-pages-deploy-action (#13542)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/v4.4.0...v4.4.1)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2022-10-13 16:41:08 +00:00
Julien Robert
89c65f4d58
feat: overwrite default denom in init cmd (#13535)
* feat: overwrite default denom in `init` cmd

* add changelog

* wording

* `make format`

* update comment
2022-10-13 18:24:28 +02:00
Aleksandr Bezobchuk
77e00d1f03
chore: CHANGELOG update #13536 2022-10-13 14:31:52 +02:00
dependabot[bot]
3a22a1efe1
build(deps): Bump github.com/btcsuite/btcd from 0.22.1 to 0.22.2 (#13508)
* build(deps): Bump github.com/btcsuite/btcd from 0.22.1 to 0.22.2

Bumps [github.com/btcsuite/btcd](https://github.com/btcsuite/btcd) from 0.22.1 to 0.22.2.
- [Release notes](https://github.com/btcsuite/btcd/releases)
- [Changelog](https://github.com/btcsuite/btcd/blob/master/CHANGES)
- [Commits](https://github.com/btcsuite/btcd/compare/v0.22.1...v0.22.2)

---
updated-dependencies:
- dependency-name: github.com/btcsuite/btcd
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* build(deps): Bump github.com/btcsuite/btcd from 0.22.1 to 0.22.2 for all modules

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2022-10-13 10:29:09 +00:00
Aleksandr Bezobchuk
7781cdb3d2
refactor: Improve AllocateTokens #13524 2022-10-12 22:03:45 +02:00
dependabot[bot]
3689d6f41a
build(deps): Bump docker/metadata-action from 4.0.1 to 4.1.0 (#13523) 2022-10-12 18:27:18 +02:00
Julien Robert
4014953509
fix: fix simulations failure (#13512) 2022-10-12 07:24:58 +00:00
Likhita Polavarapu
e5e97c3ec3
fix something (#13514) 2022-10-12 08:48:51 +02:00