cosmos-sdk/x/gov/keeper
Jacob Gadikian 78e2e35f80
chore: sdk.Int to math.Int (#12132)
## Description

When locally working with golangci-lint, we can see that there were many deprecation warnings about sdk.Int.  This PR resolves that and makes 1-2 other linting related changes.  Issue on linting coming next.

This also moves BitCurve to bitCurve.

I expect that this set of changes will require several pull requests, one of them to the settings for the linter. 

It also does a gofumpt, because we had various formatting-related linters fail, too. 


---

### 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...

- [x] 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
- [x] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
- [x] 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)
- [x] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
- [x] reviewed "Files changed" and left comments if necessary
- [x] 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-06-03 12:17:02 +00:00
..
common_test.go revert: Revert "feat: staking config (#10988)" (#11446) 2022-03-24 12:26:25 +01:00
deposit_test.go refactor!: Coins Add and Sub Consistency (#11689) 2022-04-20 08:36:10 -04:00
deposit.go chore: x/gov v1 API audit changes (#11474) 2022-04-05 13:33:26 +00:00
grpc_query_test.go chore: gofumpt (#11839) 2022-05-19 10:55:27 +02:00
grpc_query.go chore: gofumpt (#11839) 2022-05-19 10:55:27 +02:00
hooks_test.go chore: gofumpt (#11839) 2022-05-19 10:55:27 +02:00
hooks.go Add hooks to governance actions (#9133) 2021-04-21 12:59:30 -04:00
internal_test.go x/gov v0.43 Audit updates (#9258) 2021-05-07 12:00:19 +00:00
invariants.go chore!: tweak x/gov ModuleAccountInvariant (#11998) 2022-05-20 13:52:07 +00:00
keeper_test.go chore: improve code cov (#11502) 2022-04-05 15:23:26 +00:00
keeper.go refactor: Revert middlewares to antehandlers (part 1/2: baseapp) (#11979) 2022-05-20 09:27:27 +00:00
migrations.go fix: gov 0.46 migration (#11206) 2022-02-16 17:16:13 +01:00
msg_server_test.go chore: improve code cov (#11502) 2022-04-05 15:23:26 +00:00
msg_server.go chore: sdk.Int to math.Int (#12132) 2022-06-03 12:17:02 +00:00
params.go chore: Bump gov and group to v1 (#11334) 2022-03-11 15:58:01 +00:00
proposal_test.go chore: Bump gov and group to v1 (#11334) 2022-03-11 15:58:01 +00:00
proposal.go chore: x/gov v1 API audit changes (#11474) 2022-04-05 13:33:26 +00:00
querier_test.go chore: gofumpt (#11839) 2022-05-19 10:55:27 +02:00
querier.go chore: sdk.Int to math.Int (#12132) 2022-06-03 12:17:02 +00:00
tally_test.go chore: Bump gov and group to v1 (#11334) 2022-03-11 15:58:01 +00:00
tally.go chore: gofumpt (#11839) 2022-05-19 10:55:27 +02:00
vote_test.go chore: Bump gov and group to v1 (#11334) 2022-03-11 15:58:01 +00:00
vote.go chore: x/gov v1 API audit changes (#11474) 2022-04-05 13:33:26 +00:00