In Terminal Web, we'd like to get able to get the version of litd that the WASM is connected to. This information is available via the litrpc.Proxy.GetInfo. Unfortunately, when I attempt to call this RPC using make example-server, no response is returned. The WASM doesn't even log that the method is called in the browser console.
I have tried to fix this by adding litrpc.RegisterProxyJSONCallbacks to jsoncallbacks.go but this results in the error
rpc error: code = Unimplemented desc = unknown service /litrpc.Proxy/GetInfo
It looks like this sub-server is being blocked by litd in rpc_proxy.go. I'm not sure what code need to change to unblock just this GetInfo RPC.
In Terminal Web, we'd like to get able to get the version of
litdthat the WASM is connected to. This information is available via thelitrpc.Proxy.GetInfo. Unfortunately, when I attempt to call this RPC usingmake example-server, no response is returned. The WASM doesn't even log that the method is called in the browser console.I have tried to fix this by adding
litrpc.RegisterProxyJSONCallbacksto jsoncallbacks.go but this results in the errorIt looks like this sub-server is being blocked by
litdin rpc_proxy.go. I'm not sure what code need to change to unblock just thisGetInfoRPC.