Facundo Medica
864e9f16a3
refactor(x/bank,x/distr,x/feegrant)!: reduce auth keeper dependency ( #21651 )
2024-10-09 20:00:09 +00:00
Julien Robert
6276b015bb
chore: fix all lint issue since golangci-lint bump ( #21326 )
2024-08-16 13:03:24 +00:00
Facundo Medica
0fda53f265
feat(x/protocolpool,x/distribution)!: remove dependency + fix continuous fund bug ( #20790 )
2024-07-24 15:07:50 +00:00
Julián Toledano
65925410c8
refactor(x/distribution)!: remove Accounts.String() ( #19868 )
...
Co-authored-by: son trinh <trinhleson2000@gmail.com>
2024-03-27 00:55:13 +00:00
Julien Robert
e4d97090d8
test: move slash redelegation test to integration ( #19581 )
2024-02-28 10:09:38 +00:00
Likhita Polavarapu
38f40c42f2
refactor: remove panic usage in keeper methods ( #18636 )
2023-12-12 09:51:23 +00:00
Marko
a7ececc34d
refactor(staking): move delegation and validator interfaces to ./types ( #18198 )
...
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2023-11-30 21:18:42 +00:00
Marko
2a6640d488
refactor(staking): add go.mod ( #18257 )
2023-10-26 07:39:34 +00:00
Marko
4352ab1f34
refactor(distribution): spin out go.mod ( #18199 )
2023-10-24 15:13:04 +00:00
Likhita Polavarapu
9dd34510e2
feat: Move CommunityPool to its own module ( #17657 )
2023-09-27 09:09:04 +00:00
Facundo Medica
60605de779
refactor(x/distribution)!: migrate to collections ( #17115 )
...
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-31 08:41:22 +00:00
Marko
58855c6859
refactor: remove global valaddress bech32 codec calls (1/2) ( #17098 )
...
Co-authored-by: Devon Bear <itsdevbear@berachain.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-26 19:01:21 +00:00
Marko
c23505b037
refactor(staking): use validator & address codecs in staking ( #16958 )
2023-07-19 11:01:32 +00:00
Jacob Gadikian
6afece635c
style: add gci linter ( #16605 )
2023-06-22 15:35:51 +00:00
Facundo Medica
1be7d9805e
refactor(x/staking)!: KVStoreService, return errors and use context.Context ( #16324 )
...
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-06-16 18:40:44 +00:00
testinginprod
0529dbcd20
refactor(distribution)!: use collections for ValidatorOutstandingRewards state management ( #16590 )
...
Co-authored-by: unknown unknown <unknown@unknown>
2023-06-16 13:54:20 +00:00
testinginprod
99913cdce0
refactor(distribution)!: use collections for validator accumulated commission state ( #16571 )
...
Co-authored-by: unknown unknown <unknown@unknown>
2023-06-15 14:12:42 +00:00
testinginprod
f851e188b3
refactor(distribution)!: make FeePool state use collections ( #16302 )
...
Co-authored-by: unknown unknown <unknown@unknown>
2023-05-26 09:51:37 +00:00
samricotta
2843261161
refactor(distribution)!: use collections for params state ( #16211 )
2023-05-22 19:51:24 +00:00
Marko
c8ab555174
refactor(bech32): remove embedding of addresscodec ( #16197 )
2023-05-22 10:20:45 +00:00
Facundo Medica
428e19f4f0
refactor(x/distribution)!: Use KVStoreService, context.Context and return errors instead of panic ( #15948 )
2023-04-27 13:26:51 +00:00
Likhita Polavarapu
495ef01f71
test(x/distribution): write integration tests ( #15569 )
...
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-04-13 10:05:59 +00:00
Marko
e2a8f7ca32
refactor(distribution): remove global bech32 ( #15684 )
...
## Description
ref #13140
remove global bech32 in distribution
---
### 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-05 14:14:51 +00:00
Facundo Medica
4a6a1e3cb8
refactor: fix lint issues + gofumpt ( #15062 )
2023-02-19 10:31:49 +00:00
Likhita Polavarapu
7559d9ecd3
refactor: create go.mod for store ( #14746 )
...
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-01-25 13:31:56 +00:00
Sai Kumar
65fff07a34
feat(cli/api): add validator distribution info grpc gateway get endpoint ( #13144 )
2022-09-05 15:01:01 +00:00
JooHyung Kim
5f9e7e6ea6
refactor: x/distr module create querier ( #12829 )
...
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2022-08-05 17:17:24 +02:00
atheeshp
5ef43f4919
feat: deprecate x/params usage in x/distr ( #12434 )
2022-07-08 09:47:34 -04:00
Facundo Medica
92d24cc69c
refactor: Use GenericFilteredPaginate wherever possible ( #12386 )
2022-06-30 08:36:20 -04:00
Jacob Gadikian
55054282d2
chore: gofumpt ( #11839 )
...
* fumpt using main not master...
* be more descriptive
* fumpt
* fix nits
Co-authored-by: Julien Robert <julien@rbrt.fr>
2022-05-19 10:55:27 +02:00
Robert Zaremba
be4a965599
codec: Rename codec and marshaler interfaces ( #9226 )
...
* codec: Rename codec and marshaler interfaces, ref: 8413
* codec: remove BinaryBare
* changelog update
* Update comments and documentation
* adding doc string comments
* Update CHANGELOG.md
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update codec/codec.go
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2021-04-29 10:46:22 +00:00
Amaury Martiny
33e7297c79
Use enum instead of int32 for BondStatus ( #7499 )
...
* Migrate staking module
* Add gov legacy
* Add comments
* Add x/distrib
* x/crisis
* x/mint
* Fix test
* migrate x/genutil
* Fix lint
* Fix staking constants
* Fix test
* Update x/genutil/legacy/v040/migrate.go
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
* Add migrate script instead of change BondStatus constants
* Change staking bondStatus to enum
* Fix test
* Fix another test
* Remove staking exported
* fix references
* Better constants
* Fix build
* Fix lint
* Remove buf version
* Fix tests
* Fix test
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2020-10-12 13:56:02 +00:00
Anil Kumar Kammari
d55c1a2665
Change address from bytes to bech32 strings ( #7242 )
...
* init
* Fix bank proto messages
* missing conversions
* remove casttype for addresses
* Fix tests
* Fix consaddress
* more test fixes
* Fix tests
* fixed tests
* migrate missing proto declarations
* format
* Fix format
* Fix alignment
* Fix more tests
* Fix ibc merge issue
* Fix fmt
* Fix more tests
* Fix missing address declarations
* Fix staking tests
* Fix more tests
* Fix config
* fixed tests
* Fix more tests
* Update staking grpc tests
* Fix merge issue
* fixed failing tests in x/distr
* fixed sim tests
* fixed failing tests
* Fix bugs
* Add logs
* fixed slashing issue
* Fix staking grpc tests
* Fix all bank tests :)
* Fix tests in distribution
* Fix more tests in distr
* Fix slashing tests
* Fix statking tests
* Fix evidence tests
* Fix gov tests
* Fix bug in create vesting account
* Fix test
* remove fmt
* fixed gov tests
* fixed x/ibc tests
* fixed x/ibc-transfer tests
* fixed staking tests
* fixed staking tests
* fixed test
* fixed distribution issue
* fix pagination test
* fmt
* lint
* fix build
* fix format
* revert tally tests
* revert tally tests
* lint
* Fix sim test
* revert
* revert
* fixed tally issue
* fix tests
* revert
* fmt
* refactor
* remove `GetAddress()`
* remove fmt
* revert fmt.Striger usage
* Fix tests
* Fix rest test
* disable interfacer lint check
* make proto-format
* add nolint rule
* remove stray println
Co-authored-by: aleem1314 <aleem.md789@gmail.com>
Co-authored-by: atheesh <atheesh@vitwit.com>
2020-09-25 10:25:37 +00:00
Amaury Martiny
69bbb8b327
Rename proto Req/Res to Pagination ( #6796 )
...
* Rename proto Req to Pagination
* Change Res to Pagination
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-07-20 16:51:16 +00:00
billy rennekamp
cde3f46d52
Add validation to prevent empty store keys ( #6754 )
...
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-07-20 18:05:01 +02:00
atheeshp
be111ef036
x/distribution: gRPC query service ( #6600 )
...
* WIP: adding grpc
* added grpc for query withdraw address
* Fix outstanding rewards query
* added inteerface registry
* added gRPC for delegation rewards
* added remaining commands
* lint issue
* added tests
* added test for community pool
* fixed error
* added test for delegator validators
* updated to use test suite
* updated tests
* more test checks added
* updated tests
* Add sdk wrap
* removed pagination for outstanding rewards
* fixed distr tests issue
* fixed slashes issue
* migrated tests to table driven tests
* docs updated
* review changes
* review changes
* review changes
* Update x/distribution/keeper/grpc_query.go
Co-authored-by: sahith-narahari <sahithnarahari@gmail.com>
Co-authored-by: anilCSE <anil@vitwit.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-07-13 20:01:16 +00:00