cosmos-sdk/x/gov/keeper
Facundo Medica 0282cfe71e
test: regression test on VotingPeriodProposalKey deletion (#15368)
## Description

Follow up to #15356 adding a test in which we activate the voting period, delete the proposal and try to vote in the deleted proposal (this vote would have passed before and now it gets rejected).



---

### 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-03-14 09:40:23 +00:00
..
common_test.go refactor: rename to CometBFT (#14914) 2023-02-06 18:11:14 +00:00
constitution.go chore: fix misc linter errors (#15145) 2023-02-23 22:42:52 +00:00
deposit_test.go feat!: upstream expedited proposals (#14720) 2023-02-03 00:25:28 +01:00
deposit.go refactor: fix lint issues + gofumpt (#15062) 2023-02-19 10:31:49 +00:00
export_test.go feat!: upstream expedited proposals (#14720) 2023-02-03 00:25:28 +01:00
grpc_query_test.go feat!: upstream expedited proposals (#14720) 2023-02-03 00:25:28 +01:00
grpc_query.go feat: constitution (#15125) 2023-02-22 18:41:59 +01:00
hooks_test.go feat!: upstream expedited proposals (#14720) 2023-02-03 00:25:28 +01:00
internal_test.go x/gov v0.43 Audit updates (#9258) 2021-05-07 12:00:19 +00:00
invariants.go refactor: x/gov audit changes (#14174) 2022-12-07 00:51:34 +00:00
keeper_test.go feat!: upstream expedited proposals (#14720) 2023-02-03 00:25:28 +01:00
keeper.go chore: use message router interface (#15213) 2023-02-28 12:40:16 +01:00
migrations.go feat!: upstream expedited proposals (#14720) 2023-02-03 00:25:28 +01:00
msg_server_test.go feat!: upstream expedited proposals (#14720) 2023-02-03 00:25:28 +01:00
msg_server.go feat!: upstream expedited proposals (#14720) 2023-02-03 00:25:28 +01:00
params.go refactor: x/gov audit changes (#14174) 2022-12-07 00:51:34 +00:00
proposal_test.go test: regression test on VotingPeriodProposalKey deletion (#15368) 2023-03-14 09:40:23 +00:00
proposal.go fix: delete VotingPeriodProposalKey when deleting proposal (#15356) 2023-03-10 22:55:34 +00:00
tally.go chore: clean-up of #15151 (#15219) 2023-03-01 11:07:07 +00:00
vote_test.go feat!: upstream expedited proposals (#14720) 2023-02-03 00:25:28 +01:00
vote.go refactor: fix lint issues + gofumpt (#15062) 2023-02-19 10:31:49 +00:00