cosmos-sdk/x/upgrade
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 missing cancel-software-upgrade cmd (#6840) 2020-07-24 17:39:52 +00:00
keeper Remove hybrid codec usage (#6843) 2020-07-25 08:03:58 +00:00
spec Merge PR #5500: Regen network/multistore upgrades 2020-02-27 22:26:04 -08:00
types x/{gov,params,upgrade,distribution} CLI: In-Process test & use grpc query service (#6664) 2020-07-20 13:09:57 +00:00
abci.go Merge PR #6761: telemetry: use UTC() in wrappers 2020-07-17 15:33:50 -04:00
abci_test.go Start removing HybridCodec (init + auth, bank, distribution) (#6838) 2020-07-24 19:04:29 +00:00
doc.go Merge PR #6818: x/upgrade: Fix ReadUpgradeInfoFromDisk 2020-07-22 12:22:00 -04:00
handler.go x/upgrade: remove alias.go usage (#6382) 2020-06-10 18:54:15 +00:00
module.go Migrate x/genutil to use TxConfig (#6734) 2020-07-25 08:10:04 +00:00