Commit Graph
31 Commits
Author SHA1 Message Date
Likhita Polavarapu 9dd34510e2 feat: Move CommunityPool to its own module (#17657) 2023-09-27 09:09:04 +00:00
Marko d5c78a637e chore: remove params dep from crisis, gov and mint (#17837) 2023-09-22 09:35:20 +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
atheeshp 28112706b7 refactor: migrate x/staking Params to use collections (#17778) 2023-09-18 16:06:42 +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
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
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
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
Likhita Polavarapu b20bd5d932 test(x/gov): write integration tests (#16194) 2023-05-19 09:42:33 +00:00
testinginprodandunknown unknown 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
testinginprodandunknown unknown 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
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
Facundo MedicaandJulien Robert 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
Marko 8d6c23faa4 feat: add endblocker with valsetupdate type (#15829) 2023-04-14 09:41:29 +00:00
Julien Robert 80dd55f79b refactor: rename to CometBFT (#14914) 2023-02-06 18:11:14 +00:00
Julien Robert 41a3dfeced refactor!: migrate Cosmos SDK to CometBFT (#14897) 2023-02-05 14:51:33 +01:00
Julien Robert 4251905d56 feat!: upstream expedited proposals (#14720) 2023-02-03 00:25:28 +01:00
Likhita Polavarapu d3cb26522a chore: Replace testify with gotest.tools in gov integration tests (#14501) 2023-01-09 11:22:41 +01:00
Marko 08361d5ff8 refactor: add title, summary and proposer to proposal struct of gov (#14390) 2022-12-26 23:24:08 +00:00
Matt Kocubinski 184235e1a8 refactor: create go.mod for simapp (#13130)
* Add go.mod for simapp

* creating dep check script

* new version of cosmos-sdk

* tests/ must be a module also if it is to test simapp

* maybe add a github action which should fail

* mv tests/mocks -> testutil/mock

* Refactor usages of tests/mocks

* update build command

* fix rosetta tests

* go mod tidy

* use cosmossdk.io/simapp

* Update sim entrypoints

* use simapp as a module

* go mod tidy

* Add replaced for vuln package

* fix vuln dep

* this CI run should fail

* this CI run should succeed

* use absolute path in makefile
2022-09-07 18:14:22 +00:00
Amaury fc7ee0bf1e test(gov): Refactor x/gov keeper tests to use mocks (#12988)
## Description

ref: #12752 

- [x] Move some keeper tests into `tests/integration/gov/keeper`, see https://github.com/cosmos/cosmos-sdk/pull/12988#discussion_r954956199
- [x] Don't use simapp in `x/gov/keeper` tests, use mocks instead
- [x] Find 0 "simapp" occurence in x/gov/keeper. (Note: other occurrences of simapp are removed in  #13043)



---

### 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/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)
2022-08-25 20:15:44 +00:00