Remove unused dependencies from runtime/node

This commit is contained in:
Luke Parker 2023-03-26 23:10:16 -04:00
parent ff70cbb223
commit a9f6300e86
No known key found for this signature in database
3 changed files with 1 additions and 61 deletions

48
Cargo.lock generated
View file

@ -7629,28 +7629,6 @@ dependencies = [
"thiserror", "thiserror",
] ]
[[package]]
name = "sc-consensus-babe-rpc"
version = "0.10.0-dev"
source = "git+https://github.com/serai-dex/substrate#a4cb49764a438bc9066451ac5956ecf3e12de6de"
dependencies = [
"futures",
"jsonrpsee",
"sc-consensus-babe",
"sc-consensus-epochs",
"sc-rpc-api",
"serde",
"sp-api",
"sp-application-crypto",
"sp-blockchain",
"sp-consensus",
"sp-consensus-babe",
"sp-core",
"sp-keystore",
"sp-runtime",
"thiserror",
]
[[package]] [[package]]
name = "sc-consensus-epochs" name = "sc-consensus-epochs"
version = "0.10.0-dev" version = "0.10.0-dev"
@ -7704,26 +7682,6 @@ dependencies = [
"thiserror", "thiserror",
] ]
[[package]]
name = "sc-consensus-grandpa-rpc"
version = "0.10.0-dev"
source = "git+https://github.com/serai-dex/substrate#a4cb49764a438bc9066451ac5956ecf3e12de6de"
dependencies = [
"finality-grandpa",
"futures",
"jsonrpsee",
"log",
"parity-scale-codec",
"sc-client-api",
"sc-consensus-grandpa",
"sc-rpc",
"serde",
"sp-blockchain",
"sp-core",
"sp-runtime",
"thiserror",
]
[[package]] [[package]]
name = "sc-consensus-slots" name = "sc-consensus-slots"
version = "0.10.0-dev" version = "0.10.0-dev"
@ -8730,7 +8688,6 @@ dependencies = [
name = "serai-node" name = "serai-node"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"async-trait",
"clap 4.1.13", "clap 4.1.13",
"frame-benchmarking", "frame-benchmarking",
"frame-benchmarking-cli", "frame-benchmarking-cli",
@ -8741,12 +8698,9 @@ dependencies = [
"sc-basic-authorship", "sc-basic-authorship",
"sc-cli", "sc-cli",
"sc-client-api", "sc-client-api",
"sc-client-db",
"sc-consensus", "sc-consensus",
"sc-consensus-babe", "sc-consensus-babe",
"sc-consensus-babe-rpc",
"sc-consensus-grandpa", "sc-consensus-grandpa",
"sc-consensus-grandpa-rpc",
"sc-executor", "sc-executor",
"sc-network", "sc-network",
"sc-network-common", "sc-network-common",
@ -8759,7 +8713,6 @@ dependencies = [
"sp-api", "sp-api",
"sp-block-builder", "sp-block-builder",
"sp-blockchain", "sp-blockchain",
"sp-consensus",
"sp-consensus-babe", "sp-consensus-babe",
"sp-core", "sp-core",
"sp-inherents", "sp-inherents",
@ -8793,7 +8746,6 @@ dependencies = [
"frame-support", "frame-support",
"frame-system", "frame-system",
"frame-system-rpc-runtime-api", "frame-system-rpc-runtime-api",
"hex-literal",
"in-instructions-pallet", "in-instructions-pallet",
"pallet-assets", "pallet-assets",
"pallet-authority-discovery", "pallet-authority-discovery",

View file

@ -12,8 +12,6 @@ publish = false
name = "serai-node" name = "serai-node"
[dependencies] [dependencies]
async-trait = "0.1"
clap = { version = "4", features = ["derive"] } clap = { version = "4", features = ["derive"] }
futures = "0.3" futures = "0.3"
@ -28,7 +26,6 @@ sp-runtime = { git = "https://github.com/serai-dex/substrate" }
sp-blockchain = { git = "https://github.com/serai-dex/substrate" } sp-blockchain = { git = "https://github.com/serai-dex/substrate" }
sp-api = { git = "https://github.com/serai-dex/substrate" } sp-api = { git = "https://github.com/serai-dex/substrate" }
sp-block-builder = { git = "https://github.com/serai-dex/substrate" } sp-block-builder = { git = "https://github.com/serai-dex/substrate" }
sp-consensus = { git = "https://github.com/serai-dex/substrate" }
sp-consensus-babe = { git = "https://github.com/serai-dex/substrate" } sp-consensus-babe = { git = "https://github.com/serai-dex/substrate" }
frame-benchmarking = { git = "https://github.com/serai-dex/substrate" } frame-benchmarking = { git = "https://github.com/serai-dex/substrate" }
@ -41,18 +38,13 @@ sc-transaction-pool-api = { git = "https://github.com/serai-dex/substrate" }
sc-basic-authorship = { git = "https://github.com/serai-dex/substrate" } sc-basic-authorship = { git = "https://github.com/serai-dex/substrate" }
sc-executor = { git = "https://github.com/serai-dex/substrate" } sc-executor = { git = "https://github.com/serai-dex/substrate" }
sc-service = { git = "https://github.com/serai-dex/substrate" } sc-service = { git = "https://github.com/serai-dex/substrate" }
sc-client-db = { git = "https://github.com/serai-dex/substrate" }
sc-client-api = { git = "https://github.com/serai-dex/substrate" } sc-client-api = { git = "https://github.com/serai-dex/substrate" }
sc-network-common = { git = "https://github.com/serai-dex/substrate" } sc-network-common = { git = "https://github.com/serai-dex/substrate" }
sc-network = { git = "https://github.com/serai-dex/substrate" } sc-network = { git = "https://github.com/serai-dex/substrate" }
sc-consensus = { git = "https://github.com/serai-dex/substrate" } sc-consensus = { git = "https://github.com/serai-dex/substrate" }
sc-consensus-babe = { git = "https://github.com/serai-dex/substrate" } sc-consensus-babe = { git = "https://github.com/serai-dex/substrate" }
sc-consensus-babe-rpc = { git = "https://github.com/serai-dex/substrate" }
sc-consensus-grandpa = { git = "https://github.com/serai-dex/substrate" } sc-consensus-grandpa = { git = "https://github.com/serai-dex/substrate" }
sc-consensus-grandpa-rpc = { git = "https://github.com/serai-dex/substrate" }
sc-authority-discovery = { git = "https://github.com/serai-dex/substrate" } sc-authority-discovery = { git = "https://github.com/serai-dex/substrate" }
sc-telemetry = { git = "https://github.com/serai-dex/substrate" } sc-telemetry = { git = "https://github.com/serai-dex/substrate" }

View file

@ -12,8 +12,6 @@ all-features = true
rustdoc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"]
[dependencies] [dependencies]
hex-literal = { version = "0.3", optional = true }
codec = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } codec = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
scale-info = { version = "2", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"] }
@ -116,8 +114,6 @@ std = [
] ]
runtime-benchmarks = [ runtime-benchmarks = [
"hex-literal",
"sp-runtime/runtime-benchmarks", "sp-runtime/runtime-benchmarks",
"frame-system/runtime-benchmarks", "frame-system/runtime-benchmarks",