From 9852077dee833fa60a98404bc8cd6f8a67ffd37c Mon Sep 17 00:00:00 2001 From: Jonathan Brown Date: Wed, 7 Apr 2021 15:05:24 +0700 Subject: [PATCH] Remove node-runtime dependency from node-rpc. (#8539) * Remove node-runtime dependency from node-rpc. The node-runtime dependency is not used and increases build times. * update Cargo.lock --- substrate/Cargo.lock | 1 - substrate/bin/node/rpc/Cargo.toml | 1 - 2 files changed, 2 deletions(-) diff --git a/substrate/Cargo.lock b/substrate/Cargo.lock index 093126e5ce..290cad9e47 100644 --- a/substrate/Cargo.lock +++ b/substrate/Cargo.lock @@ -4244,7 +4244,6 @@ version = "2.0.0" dependencies = [ "jsonrpc-core", "node-primitives", - "node-runtime", "pallet-contracts-rpc", "pallet-mmr-rpc", "pallet-transaction-payment-rpc", diff --git a/substrate/bin/node/rpc/Cargo.toml b/substrate/bin/node/rpc/Cargo.toml index 7a25b6d8b0..fc1701d185 100644 --- a/substrate/bin/node/rpc/Cargo.toml +++ b/substrate/bin/node/rpc/Cargo.toml @@ -13,7 +13,6 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] jsonrpc-core = "15.1.0" node-primitives = { version = "2.0.0", path = "../primitives" } -node-runtime = { version = "2.0.0", path = "../runtime" } pallet-contracts-rpc = { version = "3.0.0", path = "../../../frame/contracts/rpc/" } pallet-mmr-rpc = { version = "3.0.0", path = "../../../frame/merkle-mountain-range/rpc/" } pallet-transaction-payment-rpc = { version = "3.0.0", path = "../../../frame/transaction-payment/rpc/" }