Commit Graph
787 Commits
Author SHA1 Message Date
Julien Robert c6b0bb62ac refactor(client): use address codec (#17503) 2023-08-23 10:43:47 +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
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
Julien Robert 77be10bd95 refactor: remove collections.ErrInvalidIterator when unecessary (#17364) 2023-08-11 14:32:17 +00:00
fx0x55 840482f50d perf: use store has instead of get in HasValidatorSigningInfo (#17359) 2023-08-11 10:36:40 +00:00
Likhita Polavarapu 8035b5b524 refactor(x/slashing): migrate AddrPubkeyRelation to collections (#17044) 2023-08-10 08:08:56 +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
Facundo Medica 974abde0c4 fix(x/slashing): ValidatorSignInfo migration to collections was missing length prefix (#17127) 2023-07-25 15:50:38 +00:00
Marko c23505b037 refactor(staking): use validator & address codecs in staking (#16958) 2023-07-19 11:01:32 +00:00
Likhita Polavarapu a61e11ebab refactor(x/slashing): migrate ValidatorSigningInfo to collections (#17023) 2023-07-18 16:15:33 +00:00
Jeancarlo BarriosandJulien Robert f7a4add63c feat(slashing): autocli query config (#16659)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-15 06:46:40 +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
Marko dab97ed352 chore: remove unused getsigner functions (#16937) 2023-07-12 15:09:02 +00:00
ruthishvitwit fd7e549a3c chore: enable errcheck linter (#16406) 2023-07-12 08:58:27 +00:00
Facundo Medica ebe97e5e12 fix: Revert 16794 (#16895) 2023-07-10 07:45:48 +00:00
Facundo MedicaandAleksandr Bezobchuk 0fd6227a06 fix: remove setting of finalizeBlockState in FinalizeBlock + fix initialHeight + add ProcessProposal in tests/sims (#16794)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-07-06 13:33:10 +00:00
samricottaandmarbar3778 5931f1e65e refactor(slashing)!: use collections for params state (#16441)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-07-06 07:12:11 +00:00
Julien Robert 8c72f66396 refactor!: remove types/math aliases (#16798) 2023-06-30 17:09:03 +00:00
Facundo Medica 3702dfc8aa fix(x/slashing): Emit slashing event with the correct reason in SlashWithInfractionReason (#16784) 2023-06-30 10:45:30 +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
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
MarkoandAleksandr Bezobchuk 5097b0c226 refactor(test): remove header dependence from tests (#16342)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-05-31 15:42:23 +00:00
Matt Kocubinski 737dcfd1a2 refactor!: rm GetSignBytes (#16062) 2023-05-30 19:34:35 +00:00
Facundo Medica 903d99e707 refactor(x/slashing)!: use kvStoreService, context.Context and return errors (#16246) 2023-05-30 09:45:18 +00:00
testinginprodandunknown unknown 0e34478eb7 refactor(mint)!: migrate state management to collections (#16329)
Co-authored-by: unknown unknown <unknown@unknown>
2023-05-30 09:12:45 +00:00
6cee22df52 feat!: Comet v0.38 Integration (#15519)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: cool-developer <51834436+cool-develope@users.noreply.github.com>
Co-authored-by: Aaron Craelius <aaron@regen.network>
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-05-24 16:09:19 +00:00
Julien Robert 166be3766b chore: make params module optional in app wiring (#16269) 2023-05-24 11:54:07 +00:00
Matt Kocubinski 4c85b6a341 refactor(simulations): marshal OperationMsg.Msg as protoBytes (#16155) 2023-05-15 17:38:32 +00:00
Likhita Polavarapu 3936030e16 test(x/slashing): write integration tests (#15928) 2023-04-28 07:58:35 +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
Facundo Medica 6dfe7351a5 refactor!: use KVStoreService and context.Context in x/bank (#15891) 2023-04-26 10:12:47 +00:00
97e4978f0f feat: update the slashing and evidence modules to work with ICS (#15908)
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Jacob Gadikian <faddat@users.noreply.github.com>
2023-04-25 16:34:44 +00:00
samricotta e77156858f refactor(staking, slashing, signing, misc): remove aliases from types/math.go (#15902) 2023-04-25 08:55:17 +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
Julien Robert d2d6d0abd6 test(sims): fix sim-import-export and improve sims (#15835) 2023-04-20 19:12:25 +00:00
Aaron Craelius 654f26e55c fix!: correctly annotate validator and consensus address fields (#15710) 2023-04-20 16:55:13 +00:00
Julien Robert c0eade17fe test: fix module cli tests (#15882) 2023-04-19 14:24:07 +00:00
Mark Rushakoff 7b10ada768 refactor!: instantiate client.TxConfig once for simulations (#15875) 2023-04-19 12:47:27 +00:00
Marko 8d6c23faa4 feat: add endblocker with valsetupdate type (#15829) 2023-04-14 09:41:29 +00:00
Marko 37032fb948 chore: linting (#15813) 2023-04-12 12:36:42 +00:00
Julien Robert c045a00529 refactor(slashing): move ValidateBasic logic to msgServer (#15793) 2023-04-11 22:03:51 +00:00
Aleksandr Bezobchuk 4684c854d4 refactor!: x/slashing missed block window (#15580) 2023-04-10 16:58:41 +00:00
Mark Rushakoff 7a92fd0f1f refactor: create TxConfig directly in simulations (#15749) 2023-04-08 00:40:24 +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
Marko 38c7c948f5 style: various linting fixes (#15675)
## Description

fix various linting issues

---

### 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-03 17:00:44 +00:00
Jacob Gadikian a9546bfad0 style: apply any / all automated lint fixes (#15644) 2023-03-31 13:48:41 +02:00