cosmos-sdk/x/upgrade/types
Amaury b3e922d08b
refactor: Move TxDecoder into its own middleware (#10612)
* WIP: middleware refactor

* refactor `tx.Request`

* Add MsgResponses any in sdk.Result

* add helper functions in abci

* refactor tips

* review changes

* Fix mock tests

* Update baseapp/abci.go

* Update baseapp/abci.go

* Update types/tx/middleware.go

* Update types/tx/middleware.go

* tx.Response to abci conversion

* refactor makeABCIData

* Add comments

* Fix build

* fix build error

* fix tests

* fix test

* fix tests

* Fix TestSimulateTx

* fix tests

* fix test

* Fix build

* Simplify code

* fix test build

* Use repeated bytes in txMsgData

* Fix grpc-gateway test

* Make proto-gen

* Automagically register MsgResponse

* review changes

* Use froydi's trick

* Use Any in TxMsgData

* Finally remove API breaking change

* Revert unnecessary stuff

* refactor: Move TxDecoder into its own middleware

* Add test for txDecoderMiddleware

* Fix some baseapp tests

* Fix some more tests

* Fix mock tests

* Fix middleware tests

* Add cl

* Fix tests

* Update types/tx/middleware.go

Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com>

Co-authored-by: atheesh <atheesh@vitwit.com>
Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com>
2021-12-06 10:26:15 +01:00
..
codec.go rename RegisterCodec to RegisterLegacyAminoCodec (#7243) 2020-09-07 14:47:12 +00:00
handler.go InitGenesis in migrations when fromVersion==0 (#9007) 2021-04-02 15:41:35 +00:00
keys.go x/upgrade: protocol version tracking (#8897) 2021-04-02 07:11:58 -07:00
plan.go feat: file watcher for cosmovisor (#8590) 2021-08-11 15:03:48 +00:00
plan_test.go refactor: Bring back deprecated proto fields to `v1beta1` (#9534) 2021-06-23 13:03:33 +00:00
proposal.go Remove IBC logic from x/upgrade (#8673) 2021-03-01 16:28:54 +00:00
proposal_test.go codec: Rename codec and marshaler interfaces (#9226) 2021-04-29 10:46:22 +00:00
querier.go
query.pb.go fix: move new gov messages to v1beta2 (#10632) 2021-11-30 11:09:16 +00:00
query.pb.gw.go x/upgrade gRPC methods for VersionMap (#9073) 2021-05-19 17:04:38 +00:00
storeloader.go refactor: Remove store type aliases (#10295) 2021-10-04 16:36:38 +00:00
storeloader_test.go refactor: Move TxDecoder into its own middleware (#10612) 2021-12-06 10:26:15 +01:00
upgrade.pb.go chore: Add "Since:" on proto doc comments (#10434) 2021-10-27 14:13:35 +00:00