Commit Graph
67 Commits
Author SHA1 Message Date
Markoandcoderabbitai[bot] 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
Carlos Santiago Yanzon 346044afd0 feat: extra checks on signatures/pubkeys + check the signature first in antehandle (#18194) 2023-11-07 13:15:11 +00:00
Emmanuel T Odeke 05261cc46e refactor(x/auth): spin out go.mod (#18351) 2023-11-07 11:42:58 +00:00
Marko 7bef0227f9 refactor(mint): new go module (#18283) 2023-10-28 07:09:48 +00:00
Marko 21e69bad04 refactor(bank): add go module (#18279) 2023-10-27 09:25:04 +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
atheeshp 3a8f114327 feat: add required params for cons pubkey rotation (#18142) 2023-10-18 13:06:59 +00:00
Marko 076ab3bf89 chore: remove staking and distr param dependence (#17834) 2023-09-22 07:56:06 +00:00
Marko 79a64d07d0 chore!: remove params from slashing and auth (#17820) 2023-09-21 14:26:35 +00:00
Marko 5987d0003a chore!: remove bank & genutil legacy migrations (#17818) 2023-09-21 10:33:14 +00:00
Marko 86ab9890b8 chore: amend validator to validators (#17809) 2023-09-19 12:34:13 +00:00
MarkoandAleksandr Bezobchuk 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
atheeshp 28112706b7 refactor: migrate x/staking Params to use collections (#17778) 2023-09-18 16:06:42 +00:00
Marko 6615ff4f76 refactor!: deprecate blocktime on context (#17738) 2023-09-18 13:55:21 +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
Julien Robert 5839c3a600 chore: bump golangci-lint to v1.54.2 (#17538) 2023-08-25 14:07:24 +00:00
Markoandmarbar3778 393dcc1f2a refactor: remove header type from NewContext (#17426)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-08-21 16:29:20 +00:00
atheeshp 09db6997c5 refactor(x/staking): migrate redelegation key to use collections (#17315) 2023-08-17 10:32:10 +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
Julien Robert 77be10bd95 refactor: remove collections.ErrInvalidIterator when unecessary (#17364) 2023-08-11 14:32:17 +00:00
atheeshp f907a27d31 refactor(x/staking): migrate delegation key to collections (#17162) 2023-08-09 07:15:12 +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
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
Marko c23505b037 refactor(staking): use validator & address codecs in staking (#16958) 2023-07-19 11:01:32 +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
ruthishvitwit fd7e549a3c chore: enable errcheck linter (#16406) 2023-07-12 08:58:27 +00:00
Jacob Gadikian f0aec3f30d style: use thelper (#16777) 2023-07-03 13:33:05 +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 f8c8de4614 refactor: use appmodule.AppModule in integration helpers (#16755) 2023-06-29 08:16:17 +00:00
256e37c523 feat(auth): make address codec pluggable (#16621)
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-28 11:57:26 +00:00
Jacob Gadikian 6afece635c style: add gci linter (#16605) 2023-06-22 15:35:51 +00:00
testinginprodandunknown unknown 43d345dc2f refactor(distribution)!: use collections for ValidatorHistoricalRewards state (#16607)
Co-authored-by: unknown unknown <unknown@unknown>
2023-06-22 08:47:21 +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
testinginprodandunknown unknown b3da8bb4e8 refactor(distribution)!: use collections for DelegatorStartingInfo state (#16483)
Co-authored-by: unknown unknown <unknown@unknown>
2023-06-14 10:39:11 +00:00
Matt Kocubinski bbb452f609 refactor(x/staking): rm dependency on x/distribution (#16531) 2023-06-13 20:16:20 +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
Facundo Medica 6dfe7351a5 refactor!: use KVStoreService and context.Context in x/bank (#15891) 2023-04-26 10:12:47 +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
Facundo MedicaandJulien Robert af3122aa6c feat!: Provide logger through depinject (#15818)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-04-24 09:42:55 +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
Julien Robert c3b1b37e49 test: remove api that should not be used (#15678) 2023-04-03 21:57:11 +00:00
Jacob Gadikian 8c182e7d77 style: lints for core, math, simapp, and tests (#15638) 2023-03-31 09:30:29 +02:00
Jacob GadikianandJulien Robert b009a75eea style: make lint-fix everything (#15631)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-03-30 17:27:39 +00:00