Commit Graph
439 Commits
Author SHA1 Message Date
Likhita Polavarapu 3e07c80ebc refactor(x/staking): Migrate LastValidatorPower to Collections (#17498) 2023-08-30 21:21:40 +00:00
Likhita PolavarapuandFacundo Medica 3ed40a925c refactor(x/staking): Migrate UnbondingDelegationByValIndex to use collections (#17291)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2023-08-30 09:21:10 +00:00
Likhita Polavarapu 6ed81a737c refactor(x/staking): migrate UnbondingQueue to collections (#17481) 2023-08-29 07:15:22 +00:00
Likhita Polavarapu 70b3e85781 refactor(x/staking): Migrate Validators to use Collections (#17123) 2023-08-28 14:56:14 +00:00
Likhita Polavarapu a734071c05 refactor(x/staking): Migrate UnbondingDelegation to collections (#17270) 2023-08-28 08:38:11 +00:00
David TerpayandAleksandr Bezobchuk bb0c866193 fix(baseapp): Utilizing voting power from VEs in ValidateVoteExtensions (#17518)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-08-25 17:52:35 +00:00
atheeshp 76a72ceb9d refactor(x/staking): migrate RedelegationByValDstIndexKey key to collections (#17336) 2023-08-23 04:57:47 +00:00
atheeshp 222d28e179 refactor(x/staking): migrate RedelegationByValSrcIndexKey key to collections (#17332) 2023-08-22 07:00:23 +00:00
atheeshp 09db6997c5 refactor(x/staking): migrate redelegation key to use collections (#17315) 2023-08-17 10:32:10 +00:00
fx0x55 53f804df73 perf: use store has instead of get in HistoricalInfo (#17400) 2023-08-16 07:26:14 +00:00
Markoandmarbar3778 e60c583d28 refactor: migrate away from using valBech32 globals (2/2) (#17157)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-08-14 08:04:24 +00:00
Markoandmarbar3778 266edc0a93 refactor: remove staking infraction type dep from evidence and slashing (#17335)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-08-12 15:45:41 +00:00
atheeshp f907a27d31 refactor(x/staking): migrate delegation key to collections (#17162) 2023-08-09 07:15:12 +00:00
Likhita Polavarapu f04fefdc7a refactor(x/staking): Migrate UnbondingIndex to use collections (#17288) 2023-08-08 10:27:19 +00:00
Facundo MedicaandAleksandr Bezobchuk c3ae0b09d4 fix: ValidatorStore interface doesn't match StakingKeeper (#17164)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-08-03 22:53:05 +00:00
Likhita Polavarapu 92dffb5fa8 refactor(x/staking): Migrate UnbondingID to collections (#17256) 2023-08-03 12:50:16 +00:00
atheeshp 9443fc1051 refactor(x/staking): migrate ValidatorByConsAddr key to collections (#17260) 2023-08-03 11:31:14 +00:00
Likhita Polavarapu a7977b8633 refactor(x/staking): migrate UnbondingType to collections (#17248) 2023-08-03 10:11:23 +00:00
atheeshp 257d3e5e7c refactor(x/staking): migrate delegations by validator to use collections (#17155) 2023-07-28 08:46:12 +00:00
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
atheeshp c74e2887b0 refactor(x/staking): migrate historicalInfo to use collections (#17063) 2023-07-25 09:05:26 +00:00
Julien Robert 5442197d6b chore: cherry-pick some inj changes (#17109) 2023-07-24 13:07:06 +00:00
Devon Bear bf9f85a2d9 refactor(x/staking): Use ValidatorAddrCodec (#17095) 2023-07-23 21:31:16 +00:00
Likhita Polavarapu 535d711e7f refactor(x/staking): migrate ValidatorUpdates to collections (#17062) 2023-07-20 06:49:40 +00:00
Marko c23505b037 refactor(staking): use validator & address codecs in staking (#16958) 2023-07-19 11:01:32 +00:00
Likhita Polavarapu 1a986f015a refactor: migrate LastTotalPower to use collections in x/staking (#17026) 2023-07-17 16:10:03 +00:00
Julien RobertandFacundo Medica e0be2b80fc feat(staking)!: add consensus and validator address codec in staking (#16959)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2023-07-13 09:08:27 +00:00
Robert ZarembaandJulien Robert bc4ccab74b refactor(types)!: remove IntProto and DecProto (#16918)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-12 22:16:28 +00:00
atheeshpandAleksandr Bezobchuk 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 ae39e8e631 build(deps): use hashicorp/go-metrics instead of armon/go-metrics (#16790) 2023-06-30 14:21:57 +00:00
Julien Robert 02b7607768 feat(auth,client/v2): add validator address codec (#16768) 2023-06-30 09:44:28 +00:00
Jacob Gadikian 8d4ff7a19a style: bump golangci-lint (#16667) 2023-06-23 12:49:34 +00:00
Jacob Gadikian 6afece635c style: add gci linter (#16605) 2023-06-22 15:35:51 +00:00
Facundo MedicaandAleksandr Bezobchuk 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
atheeshp dcac757a04 chore: remove x/gov module dependencies in x/staking (#16567) 2023-06-15 17:17:37 +00:00
Matt Kocubinski fe458e0686 refactor(x/auth): rm dependency on x/staking (#16545) 2023-06-15 08:34:53 +00:00
Marko c8ab555174 refactor(bech32): remove embedding of addresscodec (#16197) 2023-05-22 10:20:45 +00:00
MSalopek b28c50fdd2 fix: call AfterUnbondingInitiated for new unbonding entries only (#16043) 2023-05-11 09:46:48 +00:00
MarkoandJulien Robert 044fe13789 refactor(math)!: remove aliases in math (#16040)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-05-07 17:25:59 +00:00
Likhita Polavarapu 672b1f9e15 test(x/staking): write integration tests (#15890) 2023-05-02 20:01:19 +00:00
samricotta e77156858f refactor(staking, slashing, signing, misc): remove aliases from types/math.go (#15902) 2023-04-25 08:55:17 +00:00
7b5602492c refactor: add delegations by validator index (#15731)
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-04-24 14:14:09 +00:00
Likhita Polavarapu 7132a7624e refactor(staking): add missing msgServer tests and move ValidateBasic() logic to msgServer (#15820) 2023-04-14 14:54:29 +00:00
Marko 8d6c23faa4 feat: add endblocker with valsetupdate type (#15829) 2023-04-14 09:41:29 +00:00
Andrey Petrovich 491cf3babe refactor(staking)!: binary format for HistoricalInfoKey (#15701)
## Description

Closes: #11463



---

### 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-13 07:21:54 +00:00
Marko 7f0e05ebb9 refactor(staking): remove account address bech32 global (#15598) 2023-04-02 21:53:59 +02:00
Julien Robert aeaa301506 feat: integration test helpers (#15556) 2023-03-31 18:02:15 +00:00
Jacob Gadikian a9546bfad0 style: apply any / all automated lint fixes (#15644) 2023-03-31 13:48:41 +02:00
Marko a5ad307ae6 refactor: migrate consensus to collections (#15553) 2023-03-28 20:41:12 +00:00