cosmos-sdk/x/auth
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
..
atlas chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
client chore: bump TM to v0.35.0 release candidate (#10210) 2021-11-16 11:24:38 -08:00
keeper feat!: Ensure InitGenesis returns with non-empty validator set (#9697) 2021-10-05 12:02:51 +00:00
middleware refactor: Move TxDecoder into its own middleware (#10612) 2021-12-06 10:26:15 +01:00
migrations feat: Add Tips middleware (#10208) 2021-11-16 17:55:12 +00:00
signing feat: Add Tips middleware (#10208) 2021-11-16 17:55:12 +00:00
simulation refactor(test)!: refactor simapp.Setup function (#9938) 2021-08-17 00:52:06 +00:00
spec style: lint go and markdown (#10060) 2021-10-30 13:43:04 +00:00
testutil feat: Add Tips middleware (#10208) 2021-11-16 17:55:12 +00:00
tx refactor: middleware refactor to change tx.Handler interface (#10527) 2021-12-02 06:54:38 +00:00
types feat: Add Tips middleware (#10208) 2021-11-16 17:55:12 +00:00
vesting chore: bump TM to v0.35.0 release candidate (#10210) 2021-11-16 11:24:38 -08:00
genesis.go Enable proto JSON for genesis (#7000) 2020-08-11 14:22:30 +00:00
module_test.go feat!: Ensure InitGenesis returns with non-empty validator set (#9697) 2021-10-05 12:02:51 +00:00
module.go feat!: remove legacy handler (#9650) 2021-07-19 14:49:42 +00:00