cosmos-sdk/tests/mocks
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
..
account_retriever.go client: rename CliContext to Context (#6290) 2020-06-01 12:46:03 +00:00
grpc_server.go Add RegisterQueryService to AppModule (#6336) 2020-06-06 07:59:57 +00:00
tendermint_tm_db_DB.go Fix module interface registration (#6834) 2020-07-23 22:45:34 -04:00
types_handler.go regenerate mocks, don't format autogenered files on make format (#5848) 2020-03-20 18:14:53 +00:00
types_invariant.go regenerate mocks, don't format autogenered files on make format (#5848) 2020-03-20 18:14:53 +00:00
types_module_module.go Migrate x/genutil to use TxConfig (#6734) 2020-07-25 08:10:04 +00:00
types_router.go module: pass route by value (#6404) 2020-06-11 15:37:23 +00:00