cosmos-sdk/x/authz/keeper
Mark Rushakoff 261af6721b
test: use pointer receivers to avoid lock copies (#15217)
## Description
There were several test suite methods that had a value receiver, and which were being ignored for linting. Instead of ignoring the error, use pointer receivers to properly avoid lock copying.

And use a local copy of one loop variable in a possible closure.

---

### 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
- [x] 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~~
- [ ] ~~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 all author checklist items have been addressed
- [ ] confirmed that this PR does not change production code
2023-02-28 18:27:57 +00:00
..
genesis_test.go chore: rename log pkg and add zerolog (#14955) 2023-02-08 11:32:22 +00:00
genesis.go chore(types): add MustAccAddressFromBech32 util func (#12201) 2022-06-09 12:26:07 -04:00
grpc_query_test.go test: use pointer receivers to avoid lock copies (#15217) 2023-02-28 18:27:57 +00:00
grpc_query.go refactor: fix lint issues + gofumpt (#15062) 2023-02-19 10:31:49 +00:00
keeper_test.go feat!: use cosmossdk.io/log logger (#15011) 2023-02-27 21:36:22 +00:00
keeper.go refactor: fix lint issues + gofumpt (#15062) 2023-02-19 10:31:49 +00:00
keys_test.go chore: gofumpt (#11839) 2022-05-19 10:55:27 +02:00
keys.go docs(x/authz): Fix the GrantQueue key documentation. (#13078) 2022-08-30 19:10:41 +00:00
migrations.go refactor: rename migrations from v42, v43, v{SDK} to v1, v2, v{Consensus} (#13772) 2022-11-07 11:32:56 +01:00
msg_server_test.go docs: update docs links to v0.47 (#14572) 2023-01-12 11:57:53 +00:00
msg_server.go chore: x/authz audit changes (#14120) 2022-12-06 13:03:04 +00:00