-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Currently, cardano-wasm's grpc module calls the automatically generated gRPC or gRPC-web JavaScript bindings. But when those bindings change, the calls from Haskell to the GRPC JS bindings may break, and that break will happen at runtime.
This issue proposes deriving the calls from Haskell to JS automatically from proto files, from the generate typescript of the bindings generated for gRPC, or from Haskell files that define the gRPC in the cardano-rpc project (which every is more feasible and simple).
This way, whenever the gRPC definitions change, the Haskell will change with it, and if something breaks it will be at the type level in Haskell and, thus, we'll find out very quickly thanks to the existing checks in the CI.