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 8befd605b6
commit b68f8acda0
6 changed files with 1 additions and 9 deletions
Generated
-4
View File
@@ -1707,7 +1707,6 @@ dependencies = [
"portpicker",
"sc-cli",
"sc-client-api",
"sc-service",
"sp-api",
"sp-blockchain",
"sp-consensus",
@@ -1740,7 +1739,6 @@ dependencies = [
"sc-cli",
"sc-client-api",
"sc-consensus",
"sc-service",
"sp-api",
"sp-consensus",
"sp-maybe-compressed-blob",
@@ -2036,7 +2034,6 @@ dependencies = [
"sc-client-api",
"sc-consensus-babe",
"sc-network",
"sc-service",
"sc-sysinfo",
"sc-telemetry",
"sc-tracing",
@@ -2064,7 +2061,6 @@ dependencies = [
"polkadot-overseer",
"polkadot-service",
"sc-client-api",
"sc-service",
"sp-api",
"sp-blockchain",
"sp-core",
-1
View File
@@ -39,7 +39,6 @@ url = "2.2.2"
# Substrate
sc-cli = { 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-core = { 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
sc-cli = { 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" }
@@ -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-consensus-babe = { 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-tracing = { 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,
TestClientBuilder, TestClientBuilderExt,
};
use sc_service::Arc;
use sp_consensus::{BlockOrigin, SyncOracle};
use sp_runtime::traits::Block as BlockT;
use std::sync::Arc;
use futures::{executor::block_on, poll, task::Poll};
-1
View File
@@ -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-state-machine = { 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"
parking_lot = "0.12.1"