diff --git a/Cargo.toml b/Cargo.toml index 894224baf..222212f82 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -79,8 +79,9 @@ futures = "0.1.21" generic-array = { version = "0.11.1", default-features = false, features = ["serde"] } getopts = "0.2" influx_db_client = "0.3.4" -jsonrpc-http-server = { git = "https://github.com/paritytech/jsonrpc" } -jsonrpc-macros = { git = "https://github.com/paritytech/jsonrpc" } +jsonrpc-core = "8.0" +jsonrpc-http-server = "8.0" +jsonrpc-macros = "8.0" itertools = "0.7.8" libc = "0.2.1" log = "0.4.2" diff --git a/src/bin/json-rpc.rs b/src/bin/json-rpc.rs index a98200ebf..b62dca8c8 100644 --- a/src/bin/json-rpc.rs +++ b/src/bin/json-rpc.rs @@ -4,11 +4,12 @@ #[macro_use] extern crate clap; extern crate dirs; +extern crate jsonrpc_core; extern crate jsonrpc_http_server; extern crate solana; use clap::{App, Arg}; -use jsonrpc_http_server::jsonrpc_core::*; +use jsonrpc_core::*; use jsonrpc_http_server::*; use solana::crdt::NodeInfo; use solana::fullnode::Config; diff --git a/src/lib.rs b/src/lib.rs index 29512d32b..44f706a14 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -64,6 +64,7 @@ extern crate byteorder; extern crate chrono; extern crate generic_array; extern crate itertools; +extern crate jsonrpc_core; #[macro_use] extern crate jsonrpc_macros; extern crate jsonrpc_http_server; diff --git a/src/rpc.rs b/src/rpc.rs index 29b23ba34..53a353374 100644 --- a/src/rpc.rs +++ b/src/rpc.rs @@ -3,7 +3,7 @@ use bs58; use client::mk_client; use crdt::NodeInfo; -use jsonrpc_http_server::jsonrpc_core::*; +use jsonrpc_core::*; use signature::{read_keypair, KeypairUtil, Pubkey, Signature}; use std::mem; @@ -132,7 +132,7 @@ mod tests { use crdt::{get_ip_addr, TestNode}; use drone::{Drone, DroneRequest}; use fullnode::FullNode; - use jsonrpc_http_server::jsonrpc_core::Response; + use jsonrpc_core::Response; use ledger::LedgerWriter; use mint::Mint; use service::Service;