cosmos-sdk/client
Marie f59df68a97
Migrate x/genutil to use TxConfig (#6734)
* Update genutil collect and gentx to use TxGenerator

* Remove print statement

* Use Tx in genutil DeliverGenTxs

* Use Tx in genutil genesis_state

* Use Tx in ValidateGenesis

* Use amino txJSONDecoder and txBinaryEncoder in genutil InitGenesis

* Use TxConfig in place of TxGenerator

* Add gentx tests

* Remove commented line

* Test fixes

* Apply suggestions from code review

Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>

* Fixes

* Fixes

* Fixes

* Fixes

* Remove unneeded test case (doesn't apply to proto marshaling)

* linting

* Refactor to use new TxEncodingConfig interface in genutil module

* Replace golang/protobuf with gogo/protobuf package

* Use TxEncodingConfig in InitTestnet

* Remove old amino.go file

* Use TxJSONDecoder in genutil ValidateGenesis

* Add parameter to ValidateGenesis to resolve the tx JSON decoder issue

* Address review feedback

Co-authored-by: Jack Zampolin <jack.zampolin@gmail.com>
Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com>
Co-authored-by: Aaron Craelius <aaron@regen.network>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-07-25 08:10:04 +00:00
..
debug Merge PR #6595: Single Binary & Command Refactor 2020-07-07 11:40:46 -04:00
docs Merge PR #6426: Migrate API Server 2020-06-15 13:39:09 -04:00
flags add page flag for CLI queries (#6824) 2020-07-24 08:17:11 +00:00
input client/keys: make add command's output parseable (#6603) 2020-07-05 13:22:49 +02:00
keys crypto: move ledger code to its own subfolder (#6817) 2020-07-22 18:51:12 +02:00
rpc context: remove verifier & trust node (#6805) 2020-07-23 06:44:18 +00:00
testutil Add wrap tx builder to TxConfig (#6836) 2020-07-24 22:24:57 +00:00
tx Merge PR #6815: Code & Doc Cleanup 2020-07-22 11:02:36 -04:00
account_retriever.go client: rename CliContext to Context (#6290) 2020-06-01 12:46:03 +00:00
broadcast.go refactor auths broadcast cmd in alignment with #6216 (#6713) 2020-07-17 17:17:21 +00:00
broadcast_test.go client: rename CliContext to Context (#6290) 2020-06-01 12:46:03 +00:00
cmd.go context: remove verifier & trust node (#6805) 2020-07-23 06:44:18 +00:00
cmd_test.go testutil: add ApplyMockIODiscardOutErr, simplify existing functions (#6665) 2020-07-10 08:55:48 +02:00
context.go context: remove verifier & trust node (#6805) 2020-07-23 06:44:18 +00:00
context_test.go CLI/Tests: Remove Fixtures (#6799) 2020-07-21 13:54:07 +00:00
errors.go client: rename CliContext to Context (#6290) 2020-06-01 12:46:03 +00:00
grpc_query.go Add support for protobuf TxGenerator and SIGN_MODE_DIRECT (#6385) 2020-07-06 17:03:45 +00:00
query.go context: remove verifier & trust node (#6805) 2020-07-23 06:44:18 +00:00
test_helpers.go Migrate x/auth cmd's to TxGenerator marshaling (#6391) 2020-06-18 20:29:41 +00:00
tx_generator.go Migrate x/genutil to use TxConfig (#6734) 2020-07-25 08:10:04 +00:00
utils.go add page flag for CLI queries (#6824) 2020-07-24 08:17:11 +00:00
utils_test.go client: fix Paginate's arguments validation (#6205) 2020-05-13 13:14:43 +00:00