cosmos-sdk/x/gov
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
..
client add page flag for CLI queries (#6824) 2020-07-24 08:17:11 +00:00
keeper Remove hybrid codec usage (#6843) 2020-07-25 08:03:58 +00:00
legacy Merge PR #5421: Refactor Error Handling 2019-12-27 12:57:54 -05:00
simulation Merge PR #6800: Cosmetic changes 2020-07-20 16:22:46 -04:00
spec Merge PR #5604: docs: minor doc formatting & touchup of the scaffold section 2020-02-04 13:16:56 -05:00
types proto: Consistent naming for Params (#6803) 2020-07-21 14:04:51 +00:00
abci.go Merge PR #6761: telemetry: use UTC() in wrappers 2020-07-17 15:33:50 -04:00
abci_test.go x/gov: remove alias.go usage (#6432) 2020-06-13 11:07:51 +02:00
common_test.go x/staking: remove alias.go usage (#6397) 2020-06-12 14:54:37 +00:00
genesis.go x/gov: remove alias.go usage (#6432) 2020-06-13 11:07:51 +02:00
genesis_test.go cleanup x/bank and x/crisis (#6697) 2020-07-13 06:55:58 +00:00
handler.go Merge PR #6449: Initial Metrics 2020-06-18 14:12:44 -04:00
handler_test.go x/auth/ante: Migrate tests to use the new client.TxConfig (#6661) 2020-07-20 08:30:12 -04:00
module.go Migrate x/genutil to use TxConfig (#6734) 2020-07-25 08:10:04 +00:00
module_test.go x/auth: remove alias.go usage (#6440) 2020-06-17 14:42:27 -04:00