Upgrade to jsonrpc v14 (#11151)
* Upgrade to jsonrpc v14 Contains https://github.com/paritytech/jsonrpc/pull/495 with good bugfixes to resource usage. * Bump tokio & futures. * Bump even further. * Upgrade tokio to 0.1.22 * Partially revert "Bump tokio & futures." This reverts commit 100907eb91907aa124d856d52374637256118e86.
This commit is contained in:
@@ -8,8 +8,8 @@ authors = ["Parity Technologies <admin@parity.io>"]
|
||||
[dependencies]
|
||||
ethereum-types = "0.8.0"
|
||||
keccak-hash = "0.4.0"
|
||||
jsonrpc-core = "13.2.0"
|
||||
jsonrpc-tcp-server = "13.2.0"
|
||||
jsonrpc-core = "14.0.0"
|
||||
jsonrpc-tcp-server = "14.0.0"
|
||||
log = "0.4"
|
||||
parking_lot = "0.9"
|
||||
|
||||
|
||||
@@ -497,4 +497,11 @@ mod tests {
|
||||
"{ \"id\": 17, \"method\": \"mining.notify\", \"params\": { \"00040008\", \"100500\" } }\n",
|
||||
response);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn jsonprc_server_is_send_and_sync() {
|
||||
fn is_send_and_sync<T: Send + Sync>() {}
|
||||
|
||||
is_send_and_sync::<JsonRpcServer>();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user