diff --git a/Cargo.lock b/Cargo.lock index d71390cfbb6..43015816f15 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1643,7 +1643,7 @@ dependencies = [ "graph-store-postgres", "hex", "http 0.1.21", - "jsonrpc-core", + "jsonrpc-core 16.0.0", "lazy_static", "mockall 0.9.1", "pretty_assertions", @@ -2413,6 +2413,19 @@ dependencies = [ "serde_json", ] +[[package]] +name = "jsonrpc-core" +version = "16.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a47c4c3ac843f9a4238943f97620619033dadef4b378cd1e8addd170de396b3" +dependencies = [ + "futures 0.3.13", + "log 0.4.11", + "serde", + "serde_derive", + "serde_json", +] + [[package]] name = "jsonrpc-http-server" version = "14.2.0" @@ -2420,7 +2433,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0da906d682799df05754480dac1b9e70ec92e12c19ebafd2662a5ea1c9fd6522" dependencies = [ "hyper 0.12.36", - "jsonrpc-core", + "jsonrpc-core 14.2.0", "jsonrpc-server-utils", "log 0.4.11", "net2", @@ -2436,7 +2449,7 @@ checksum = "56cbfb462e7f902e21121d9f0d1c2b77b2c5b642e1a4e8f4ebfa2e15b94402bb" dependencies = [ "bytes 0.4.12", "globset", - "jsonrpc-core", + "jsonrpc-core 14.2.0", "lazy_static", "log 0.4.11", "tokio 0.1.22", @@ -5577,7 +5590,7 @@ dependencies = [ "futures 0.1.31", "hyper 0.12.36", "hyper-tls 0.3.2", - "jsonrpc-core", + "jsonrpc-core 14.2.0", "log 0.4.11", "native-tls", "parking_lot 0.10.2", diff --git a/chain/ethereum/Cargo.toml b/chain/ethereum/Cargo.toml index fa3a7021e0a..23f70486723 100644 --- a/chain/ethereum/Cargo.toml +++ b/chain/ethereum/Cargo.toml @@ -7,7 +7,7 @@ edition = "2018" chrono = "0.4" futures = "0.1.21" http = "0.1.21" # must be compatible with the version rust-web3 uses -jsonrpc-core = "14.2.0" +jsonrpc-core = "16.0.0" graph = { path = "../../graph" } lazy_static = "1.2.0" mockall = "0.9.1"