Stability (#324)

* propagate rootcause of JsonRpcException
* increase pool size
* Log WsConnectionImpl exceptions
This commit is contained in:
a10zn8
2023-10-24 09:04:16 +03:00
committed by GitHub
parent 89880355d8
commit 5157d6fe7f
4 changed files with 10 additions and 11 deletions

View File

@@ -176,7 +176,7 @@ class NativeCallSpec extends Specification {
nativeCall.rpcReaderFactory = Mock(RpcReaderFactory) {
1 * create(_) >> Mock(RpcReader) {
1 * read(new JsonRpcRequest("eth_test", [], 10)) >> Mono.error(
new JsonRpcException(JsonRpcResponse.Id.from(12), new JsonRpcError(-32123, "Foo Bar", "Foo Bar Baz"), null, true)
new JsonRpcException(JsonRpcResponse.Id.from(12), new JsonRpcError(-32123, "Foo Bar", "Foo Bar Baz"), null, true, null)
)
}
}