Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: deprecate x/params usage in x/gov #12631

Merged
merged 47 commits into from
Aug 1, 2022
Merged

feat: deprecate x/params usage in x/gov #12631

merged 47 commits into from
Aug 1, 2022

Conversation

atheeshp
Copy link
Contributor

@atheeshp atheeshp commented Jul 19, 2022

Description

Closes: #12495


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 in the PR title
  • added ! to the type prefix if API or client breaking change
  • targeted the correct branch (see PR Targeting)
  • provided a link to the relevant issue or specification
  • followed the guidelines for building modules
  • included the necessary unit and integration tests
  • added a changelog entry to CHANGELOG.md
  • included comments for documenting Go code
  • 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 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)

@github-actions github-actions bot added the C:x/distribution distribution module related label Jul 20, 2022
@atheeshp atheeshp requested a review from amaury1093 July 20, 2022 13:47
@atheeshp atheeshp marked this pull request as ready for review July 20, 2022 13:57
@atheeshp atheeshp requested a review from a team as a code owner July 20, 2022 13:57
x/gov/types/v1/params.go Fixed Show fixed Hide fixed
Copy link
Member

@tac0turtle tac0turtle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to figure out what to do with the proto file as this breaks versioning and may constitute a new version or reserving number spaces

Copy link
Member

@tac0turtle tac0turtle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AACK

@github-actions github-actions bot added the C:x/genutil genutil module issues label Jul 27, 2022
@amaury1093 amaury1093 self-assigned this Jul 27, 2022
Copy link
Contributor

@amaury1093 amaury1093 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM overall, I just think the migration version should be v4

proto/cosmos/gov/v1/genesis.proto Show resolved Hide resolved
proto/cosmos/gov/v1/gov.proto Outdated Show resolved Hide resolved
proto/cosmos/gov/v1/query.proto Show resolved Hide resolved
x/distribution/types/msg.go Show resolved Hide resolved
x/gov/types/v1/params.go Outdated Show resolved Hide resolved
x/gov/types/v1/params.go Show resolved Hide resolved
x/gov/types/v1/codec.go Outdated Show resolved Hide resolved
x/gov/types/keys.go Show resolved Hide resolved
x/gov/module.go Outdated Show resolved Hide resolved
x/gov/migrations/v3/store_test.go Show resolved Hide resolved
Copy link
Member

@julienrbrt julienrbrt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

x/gov/client/testutil/query.go Show resolved Hide resolved
x/gov/keeper/keeper.go Show resolved Hide resolved
x/gov/migrations/v3/store.go Outdated Show resolved Hide resolved
Copy link
Contributor

@amaury1093 amaury1093 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

x/gov/migrations/v3/keys.go Outdated Show resolved Hide resolved
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
@amaury1093 amaury1093 added the A:automerge Automatically merge PR once all prerequisites pass. label Aug 1, 2022
@mergify mergify bot merged commit 30c5f20 into main Aug 1, 2022
@mergify mergify bot deleted the ap/gov-params branch August 1, 2022 16:53
larry0x pushed a commit to larry0x/cosmos-sdk that referenced this pull request May 22, 2023
## Description

Closes: cosmos#12495



---

### 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:automerge Automatically merge PR once all prerequisites pass. C:CLI C:Simulations C:x/distribution distribution module related C:x/genutil genutil module issues C:x/gov C:x/params
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

remove param module from gov
7 participants