cosmos-sdk/x/auth
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
..
ante Add validation to prevent empty store keys (#6754) 2020-07-20 18:05:01 +02:00
client context: remove verifier & trust node (#6805) 2020-07-23 06:44:18 +00:00
keeper Remove hybrid codec usage (#6843) 2020-07-25 08:03:58 +00:00
legacy Move codec.RegisterCrypto and codec.Cdc to new packages (#6330) 2020-06-04 10:38:24 +00:00
signing Add validation to prevent empty store keys (#6754) 2020-07-20 18:05:01 +02:00
simulation Start removing HybridCodec (init + auth, bank, distribution) (#6838) 2020-07-24 19:04:29 +00:00
spec Merge PR #5572: ADR 004 Implementation 2020-01-30 16:31:16 -05:00
tx Migrate x/genutil to use TxConfig (#6734) 2020-07-25 08:10:04 +00:00
types Add wrap tx builder to TxConfig (#6836) 2020-07-24 22:24:57 +00:00
vesting x/auth/ante: Migrate tests to use the new client.TxConfig (#6661) 2020-07-20 08:30:12 -04:00
genesis.go x/auth: remove alias.go usage (#6440) 2020-06-17 14:42:27 -04:00
module_test.go x/auth: remove alias.go usage (#6440) 2020-06-17 14:42:27 -04:00
module.go Migrate x/genutil to use TxConfig (#6734) 2020-07-25 08:10:04 +00:00