chore: rm unused sc-service (#1331)

* chore: rm unused sc-service

* fmt
This commit is contained in:
yjh
2022-06-07 20:25:43 +08:00
committed by GitHub
parent 2ddfe5edc4
commit c294dc2826
6 changed files with 1 additions and 9 deletions
-4
View File
@@ -1707,7 +1707,6 @@ dependencies = [
"portpicker", "portpicker",
"sc-cli", "sc-cli",
"sc-client-api", "sc-client-api",
"sc-service",
"sp-api", "sp-api",
"sp-blockchain", "sp-blockchain",
"sp-consensus", "sp-consensus",
@@ -1740,7 +1739,6 @@ dependencies = [
"sc-cli", "sc-cli",
"sc-client-api", "sc-client-api",
"sc-consensus", "sc-consensus",
"sc-service",
"sp-api", "sp-api",
"sp-consensus", "sp-consensus",
"sp-maybe-compressed-blob", "sp-maybe-compressed-blob",
@@ -2036,7 +2034,6 @@ dependencies = [
"sc-client-api", "sc-client-api",
"sc-consensus-babe", "sc-consensus-babe",
"sc-network", "sc-network",
"sc-service",
"sc-sysinfo", "sc-sysinfo",
"sc-telemetry", "sc-telemetry",
"sc-tracing", "sc-tracing",
@@ -2064,7 +2061,6 @@ dependencies = [
"polkadot-overseer", "polkadot-overseer",
"polkadot-service", "polkadot-service",
"sc-client-api", "sc-client-api",
"sc-service",
"sp-api", "sp-api",
"sp-blockchain", "sp-blockchain",
"sp-core", "sp-core",
-1
View File
@@ -39,7 +39,6 @@ url = "2.2.2"
# Substrate # Substrate
sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" }
-1
View File
@@ -39,5 +39,4 @@ cumulus-test-service = { path = "../../test/service" }
# Substrate # Substrate
sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" }
substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "master" } substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "master" }
@@ -16,7 +16,6 @@ sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-sysinfo = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-sysinfo = { git = "https://github.com/paritytech/substrate", branch = "master" }
@@ -404,9 +404,9 @@ mod tests {
DefaultTestClientBuilderExt, ExecutionStrategy, InitPolkadotBlockBuilder, DefaultTestClientBuilderExt, ExecutionStrategy, InitPolkadotBlockBuilder,
TestClientBuilder, TestClientBuilderExt, TestClientBuilder, TestClientBuilderExt,
}; };
use sc_service::Arc;
use sp_consensus::{BlockOrigin, SyncOracle}; use sp_consensus::{BlockOrigin, SyncOracle};
use sp_runtime::traits::Block as BlockT; use sp_runtime::traits::Block as BlockT;
use std::sync::Arc;
use futures::{executor::block_on, poll, task::Poll}; use futures::{executor::block_on, poll, task::Poll};
@@ -16,7 +16,6 @@ sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master
sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" }
futures = "0.3.21" futures = "0.3.21"
parking_lot = "0.12.1" parking_lot = "0.12.1"