Commit Graph

253 Commits

Author SHA1 Message Date
Đông Liều
0846f9a3c7
fix(x/gov): Do not call Remove during Walk (#24460)
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2025-04-15 16:54:51 +00:00
Alex | Interchain Labs
ed70bf336f
feat: custom gov tally fn (#24355)
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2025-04-07 12:51:09 +00:00
Alex | Interchain Labs
3c6deab626
chore: run modernize (#24356) 2025-04-03 10:42:20 -04:00
Alex | Interchain Labs
b7a20b81f6
chore: lint v2 (#24118) 2025-03-25 15:57:24 +00:00
Alex | Interchain Labs
7fd79df4e1
chore: fix all linting (#24101) 2025-03-21 15:04:36 -07:00
Alex | Interchain Labs
98f0f76e73
chore: lint fixes (#24084) 2025-03-20 16:20:39 -04:00
Alex | Interchain Labs
f5e8e517ab
chore: set up release/v0.53.x branch (#23660)
Co-authored-by: Zygimantas <5236121+Zygimantass@users.noreply.github.com>
Co-authored-by: Zygimantas <zygis@skip.build>
2025-02-12 15:48:20 -05:00
mergify[bot]
9c53142c92
feat(x/gov): emit depositor in proposal_deposit event (backport #19853) (#19859)
Co-authored-by: Kien <kien@notional.ventures>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-03-25 16:42:08 +00:00
mergify[bot]
a0faab3cb9
feat(x/gov): emit proposer address in submit proposal event (backport #19842) (#19844)
Co-authored-by: Aryan Tikarya <akaladarshi@gmail.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-03-24 21:23:00 +00:00
mergify[bot]
a877c47d47
fix(x/gov): grpc query tally for failed proposal (backport #19725) (#19727)
Co-authored-by: David Tumcharoen <david@alleslabs.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-03-12 12:04:27 +00:00
mergify[bot]
680f4c0a30
feat(x/gov): implement a minimum amount per deposit (backport #18146) (#18333)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Facundo <facundomedica@gmail.com>
2023-11-02 20:18:55 +01:00
mergify[bot]
ee589c81d4
feat(x/gov): limit deposited coins to accepted proposal denom (backport #18189) (#18192)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-10-20 18:30:20 +02:00
mergify[bot]
faca3c1ce4
refactor(x/gov)!: let hooks return an error (backport #18173) (#18174)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-10-19 15:55:41 +02:00
mergify[bot]
a05fc0d1d6
fix(x/gov): set default constitution in gov migration (backport #17953) (#17983)
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-10-06 08:34:40 +00:00
mergify[bot]
71c9b7675f
refactor(x/gov): remove gov vote and proposal based telemetry (backport #17910) (#17915)
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-09-27 19:37:56 +00:00
Julien Robert
e19fb38ff5
refactor: remove collections.ErrInvalidIterator when unecessary (#17367) 2023-08-17 09:05:39 +00:00
mergify[bot]
e76102f885
refactor: migrate away from using valBech32 globals (2/2) (backport #17157) (#17379)
Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-14 17:06:56 +02:00
mergify[bot]
5b0c08130c
feat(x/gov): Emit VoterAddr (backport #17354) (#17355)
Co-authored-by: Devon Bear <itsdevbear@berachain.com>
2023-08-11 08:06:59 +00:00
mergify[bot]
46be66ed42
refactor: remove global valaddress bech32 codec calls (1/2) (backport #17098) (#17149)
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-27 00:55:11 +02:00
mergify[bot]
983c9f7aec
chore: cherry-pick some inj changes (backport #17109) (#17110)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-24 13:36:24 +00:00
mergify[bot]
16ab635645
refactor(staking): use validator & address codecs in staking (backport #16958) (#17066)
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-19 16:02:28 +02:00
mergify[bot]
93a995ca0c
feat(gov): autocli query support (backport #16987) (#16999)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-14 09:43:56 +00:00
mergify[bot]
d2b61d0bf5
fix(query): filtered collections pagination (backport #16905) (#16991)
Co-authored-by: testinginprod <98415576+testinginprod@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-13 22:27:37 +00:00
mergify[bot]
939fa27625
chore: gov audit (secondary reviewer) (backport #16870) (#16878)
Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com>
2023-07-07 14:06:44 +02:00
mergify[bot]
981c294d1d
refactor(types)!: cherry-pick sdk collections key changes from #16440 (#16854)
Co-authored-by: testinginprod <98415576+testinginprod@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-06 11:00:32 +00:00
mergify[bot]
73aa872155
chore: x/gov Audit changes (backport #16822) (#16844)
Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
2023-07-05 17:31:08 +02:00
mergify[bot]
565b1e9809
fix: delete all votes when proposal is cancelled (backport #16824) (#16837)
Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
2023-07-05 10:56:42 +02:00
mergify[bot]
d9c53bfefc
refactor!: remove types/math aliases (backport #16798) (#16803)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-30 19:56:38 +02:00
mergify[bot]
9f4a4e416f
build(deps): use hashicorp/go-metrics instead of armon/go-metrics (backport #16790) (#16800)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-30 15:27:05 +00:00
Julien Robert
c452721442
style: add gci linter (#16758)
Co-authored-by: Jacob Gadikian <faddat@users.noreply.github.com>
2023-06-29 09:46:37 +00:00
mergify[bot]
9f7a16080a
refactor(x/staking)!: KVStoreService, return errors and use context.Context (backport #16324) (#16598)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Facundo Medica <facundomedica@gmail.com>
2023-06-19 11:40:27 -03:00
Julien Robert
3608dabf77
chore: implement feedback of automerged prs (#16308) 2023-05-26 10:42:18 +00:00
testinginprod
b62a28aac0
refactor(gov)!: finalize collections migration (#16268)
Co-authored-by: unknown unknown <unknown@unknown>
2023-05-26 09:49:12 +00:00
Aaron Craelius
82659a7477
refactor!: deprecate sdk.Msg.GetSigners (#15284)
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
2023-05-25 18:35:09 +00:00
Julien Robert
2c702e6563
feat(gov,group): improve metadata checks and add docs (#16235) 2023-05-22 11:54:42 +00:00
Marko
c8ab555174
refactor(bech32): remove embedding of addresscodec (#16197) 2023-05-22 10:20:45 +00:00
Likhita Polavarapu
b20bd5d932
test(x/gov): write integration tests (#16194) 2023-05-19 09:42:33 +00:00
testinginprod
91d14c04ac
refactor(gov)!: use collections for Proposal state management (part 1) (#16171)
Co-authored-by: unknown unknown <unknown@unknown>
2023-05-16 09:55:08 +00:00
testinginprod
deba79d7aa
refactor(gov)!: use collections for Vote state management. (#16164)
Co-authored-by: unknown unknown <unknown@unknown>
2023-05-16 03:42:03 +00:00
testinginprod
71468d2d5a
refactor(gov)!: use collections for deposit state management (#16127)
Co-authored-by: unknown unknown <unknown@unknown>
2023-05-15 15:58:56 +00:00
testinginprod
f7418c6db2
refactor(gov)!: use collections for constitution and params state (#16118)
Co-authored-by: unknown unknown <unknown@unknown>
2023-05-12 08:15:37 +00:00
testinginprod
3185542a7a
refactor(gov)!: decouple gRPC query methods from Keeper (#16106)
Co-authored-by: unknown unknown <unknown@unknown>
2023-05-11 16:04:46 +00:00
bjwswang
250c478543
refactor: duplicate message verification at msg server and keeper (#16098)
Signed-off-by: bjwswang <bjwswang@gmail.com>
2023-05-11 10:43:48 +00:00
Marko
044fe13789
refactor(math)!: remove aliases in math (#16040)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-05-07 17:25:59 +00:00
Facundo Medica
4f00acfc24
refactor(x/gov)!: Use KVStoreService, context.Context, return errors, better iterators (#15988)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-05-05 10:13:56 +00:00
samricotta
e77156858f
refactor(staking, slashing, signing, misc): remove aliases from types/math.go (#15902) 2023-04-25 08:55:17 +00:00
atheeshp
debf1fa4d2
refactor(x/gov): move ValidateBasic to msg server (#15832)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-04-17 15:31:59 +00:00
Julien Robert
e4dbf1b7b4
refactor(auth,vesting): move ValidateBasic logic to msgServer (#15786) 2023-04-12 14:37:06 +00:00
Julien Robert
df161c214c
feat: optional validate basic (#15735) 2023-04-07 13:13:15 +00:00
Marko
90e2a2ae89
style: linting (#15704)
## Description

closing in on completion of linting

---

### 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)
2023-04-06 23:25:23 +00:00