Commit Graph

191 Commits

Author SHA1 Message Date
dependabot[bot] f80c985adb
build(deps): Bump github.com/cosmos/cosmos-proto from 1.0.0-beta.2 to 1.0.0-beta.4 (#19472)
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>
2024-02-19 10:46:09 +01:00
mergify[bot] d64fccb503
feat(group): add group event tally result (backport #16191) (#16305)
Co-authored-by: Jeancarlo Barrios <JeancarloBarrios@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-05-26 13:56:32 +02:00
dependabot[bot] 6aa7de4fc1
build(deps): Bump github.com/cosmos/gogoproto from 1.4.9 to 1.4.10 (#16123)
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>
2023-05-11 21:43:25 +00:00
dependabot[bot] 85fc4afcc9
build(deps): Bump github.com/cosmos/gogoproto from 1.4.8 to 1.4.9 (#16030)
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>
2023-05-10 18:42:34 +02:00
dependabot[bot] 48d3d99110
build(deps): Bump github.com/cosmos/gogoproto from 1.4.7 to 1.4.8 (#15878)
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>
2023-04-19 08:17:43 +02:00
dependabot[bot] 492ff75a85
build(deps): Bump github.com/cosmos/gogoproto from 1.4.6 to 1.4.7 (#15634)
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>
2023-03-30 19:53:28 +02:00
mergify[bot] b979f8b083
feat: auto-set block timestamp for historical queries (backport #15448) (#15573)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Aleksandr Bezobchuk <aleks.bezobchuk@gmail.com>
2023-03-28 18:05:41 -03:00
mergify[bot] a0497b7f17
feat: add query `groups` in `x/group` (backport #14879) (#15475)
Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-03-20 18:19:31 +00:00
mergify[bot] 979adcff80
docs: improve proto vesting docs about time attributes (backport #15474) (#15480)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-03-20 17:55:25 +00:00
mergify[bot] ffedca8897
refactor: add burnable params to governance (backport #15151) (#15218)
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-03-01 11:41:34 +00:00
dependabot[bot] 546b298aea
build(deps): Bump github.com/cosmos/gogoproto from 1.4.4 to 1.4.6 (#15199)
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>
2023-03-01 00:16:21 +00:00
dependabot[bot] 54240ec9ab
build(deps): Bump github.com/cosmos/cosmos-proto from 1.0.0-beta.1 to 1.0.0-beta.2 (#15200)
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>
2023-02-28 00:00:43 +00:00
Julien Robert c830dad456
build(deps): bump to tagged version of CometBFT in v0.47 (#15119) 2023-02-23 21:58:16 +01:00
mergify[bot] 1964f26004
build(deps): Bump vulnerable dependencies (backport #15051) (#15058)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-02-17 18:04:14 +00:00
mergify[bot] 16dd73655f
fix(reflection): Fix gogoproto import paths (backport #14838) (#14851)
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
2023-01-31 12:28:51 +00:00
Julien Robert 57595d59b7
chore: deprecate unused messages instead of removing them (#14608) 2023-01-17 17:31:02 +00:00
mergify[bot] 9186a1e3eb
docs: update docs links to v0.47 (backport #14572) (#14591)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-01-12 15:46:55 +01:00
mergify[bot] 89f5dd8df1
docs: improve documentation about authority in protos (backport #14531) (#14537)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-01-09 10:03:23 +00:00
mergify[bot] b659774a7b
feat: (x/bank) add spendable balances cmd (backport #14045) (#14514)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-01-05 21:22:45 +00:00
mergify[bot] a1a625892b
refactor: add title and summary to groups proposal (backport #14465) (#14482)
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-01-05 10:02:45 +00:00
mergify[bot] 22e8aaad44
chore: Clean up `{accept,implement}_interface` (backport #14476) (#14478)
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-01-04 18:33:09 +01:00
mergify[bot] 71c1ee22a8
fix(distribution): correct default for deprecated distribution params (backport #14462) (#14463)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-01-02 19:21:19 +00:00
mergify[bot] 2c50d2ad9f
refactor: add title, summary and proposer to proposal struct of gov (backport #14390) (#14423)
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2022-12-27 12:16:29 +00:00
mergify[bot] 35522022d4
refactor: x/group audit changes (backport #14278) (#14409) 2022-12-24 11:01:42 +01:00
mergify[bot] 9b2773a7ea
refactor: x/upgrade audit changes (backport #14188) (#14215)
Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2022-12-12 14:38:35 +01:00
mergify[bot] 5e5d7cda8a
refactor: x/gov audit changes (backport #14174) (#14184)
* refactor: x/gov audit changes  (#14174)

* make proto changes

* wip

* wip

* wip

* `make lint-fix`

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
(cherry picked from commit f1062c7f2c69f2bc030b77fab338316814af497f)

# Conflicts:
#	x/gov/types/v1beta1/msgs.go
#	x/gov/types/v1beta1/proposal.go

* `make proto-gen`

Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2022-12-07 11:06:15 +00:00
mergify[bot] e7afcca232
fix: state listener observe writes at wrong time (backport #13516) (#14137)
* fix: state listener observe writes at wrong time (#13516)

* fix: state listener observe writes at wrong time

Closes: #13457

Currently state listener is notified when the cache store write, which happens in commit event only, which breaks the current design.
The solution (as discussed in the issue) is to listen state writes on rootmulti store only.

It also changes the file streamer to output single data file for the writes in the whole block, since we can't distinguish writes from different stage of abci events.

It adds new config items for file streamer:
- streamers.file.output-metadata
- streamers.file.stop-node-on-error
- streamers.file.fsync

* synchronous abci call, and format doc

* fix comment

* update file streamer readme and fix typos

* typo

* fix: state listener observe writes at wrong time

Closes: #13457

Currently state listener is notified when the cache store write, which happens in commit event only, which breaks the current design.
The solution (as discussed in the issue) is to listen state writes on rootmulti store only.

It also changes the file streamer to output single data file for the writes in the whole block, since we can't distinguish writes from different stage of abci events.

It adds new config items for file streamer:
- streamers.file.output-metadata
- streamers.file.stop-node-on-error
- streamers.file.fsync

synchronous abci call, and format doc

fix comment

update file streamer readme and fix typos

typo

* improve UX of file streamer, make it immediately usable after enabled

- set default value to write_dir.
- make write_dir based on home directory by default.
- auto-create the directory if not exists.

* get homePage from opts

Co-authored-by: Marko <marbar3778@yahoo.com>
(cherry picked from commit 1f91ee2ee941fd9a1dd4bc3acecd753e3cb7e237)

# Conflicts:
#	CHANGELOG.md
#	baseapp/streaming.go
#	store/streaming/constructor.go
#	store/streaming/file/service.go

* fix changelog

* fix conflicts

Co-authored-by: yihuang <huang@crypto.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2022-12-05 22:23:03 +00:00
mergify[bot] d80078f721
refactor: x/evidence audit changes (#14092) (#14116)
## Description

ref: #14063

---

### 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/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)

(cherry picked from commit 37a9bc3bb67bd82d4493d2d86f8cd31c0e768880)

Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
2022-12-01 13:09:59 +01:00
mergify[bot] 3f3c6bb796
chore: added new field `account-id` with uint64 in `AccountAddressByID` (backport #13780) (#14084) 2022-11-30 08:51:07 +00:00
mergify[bot] 11bbeede3c
refactor: x/nft audit changes (backport #14055) (#14083) 2022-11-30 08:49:42 +00:00
mergify[bot] 2e77eafba3
docs: add docs about `x/auth/tx` (backport #14021) (#14034)
* docs: add docs about `x/auth/tx` (#14021)

* docs: add docs about `x/auth/tx`

* updates

* updates

* updates

* updates

* updates

* updates

* updates

Co-authored-by: Marko <marbar3778@yahoo.com>
(cherry picked from commit 6f329d70c6cc128c14189a6aa82b79add9798677)

# Conflicts:
#	api/cosmos/auth/v1beta1/query.pulsar.go
#	go.sum
#	simapp/go.sum
#	tests/go.sum
#	x/auth/types/query.pb.go

* bump deps (#14035)

* updates

* updates

Co-authored-by: Julien Robert <julien@rbrt.fr>
2022-11-27 23:01:15 +01:00
mergify[bot] a273086b6b
feat: Add tx encode and decode endpoints for amino txs (backport #13882) (#14009)
* feat: Add tx encode and decode endpoints for amino txs (#13882)

* add proto changes

* make proto-gen

* wip: adds tests

* wip: tests

* remove consoles

* wip: fix something

* fix: encode amino tests

* add decode amino tests

* wip: address requested changes

* update proto inline docs

* address review comments

Co-authored-by: Amaury M <1293565+amaurym@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com>
(cherry picked from commit e260fc1c89d537b796dd7c9ee3f28b5ce2fb5b28)

* fix changelog

Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2022-11-27 12:42:42 +01:00
mergify[bot] fc9b70fb42
fix(group): migrate group policy account to base accounts with credentials (backport #13742) (#13962)
* fix(group): migrate group policy account to base accounts with credentials (#13742)

(cherry picked from commit d6da7037b63ab17caa63b93716cafd943f180878)

* update changelog

* updates

Co-authored-by: Julien Robert <julien@rbrt.fr>
2022-11-22 12:26:44 +01:00
mergify[bot] 9c70550fac
fix(group): add group members weight checks (#13869) (#13879)
(cherry picked from commit 3423442ab198434adc29862414dc49990155083f)

Co-authored-by: Julien Robert <julien@rbrt.fr>
2022-11-16 09:14:29 +00:00
mergify[bot] e253968c6f
feat: Add tx encode and decode endpoints (#13789) (#13868)
* add grpc endpoint for encoding proto tx's

(cherry picked from commit bcff22a3767b9c5dd7d1d562aece90cf72e05e85)

Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
2022-11-15 13:13:12 +01:00
mergify[bot] 6a1af7bf87
fix: `.String()` panics when pubkey is set on a `BaseAccount` (#13838) (#13855)
(cherry picked from commit d9bc5acac82ecb35307705407ad479ee6e3b8e3f)

Co-authored-by: Julien Robert <julien@rbrt.fr>
2022-11-14 16:00:57 +00:00
Julien Robert 76be73022a
fix: fix proto files created as super-user (#13801)
* chore: bump proto-builder

* updates

* fix root issue

Co-authored-by: Marko <marbar3778@yahoo.com>
2022-11-09 10:37:07 +00:00
Amaury b49f948b36
feat: Add proto annotations for Amino JSON (#13501)
* add legacy_amino_name

* make-proto-gen

* remove useless omitempty

* add annotations

* Add proto annotations

* Add more annotations

* update cosmos-proto

* Add message scalar?

* Add comments

* Fix comment

* lint proto files

* proto-gen

* go mod tidy

* Add multisig encoding

* Add field name

* Format proto

* proto-gen

* Update proto/cosmos/msg/v1/msg.proto

Co-authored-by: Aaron Craelius <aaron@regen.network>

* Add dont_omitempty whenever we have nullable=false

* proto-gen

* Remove problematic annotations

* put legacy_amino in subpackage

* proto-gen

* Fixes

* legacy_amino.v1

* add non-working proto

* Generate in separate package

* Remove `cosmos.msg` prefix

* make proto-gen

* remove v1 too

* make proto-format

* Add field option

* format

* proto-gen

* Use underscores

* update legacy_amino -> amino

* update to `key_field`

* make proto-format

* make proto-gen

Co-authored-by: Aaron Craelius <aaron@regen.network>
2022-11-07 22:51:51 +00:00
Likhita Polavarapu 2bb114acec
fix: Evidence API does not decode the hash properly (#13740)
## Description

Closes: #13444 

This PR fixes the x/evidence api query which is not decoding the evidence hash properly because of its type ([]byte). We fix it with the following steps:
1. Adds a new proto field `hash` of type `string`
2. Make the old `evidence_hash` field deprecated
3. Updates query handler 

---

### 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-11-04 10:08:44 +00:00
Julien Robert 0a8b037e78
feat(api): add `authority` as module parameter (#13712) 2022-10-31 18:51:43 +00:00
Aaron Craelius 2d606d4ba2
refactor!: simplify cosmos.reflection.v1 (#13668)
* refactor!: simplify cosmos.reflection.v1

* codegen
2022-10-26 17:36:24 +00:00
atheeshp 3c238ebc1d
chore: remove `module_query_safe` for few auth queries (#13642) 2022-10-25 12:49:44 +02:00
Aaron Craelius a1b8ec2a2c
feat: add autocli service proto (#13597)
* feat: add autocli service proto

* protogen

* protogen

* move to cosmos.reflection.v1

* docs

* proto gen

* proto lint

* Update proto/cosmos/autocli/v1/service.proto

Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>

* address review comments

Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
2022-10-25 09:17:30 +00:00
Sai Kumar ddf5cf0d8d
feat(cli): add module-account cli cmd and grpc get api (#13612) 2022-10-22 18:23:24 +00:00
Amaury 1f10efe621
refactor: Remove useless gogoproto jsontag (#13581) 2022-10-18 10:28:17 +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
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
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
Aleksandr Bezobchuk c60c55616d
feat: gRPC query for operator and chain configuration (#13485) 2022-10-10 19:12:00 +00:00
Marko 84675a6bf1
feat!: IS rebase (#13122)
* feat: IS rebase (squash da53124..b45dd5f)

* clean up docs

* fix: fix IS tests (#13420)

* revert key update

* add hook error handling

* impl feedback

* add changelog

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

* more nits

* fix tests
Co-authored-by: Simon <sainoe@users.noreply.github.com>

* add godoc

* add godoc

Co-authored-by: Julien Robert <julien@rbrt.fr>
2022-10-09 12:21:20 +02:00