cosmos-sdk/x/params
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 proto: Consistent naming for Params (#6803) 2020-07-21 14:04:51 +00:00
keeper Remove hybrid codec usage (#6843) 2020-07-25 08:03:58 +00:00
simulation Merge PR #6705: x/params/simulation/proposals.go: add unit tests 2020-07-13 14:10:34 -04:00
spec Params Spec 80 column md. (#6561) 2020-07-01 13:27:13 +00:00
types proto: Consistent naming for Params (#6803) 2020-07-21 14:04:51 +00:00
doc.go Merge PR #5359: Params Validation 2019-12-10 11:48:57 -05:00
module.go Migrate x/genutil to use TxConfig (#6734) 2020-07-25 08:10:04 +00:00
proposal_handler.go Merge PR #5942: Tx Client Migration: x/gov 2020-04-14 15:05:14 -04:00
proposal_handler_test.go Merge PR #5942: Tx Client Migration: x/gov 2020-04-14 15:05:14 -04:00