grandpa-rpc don't share subscription manager, only executor (#7039)

* service builder: fix todo about jsonrpc Option workaround

* grandpa-rpc: only share executor instead of sub manager

* grandpa-rpc: fix compilation

* grandpa-rpc: rename to subscription_executor

* node/cli: remove another unused jsonrpc dependency

* grandpa: apply style fixes from code review

Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
This commit is contained in:
Jon Häggblad
2020-09-14 13:02:37 +02:00
committed by GitHub
parent f9441b3ea5
commit 2da6adfdf1
7 changed files with 42 additions and 35 deletions
-3
View File
@@ -3731,8 +3731,6 @@ dependencies = [
"frame-system",
"futures 0.3.5",
"hex-literal",
"jsonrpc-core",
"jsonrpc-pubsub",
"log",
"nix",
"node-executor",
@@ -3866,7 +3864,6 @@ name = "node-rpc"
version = "2.0.0-rc6"
dependencies = [
"jsonrpc-core",
"jsonrpc-pubsub",
"node-primitives",
"node-runtime",
"pallet-contracts-rpc",