cosmos-sdk/tests
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
..
e2e test: use pointer receivers to avoid lock copies (#15217) 2023-02-28 18:27:57 +00:00
fixtures fix(distribution): correct default for deprecated distribution params (#14462) 2023-01-02 17:54:49 +00:00
integration feat: protoreflect based amino json encoder (#14877) 2023-02-23 21:41:06 +00:00
go.mod feat: use go embed for swagger (#15216) 2023-02-28 15:21:38 +00:00
go.sum feat: use go embed for swagger (#15216) 2023-02-28 15:21:38 +00:00
Makefile fix: fix race conditions from #14332 (#14402) 2022-12-26 16:32:48 +00:00