cosmos-sdk/client
Matt Kocubinski d4a9d4d321
refactor(testutil): remove dependency on simapp (#12624)
## Description

Closes: #12546 

Removes `simapp` as a dependency from `testutil/network` by abstracting `simapp` construction behind a factory fn (now in `simapp`), then requiring callers of `network.DefaultConfig` to pass in the factory fn directly.

This patch is an intermediate step to removing all dependencies on `simapp`.  Follow up work may include moving all of the tests using `network.DefaultConfig` updated here up to `simapp`, or possibly just the runners.



---

### 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/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)
2022-07-20 07:34:58 +00:00
..
config fix: tx commands are no need to specify --chain-id (#12092) 2022-05-31 13:27:52 +00:00
debug chore: Db linting (#12141) 2022-06-08 19:02:01 +02:00
docs chore: fix and regenerate swagger yaml #12109 2022-06-01 09:38:29 -04:00
flags docs: Ignore tips when TipDecorator is absent (#12105) 2022-06-01 09:36:19 +00:00
grpc refactor(testutil): remove dependency on simapp (#12624) 2022-07-20 07:34:58 +00:00
input chore: gofumpt (#11839) 2022-05-19 10:55:27 +02:00
keys refactor: remove dependency on simapp from client tests (#12545) 2022-07-12 18:43:02 -05:00
rpc refactor(testutil): remove dependency on simapp (#12624) 2022-07-20 07:34:58 +00:00
testutil refactor: remove dependency on simapp from client tests (#12545) 2022-07-12 18:43:02 -05:00
tx refactor: remove dependency on simapp from client tests (#12545) 2022-07-12 18:43:02 -05:00
v2 make proto-all (#12643) 2022-07-20 00:59:34 +02:00
account_retriever.go Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00
broadcast_test.go chore: gofumpt (#11839) 2022-05-19 10:55:27 +02:00
broadcast.go fix: case unauthorized message (#11229) 2022-02-24 13:28:13 +01:00
cmd_test.go fix(cli): home flag gets ignored when running help (#11645) 2022-04-21 09:27:31 -04:00
cmd.go chore: sdk.Int to math.Int (#12132) 2022-06-03 12:17:02 +00:00
context_test.go refactor(testutil): remove dependency on simapp (#12624) 2022-07-20 07:34:58 +00:00
context.go feat: improve cli tx output (#11818) 2022-04-28 15:06:52 -04:00
grpc_query_test.go refactor(testutil): remove dependency on simapp (#12624) 2022-07-20 07:34:58 +00:00
grpc_query.go chore: sdk.Int to math.Int (#12132) 2022-06-03 12:17:02 +00:00
query_test.go chore: gofumpt (#11839) 2022-05-19 10:55:27 +02:00
query.go fix: create query context with requested block height (#10827) 2022-01-04 13:41:51 +00:00
test_helpers.go Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00
tx_config.go feat: add cli for tips transactions (#10311) 2021-12-07 18:02:21 +00:00
utils_test.go client: fix Paginate's arguments validation (#6205) 2020-05-13 13:14:43 +00:00
utils.go chore: simplify and refactor linting (#12318) 2022-06-21 17:49:36 +00:00