Commit Graph

60 Commits

Author SHA1 Message Date
Facundo Medica
f61141f15e
fix(x/staking): Add missing data from import/export (#20953) 2024-07-15 13:01:08 +00:00
Marko
b68eb39412
refactor(staking)!: remove historical info (#20845)
Co-authored-by: Facundo <facundomedica@gmail.com>
2024-07-05 09:28:49 +00:00
Marko
106872bd0e
chore: fix QueryAccountAddressByIDRequest (#20872) 2024-07-04 07:37:49 +00:00
Lucas Francisco López
467cc6d427
feat: Add consensus address to validator query response (#20434)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-06-21 10:15:03 +00:00
winniehere
1ed018afa8
chore(proto): fix comments (#20679)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-06-17 08:32:06 +00:00
Marko
0dfb54e36a
refactor! : bump comet to v1 (#19726)
Co-authored-by: yihuang <yi.codeplayer@gmail.com>
2024-05-06 14:12:00 +00:00
Duong Minh Ngoc
7ee3bde8f3
refactor(proto): add denote version annotation (#20098)
Co-authored-by: Tuan Tran <tuantran@notional.ventures>
Co-authored-by: Khanh Hoa <hoa@notional.ventures>
Co-authored-by: kienn6034 <kien@notional.ventures>
2024-04-26 10:14:09 +00:00
Julien Robert
d54e940d50
refactor(x/staking): use sdk validator updates (#19788) 2024-03-28 13:48:52 +00:00
Julien Robert
43df8d8245
refactor(proto): use buf registry for cometbft protos (#19366) 2024-02-16 16:17:11 +00:00
atheeshp
efa7636756
feat(client/v2): add support for pubkey (#19039) 2024-01-12 18:37:13 +00:00
Cosmos SDK
8f0d5b15f0
chore: typos fixes by cosmos-sdk bot (#18689)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-12-11 13:03:19 +00:00
Cosmos SDK
e84b19142a
chore: typos fix by misspell-fixer (#18683)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-12-11 09:10:43 +00:00
atheeshp
0f8c6c2c12
feat(x/staking): implement RotateConsPubKey method (#18188) 2023-11-15 06:59:50 +00:00
Marko
2a6640d488
refactor(staking): add go.mod (#18257) 2023-10-26 07:39:34 +00:00
atheeshp
3a8f114327
feat: add required params for cons pubkey rotation (#18142) 2023-10-18 13:06:59 +00:00
atheeshp
8f8e242e78
feat: add proto for cons pubkey rotation (#18140) 2023-10-17 12:42:16 +00:00
GoodDaisy
dbf686e144
chore: fix typos (#18106) 2023-10-14 12:57:01 +00:00
Marko
86ab9890b8
chore: amend validator to validators (#17809) 2023-09-19 12:34:13 +00:00
Marko
c05ff14a97
refactor(staking): change historicalinfo to contain minimal set of data (#17655)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-09-19 10:59:04 +00:00
Marko
c23505b037
refactor(staking): use validator & address codecs in staking (#16958) 2023-07-19 11:01:32 +00:00
Julien Robert
7ed04f71b4
chore: replace amino cosmos_dec_bytes annoation by scalar cosmos.Dec and add missing annotations (#17000) 2023-07-14 18:10:28 +00:00
Julien Robert
74c351e2fd
feat(api): add consensus bech32 prefix in app config (#16945) 2023-07-12 17:37:27 +00:00
atheeshp
9b237c7189
chore(x/staking): audit changes (#16795)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-07-03 07:14:17 +00:00
Julien Robert
8c72f66396
refactor!: remove types/math aliases (#16798) 2023-06-30 17:09:03 +00:00
Julien Robert
02b7607768
feat(auth,client/v2): add validator address codec (#16768) 2023-06-30 09:44:28 +00:00
Julien Robert
cf1a573679
chore: set correct eden version number (#16281) 2023-05-24 19:58:45 +00:00
bjwswang
908677e648
chore: fix typo in staking's genesis proto (#16095)
Signed-off-by: bjwswang <bjwswang@gmail.com>
2023-05-11 09:03:35 +00:00
Aaron Craelius
654f26e55c
fix!: correctly annotate validator and consensus address fields (#15710) 2023-04-20 16:55:13 +00:00
Federico Kunze Küllmer
e90271aca2
feat: add MsgCancelUnbondingDelegation to Staking Authorization (#15164)
Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-03-13 22:28:20 +00:00
Julien Robert
5f47935747
chore: make proto-gen due to dep update (#15268) 2023-03-06 10:54:50 +01:00
Matt Kocubinski
407c7572b9
feat: api updates required for aminojson encoder (#15019) 2023-02-15 20:15:31 -07:00
cipherZ
86eca4c72b
feat: Integrate tendermint Block endpoints into the cli (#14659)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-02-14 19:23:45 +01:00
atheeshp
cc10614146
refactor: x/feegrant to stand alone (#14649)
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
2023-01-25 16:39:54 +00:00
Murali Krishna Komatireddy
e3b37dc562
fix: return undelegate amount with MsgUndelegateResponse (#14590)
Closes https://github.com/cosmos/cosmos-sdk/issues/14153
2023-01-23 10:08:32 +00:00
Murali Krishna Komatireddy
7b8ab8ec77
fix: remove delegator addess from MsgCreateValidator (#14567)
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: samricotta <37125168+samricotta@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Noel Ukwa <noeluchechukwu@gmail.com>
Co-authored-by: JayT106 <JayT106@users.noreply.github.com>
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
Co-authored-by: Julián Toledano <JulianToledano@users.noreply.github.com>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Denver <aeharvlee@gmail.com>
Co-authored-by: Hyunwoo Lee <denver@Hyunwoos-MacBook-Pro-2.local>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-01-17 11:48:40 +05:30
Julien Robert
ecdedf5db4
docs: improve documentation about authority in protos (#14531) 2023-01-09 08:18:13 +00:00
Amaury
b244ffb4dd
chore: Clean up {accept,implement}_interface (#14476) 2023-01-04 14:23:24 +00:00
Julien Robert
a1b09a0481
refactor: remove gogoproto stringer annotations (#14046) 2022-11-29 13:34:03 +00:00
Julien Robert
41f0ab15e6
refactor: remove gogoproto stringer annotations and MarshalYAML functions (#13850) 2022-11-28 12:56:00 +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
Julien Robert
0a8b037e78
feat(api): add authority as module parameter (#13712) 2022-10-31 18:51:43 +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
Amaury
c752ddda4f
refactor: Rename deterministic to module_query_safe (#13305) 2022-09-15 16:41:47 +02:00
Aaron Craelius
5deb137f7a
feat: add proto annotation for Msg services (#13178)
* feat: add proto annotation for Msg services

* add annotation to Msg services

* proto gen

* add CHANGELOG entry

* expand doc string

* codegen

* revert

* proto-gen

* revert
2022-09-14 09:27:45 +00:00
Julien Robert
6d0ef15b0a
refactor: migrate to cosmos/gogoproto (#13070) 2022-09-08 17:27:48 +00:00
Amaury
279f3f17a5
feat: Add proto annotation for deterministic queries (#13174)
* feat: Add proto annotation for deterministic queries

* Add comment

* Tweak comment

* protocgen

* Add gas
2022-09-08 13:33:40 +00:00
Marko
1ad3b29560
chore: proto image migrate to ghcr (#13168) 2022-09-07 12:03:00 +00:00
Jacob Gadikian
f848e4300a
fix: make proto-all & update versions for main 2022-07-26 11:27:10 +02:00
Jeancarlo Barrios
fc2897d3a9
feat(staking): migrate x/params away from x/staking (#12409)
## Description
Deprecate the usage of the now legacy x/params module within x/staking.

Closes: #12285



---

### 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-07-21 14:50:25 +00:00
Aaron Craelius
165e61270e
feat(x/staking): add app wiring support for StakingHooks (#12291)
## Description

Ref #12036 
Depends on app wiring for x/distribution getting merged first (#12292)



---

### 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-06-22 15:18:13 +00:00