Amaury Martiny
|
9087ffc774
|
Throw an error on duplicate registration (#7729)
* Panic on registering a service twice
* Panic if we register twice
* Fix test
* Fix test
* Add clearer panic message
* Add comment
* Fix test
|
2020-10-29 15:32:47 +00:00 |
Amaury Martiny
|
55242a659c
|
Add ADR 031 BaseApp and codec infrastructure (#7519)
* Refactor RegisterQueryServices -> RegisterServices
* Cleaner proto files
* Fix tests
* Add MsgServer
* Fix lint
* Remove MsgServer from configurator for now
* Remove useless file
* Fix build
* typo
* Add router
* Fix test
* WIP
* Add router
* Remove test helper
* Add beginning of test
* Move test to simapp?
* ServiceMsg implement sdk.Msg
* Add handler by MsgServiceRouter
* Correct signature
* Add full test
* use TxEncoder
* Update baseapp/msg_service_router.go
Co-authored-by: Aaron Craelius <aaron@regen.network>
* Push changes
* WIP on ServiceMsg unpacking
* Make TestMsgService test pass
* Fix tests
* Tidying up
* Tidying up
* Tidying up
* Add JSON test
* Add comments
* Tidying
* Lint
* Register MsgRequest interface
* Rename
* Fix tests
* RegisterCustomTypeURL
* Add changelog entries
* Put in features
* Update baseapp/msg_service_router.go
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
* Update baseapp/msg_service_router.go
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
* Update baseapp/msg_service_router.go
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
* Update baseapp/msg_service_router.go
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
* Update baseapp/msg_service_router.go
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
* Update baseapp/msg_service_router.go
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
* Update baseapp/msg_service_router.go
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
* Address review comments
* Address nit
* Fix lint
* Update codec/types/interface_registry.go
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
* godoc
Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com>
Co-authored-by: Aaron Craelius <aaron@regen.network>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
|
2020-10-15 13:07:59 +00:00 |
Aaron Craelius
|
3f81c0a18d
|
gRPC interface reflection. (#6722)
* WIP on gRPC interface reflection.
* Update docs in proto
* Add tests
* Add test
* Add route inside router
* Address nits
* ListInterfaces -> ListAllInterfaces
* Fix proto lint
* Remove stray println
* Update proto/cosmos/base/reflection/v1beta1/reflection.proto
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
* Update codec/types/interface_registry.go
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
* Update codec/types/interface_registry.go
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
* Add godoc
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
|
2020-08-17 17:02:13 +00:00 |
Aaron Craelius
|
849429ecda
|
Add proper support for Any in gRPC queries (#6594)
* Add proper gRPC Any support via AnyUnpacker
* Wire up grpc query router AnyUnpacker
|
2020-07-03 16:42:12 +00:00 |
Aaron Craelius
|
c1355d0b45
|
Integrate gRPC queries into BaseApp (#6335)
* Rename GRPCRouter to GRPCQueryRouter, add to BaseApp
* Rename field
* add comment
* Update baseapp/abci.go
* Update baseapp/abci.go
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
* Address review feedback
* Improve code reuse
* Fix errors
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
|
2020-06-04 18:48:06 +00:00 |
Aaron Craelius
|
e94b6736ed
|
Merge PR #6325: Add GRPCRouter
|
2020-06-03 09:33:51 -04:00 |