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(x/gov): remove ability for validators to add votes #10

Merged
merged 5 commits into from
Feb 13, 2024

Conversation

giunatale
Copy link
Collaborator

Description

Closes: #7


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, client, or state breaking change (i.e., requires minor or major version bump)
  • Targeted the correct branch (see PR Targeting)
  • Provided a link to the relevant issue or specification
  • Followed the guidelines for building SDK modules
  • Included the necessary unit and integration tests
  • Added a changelog entry in .changelog (for details, see contributing guidelines)
  • 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

@giunatale giunatale force-pushed the giunatale/feat/gov-vals-no-voting branch from c46b682 to 335beb8 Compare February 12, 2024 17:09
@giunatale giunatale linked an issue Feb 12, 2024 that may be closed by this pull request
@giunatale giunatale force-pushed the giunatale/feat/gov-vals-no-voting branch from 21aefa0 to 335beb8 Compare February 12, 2024 17:36
Copy link
Collaborator

@tbruyelle tbruyelle left a comment

Choose a reason for hiding this comment

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

LGTM, the Tally() method could probably be simplified a lot given that feature, which would make it cheaper to run.

@tbruyelle
Copy link
Collaborator

One question before merging, don't you think this should only apply to text proposals? I'm afraid we'll have trouble getting a quorum for param changes and upgrade proposals if validators can't vote with their delegation power.

CHANGELOG.md Outdated
@@ -12,5 +12,7 @@

### FEATURES

### STATE BREAKING
* Forked `x/gov` module from Cosmos SDK v0.46.16 for custom moficiations.
* Removed ability for validators to vote on proposals.
Copy link
Collaborator

Choose a reason for hiding this comment

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

We should add a link to the related PR

Copy link
Collaborator

Choose a reason for hiding this comment

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

done

@giunatale
Copy link
Collaborator Author

Let's merge for now. I understand what you are saying though. Maybe worth tracking this with an issue!

@giunatale giunatale merged commit eefd7ed into feat/custom-gov-module Feb 13, 2024
12 of 13 checks passed
@giunatale giunatale deleted the giunatale/feat/gov-vals-no-voting branch February 13, 2024 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat(gov): remove ability to vote for validators in govgen
2 participants