cosmos-sdk/baseapp
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
..
abci.go refactor: Move TxDecoder into its own middleware (#10612) 2021-12-06 10:26:15 +01:00
abci_test.go refactor: Move TxDecoder into its own middleware (#10612) 2021-12-06 10:26:15 +01:00
baseapp.go refactor: Move TxDecoder into its own middleware (#10612) 2021-12-06 10:26:15 +01:00
baseapp_test.go refactor: Move TxDecoder into its own middleware (#10612) 2021-12-06 10:26:15 +01:00
custom_txhandler_test.go refactor: middleware refactor to change tx.Handler interface (#10527) 2021-12-02 06:54:38 +00:00
grpcrouter.go fix!: remove grpc query routing through tendermint (#10045) 2021-09-30 08:17:33 +00:00
grpcrouter_helpers.go Throw an error on duplicate registration (#7729) 2020-10-29 15:32:47 +00:00
grpcrouter_test.go refactor: Move TxDecoder into its own middleware (#10612) 2021-12-06 10:26:15 +01:00
grpcserver.go fix!: remove grpc query routing through tendermint (#10045) 2021-09-30 08:17:33 +00:00
options.go feat: add configurable iavl cache size (#10561) 2021-11-20 09:32:30 +00:00
params.go chore: bump TM to v0.35.0 release candidate (#10210) 2021-11-16 11:24:38 -08:00
params_test.go chore: bump TM to v0.35.0 release candidate (#10210) 2021-11-16 11:24:38 -08:00
queryrouter.go x/ibc: alter id requirements (#6227) 2020-05-15 17:24:31 +00:00
queryrouter_test.go refactor: migrate ante hanlders to middlewares (#10028) 2021-10-01 14:30:22 +00:00
state.go Merge PR #4748: Write-Through Inter-Block Cache 2019-09-04 13:33:32 -04:00
streaming.go feat: ADR-038 Part 2: StreamingService interface, file writing implementation, and configuration (#8664) 2021-10-24 21:37:37 +00:00
test_helpers.go refactor: Move TxDecoder into its own middleware (#10612) 2021-12-06 10:26:15 +01:00
util_test.go refactor: Move TxDecoder into its own middleware (#10612) 2021-12-06 10:26:15 +01:00