From 772ced80f7051778cc9d4f885d91276ca157e33f Mon Sep 17 00:00:00 2001 From: Dmitry Lavrenov Date: Wed, 13 Mar 2024 16:35:21 +0300 Subject: [PATCH] [substrate-apply] humanode-peer:service: Prepare sc-network for ProtocolController/NotificationService #14080 --- Cargo.lock | 1 + crates/humanode-peer/Cargo.toml | 1 + crates/humanode-peer/src/service/mod.rs | 13 ++++++------- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cb3779c41..d7f93e3bc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3653,6 +3653,7 @@ dependencies = [ "sc-consensus-babe", "sc-consensus-grandpa", "sc-executor", + "sc-network", "sc-service", "sc-telemetry", "sc-transaction-pool", diff --git a/crates/humanode-peer/Cargo.toml b/crates/humanode-peer/Cargo.toml index 345735024..1538df368 100644 --- a/crates/humanode-peer/Cargo.toml +++ b/crates/humanode-peer/Cargo.toml @@ -55,6 +55,7 @@ sc-consensus = { workspace = true } sc-consensus-babe = { workspace = true } sc-consensus-grandpa = { workspace = true } sc-executor = { workspace = true } +sc-network = { workspace = true } sc-service = { workspace = true } sc-telemetry = { workspace = true } sc-transaction-pool = { workspace = true } diff --git a/crates/humanode-peer/src/service/mod.rs b/crates/humanode-peer/src/service/mod.rs index 31679b091..b9644c5e7 100644 --- a/crates/humanode-peer/src/service/mod.rs +++ b/crates/humanode-peer/src/service/mod.rs @@ -230,7 +230,7 @@ pub async fn new_full(config: Configuration) -> Result Result Result