cosmos-sdk/client
Jonathan Gimeno e17be874bb
refactor: Move some methods inside TX Factory (#9421)
<!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
v                               ✰  Thanks for creating a PR! ✰
v    Before smashing the submit button please review the checkboxes.
v    If a checkbox is n/a - please still include it but + a little note why
☺ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >  -->

## Description

<!-- Add a description of the changes that this PR introduces and the files that
are the most critical to review.
-->

Putting some things inside the factory (which was very anemic struct) has helped me to understand the flow. Feel free to merge if you see some benefit.

closes: #XXXX

---

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

- [ ] Targeted PR against correct branch (see [CONTRIBUTING.md](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#pr-targeting))
- [ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
- [ ] Code follows the [module structure standards](https://github.com/cosmos/cosmos-sdk/blob/master/docs/building-modules/structure.md).
- [ ] Wrote unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#testing)
- [ ] Updated relevant documentation (`docs/`) or specification (`x/<module>/spec/`)
- [ ] Added relevant `godoc` [comments](https://blog.golang.org/godoc-documenting-go-code).
- [ ] Added a relevant changelog entry to the `Unreleased` section in `CHANGELOG.md`
- [ ] Re-reviewed `Files changed` in the Github PR explorer
- [ ] Review `Codecov Report` in the comment section below once CI passes
2021-06-28 11:42:08 +00:00
..
config fix client config don't take effect (#9211) 2021-05-19 08:44:15 +00:00
debug refactor(client): add client/Context.Codec and deprecate JSONCodec (#9498) 2021-06-11 11:49:39 +00:00
docs style: fix lint errors and update lint timeout (#9464) 2021-06-08 16:27:39 +00:00
flags fix memo flag description (#9436) 2021-06-02 13:50:59 +00:00
grpc feat: add cosmos-sdk Version (#9429) 2021-06-18 12:56:55 +00:00
input client/keys: make add command's output parseable (#6603) 2020-07-05 13:22:49 +02:00
keys fix: added key when dry-run is true (#9480) 2021-06-25 11:55:58 +00:00
rest various linter fixes (#8666) 2021-02-23 08:46:01 +00:00
rpc Remove bech32 PubKey support (#7477) 2021-03-25 14:53:22 +00:00
tx refactor: Move some methods inside TX Factory (#9421) 2021-06-28 11:42:08 +00:00
account_retriever.go Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00
broadcast.go client: update client error handling to use tx hash from tendermint (#9462) 2021-06-07 02:55:08 -04:00
broadcast_test.go tm: update to latest (#7376) 2020-09-23 13:44:40 +00:00
cmd.go Add client config subcommand to CLI (#8953) 2021-03-31 12:04:33 +02:00
cmd_test.go Limit context background (#8093) 2021-02-03 09:47:25 +00:00
context.go refactor(client): add client/Context.Codec and deprecate JSONCodec (#9498) 2021-06-11 11:49:39 +00:00
context_test.go refactor(client): add client/Context.Codec and deprecate JSONCodec (#9498) 2021-06-11 11:49:39 +00:00
grpc_query.go Make gRPC requests go through tendermint Query (#8549) 2021-02-15 10:01:44 +00:00
grpc_query_test.go Add ADR 031 BaseApp and codec infrastructure (#7519) 2020-10-15 13:07:59 +00:00
query.go fix: grpc-gateway error codes (#9015) 2021-03-29 13:42:43 +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 Add fee grant module (#8061) 2021-01-29 19:54:51 +00:00
utils.go Add client config subcommand to CLI (#8953) 2021-03-31 12:04:33 +02:00
utils_test.go client: fix Paginate's arguments validation (#6205) 2020-05-13 13:14:43 +00:00