Commit Graph

10012 Commits

Author SHA1 Message Date
dependabot[bot] e82fe64d33
build(deps): Bump cosmossdk.io/api from 0.2.1 to 0.2.3 in /core
Bumps [cosmossdk.io/api](https://github.com/cosmos/cosmos-sdk) from 0.2.1 to 0.2.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/api/v0.2.1...api/v0.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-31 06:01:44 +00:00
Conor Patrick a7ff4d21e5
Update README.md 2022-10-19 18:44:16 -05: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
dependabot[bot] 85fe39077e
build(deps): Bump postcss-import from 14.1.0 to 15.0.0 in /docs (#13505)
* build(deps): Bump postcss-import from 14.1.0 to 15.0.0 in /docs

Bumps [postcss-import](https://github.com/postcss/postcss-import) from 14.1.0 to 15.0.0.
- [Release notes](https://github.com/postcss/postcss-import/releases)
- [Changelog](https://github.com/postcss/postcss-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-import/compare/14.1.0...15.0.0)

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

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

* improve jobs

* updates

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-11 23:08:43 +02:00
dependabot[bot] fd25a386f7
build(deps): Bump amannn/action-semantic-pull-request (#13506)
Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) from 4.6.0 to 5.0.0.
- [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/v4.6.0...v5.0.0)

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

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-11 20:59:18 +02:00
dependabot[bot] 9678f313ad
build(deps): Bump github.com/spf13/cobra from 1.5.0 to 1.6.0 (#13507)
* build(deps): Bump github.com/spf13/cobra from 1.5.0 to 1.6.0

Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.5.0...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* build(deps): Bump github.com/spf13/cobra from 1.5.0 to 1.6.0 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-11 18:28:42 +02:00
Marko c35ba106f2
remove epoch redirect (#13504) 2022-10-11 13:39:38 +00:00
Marko dabcedce71
refactor: remove epoching module (#13503)
* remove epoching module

* remvoe mention in readme
2022-10-11 12:42:04 +00:00
Amaury 56709d4e1d
fix!: Fix some Amino registrations (#13502)
* fix!: Fix some Amino registrations

* add cl

* revert proto changes
2022-10-11 10:40:54 +00:00
Jacob Gadikian 1917e92bb7
ci: Update lint.yml and Makefile (#13484)
* Update lint.yml

* adjust Makefile and run make format

* run make format

* make format

* nolint:staticcheck the for loop

Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2022-10-11 10:07:39 +00:00
atheeshp ad07de8a68
feat: x/auth deterministic tests (#13329)
* add tests for `accounts`

* add more tests

* add tests

* review changes

* refactor

* review changes

* review changes

* review changes

* review changes

* review changes

* review changes

* review changes
2022-10-11 05:22:00 +00:00
Aaron Craelius f3a558c6b4
refactor!: require exported app wiring providers (#13292) 2022-10-10 20:27:44 +00:00
Aleksandr Bezobchuk c60c55616d
feat: gRPC query for operator and chain configuration (#13485) 2022-10-10 19:12:00 +00:00