Closed zorvan closed 11 months ago
Detect WebSocket RPC connections from Enclave to public nodes and Reconnect if there is any error .
It should be normally handled by Subxt or JsonRpsee but the problem is how to update/maintain all the subscriptions on that connection as well.
https://github.com/paritytech/subxt/issues/1190 https://github.com/paritytech/subxt/issues/551 https://github.com/paritytech/jsonrpsee/issues/949 https://github.com/paritytech/jsonrpsee/issues/236 https://github.com/paritytech/jsonrpsee/issues/678
We solved it regarding to limited number of points where enclave requests to the chain.
Detect WebSocket RPC connections from Enclave to public nodes and Reconnect if there is any error .
It should be normally handled by Subxt or JsonRpsee but the problem is how to update/maintain all the subscriptions on that connection as well.
https://github.com/paritytech/subxt/issues/1190 https://github.com/paritytech/subxt/issues/551 https://github.com/paritytech/jsonrpsee/issues/949 https://github.com/paritytech/jsonrpsee/issues/236 https://github.com/paritytech/jsonrpsee/issues/678
We solved it regarding to limited number of points where enclave requests to the chain.