Clean Substrate Cargo.tomls

This commit is contained in:
Luke Parker
2022-07-16 20:53:28 -04:00
parent 2bddce2087
commit 314c9cd8f7
3 changed files with 70 additions and 69 deletions

View File

@@ -8,25 +8,25 @@ edition = "2021"
publish = false publish = false
[dependencies] [dependencies]
sp-core = { version = "6.0.0", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sp-core = { git = "https://github.com/serai-dex/substrate" }
sp-trie = { version = "6.0.0", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sp-trie = { git = "https://github.com/serai-dex/substrate" }
sp-timestamp = { version = "4.0.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sp-timestamp = { git = "https://github.com/serai-dex/substrate" }
sc-consensus = { version = "0.10.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sc-consensus = { git = "https://github.com/serai-dex/substrate" }
sp-consensus = { version = "0.10.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sp-consensus = { git = "https://github.com/serai-dex/substrate" }
sc-transaction-pool = { version = "4.0.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sc-transaction-pool = { git = "https://github.com/serai-dex/substrate" }
sc-basic-authorship = { version = "0.10.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sc-basic-authorship = { git = "https://github.com/serai-dex/substrate" }
sc-consensus-pow = { version = "0.10.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sc-consensus-pow = { git = "https://github.com/serai-dex/substrate" }
sp-consensus-pow = { version = "0.10.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sp-consensus-pow = { git = "https://github.com/serai-dex/substrate" }
sc-network = { version = "0.10.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sc-network = { git = "https://github.com/serai-dex/substrate" }
sc-service = { version = "0.10.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai", features = ["wasmtime"] } sc-service = { git = "https://github.com/serai-dex/substrate", features = ["wasmtime"] }
sc-executor = { version = "0.10.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai", features = ["wasmtime"] } sc-executor = { git = "https://github.com/serai-dex/substrate", features = ["wasmtime"] }
sp-runtime = { version = "6.0.0", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sp-runtime = { git = "https://github.com/serai-dex/substrate" }
substrate-prometheus-endpoint = { version = "0.10.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } substrate-prometheus-endpoint = { git = "https://github.com/serai-dex/substrate" }
sc-client-api = { version = "4.0.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sc-client-api = { git = "https://github.com/serai-dex/substrate" }
sp-api = { version = "4.0.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sp-api = { git = "https://github.com/serai-dex/substrate" }
serai-runtime = { path = "../runtime" } serai-runtime = { path = "../runtime" }

View File

@@ -13,46 +13,46 @@ name = "serai-node"
[dependencies] [dependencies]
clap = { version = "3.1.18", features = ["derive"] } clap = { version = "3.1.18", features = ["derive"] }
sc-cli = { version = "0.10.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai", features = ["wasmtime"] } sc-cli = { git = "https://github.com/serai-dex/substrate", features = ["wasmtime"] }
sp-core = { version = "6.0.0", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sp-core = { git = "https://github.com/serai-dex/substrate" }
sc-executor = { version = "0.10.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai", features = ["wasmtime"] } sc-executor = { git = "https://github.com/serai-dex/substrate", features = ["wasmtime"] }
sc-service = { version = "0.10.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai", features = ["wasmtime"] } sc-service = { git = "https://github.com/serai-dex/substrate", features = ["wasmtime"] }
sc-telemetry = { version = "4.0.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sc-telemetry = { git = "https://github.com/serai-dex/substrate" }
sc-keystore = { version = "4.0.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sc-keystore = { git = "https://github.com/serai-dex/substrate" }
sc-transaction-pool = { version = "4.0.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sc-transaction-pool = { git = "https://github.com/serai-dex/substrate" }
sc-transaction-pool-api = { version = "4.0.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sc-transaction-pool-api = { git = "https://github.com/serai-dex/substrate" }
sc-consensus = { version = "0.10.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sc-consensus = { git = "https://github.com/serai-dex/substrate" }
sc-client-api = { version = "4.0.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sc-client-api = { git = "https://github.com/serai-dex/substrate" }
sp-runtime = { version = "6.0.0", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sp-runtime = { git = "https://github.com/serai-dex/substrate" }
sp-timestamp = { version = "4.0.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sp-timestamp = { git = "https://github.com/serai-dex/substrate" }
sp-inherents = { version = "4.0.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sp-inherents = { git = "https://github.com/serai-dex/substrate" }
sp-keyring = { version = "6.0.0", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sp-keyring = { git = "https://github.com/serai-dex/substrate" }
frame-system = { version = "4.0.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } frame-system = { git = "https://github.com/serai-dex/substrate" }
pallet-transaction-payment = { version = "4.0.0-dev", default-features = false, git = "https://github.com/serai-dex/substrate.git", branch = "serai" } pallet-transaction-payment = { git = "https://github.com/serai-dex/substrate", default-features = false }
# These dependencies are used for the node template's RPCs # These dependencies are used for the node template's RPCs
jsonrpsee = { version = "0.14.0", features = ["server"] } jsonrpsee = { version = "0.14.0", features = ["server"] }
sc-rpc = { version = "4.0.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sc-rpc = { git = "https://github.com/serai-dex/substrate" }
sp-api = { version = "4.0.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sp-api = { git = "https://github.com/serai-dex/substrate" }
sc-rpc-api = { version = "0.10.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sc-rpc-api = { git = "https://github.com/serai-dex/substrate" }
sp-blockchain = { version = "4.0.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sp-blockchain = { git = "https://github.com/serai-dex/substrate" }
sp-block-builder = { version = "4.0.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sp-block-builder = { git = "https://github.com/serai-dex/substrate" }
substrate-frame-rpc-system = { version = "4.0.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } substrate-frame-rpc-system = { git = "https://github.com/serai-dex/substrate" }
pallet-transaction-payment-rpc = { version = "4.0.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } pallet-transaction-payment-rpc = { git = "https://github.com/serai-dex/substrate" }
# These dependencies are used for runtime benchmarking # These dependencies are used for runtime benchmarking
frame-benchmarking = { version = "4.0.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } frame-benchmarking = { git = "https://github.com/serai-dex/substrate" }
frame-benchmarking-cli = { version = "4.0.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } frame-benchmarking-cli = { git = "https://github.com/serai-dex/substrate" }
# Local dependencies # Local dependencies
serai-consensus = { path = "../consensus" } serai-consensus = { path = "../consensus" }
serai-runtime = { path = "../runtime" } serai-runtime = { path = "../runtime" }
# CLI-specific dependencies # CLI-specific dependencies
try-runtime-cli = { version = "0.10.0-dev", optional = true, git = "https://github.com/serai-dex/substrate.git", branch = "serai" } try-runtime-cli = { git = "https://github.com/serai-dex/substrate", optional = true }
[build-dependencies] [build-dependencies]
substrate-build-script-utils = { version = "3.0.0", git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" } substrate-build-script-utils = { git = "https://github.com/serai-dex/substrate.git" }
[features] [features]
default = [] default = []

View File

@@ -8,40 +8,41 @@ edition = "2021"
publish = false publish = false
[dependencies] [dependencies]
hex-literal = { version = "0.3.4", optional = true }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } scale-info = { version = "2.1.1", default-features = false, features = ["derive"] }
sp-core = { version = "6.0.0", default-features = false, git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sp-core = { git = "https://github.com/serai-dex/substrate", default-features = false }
sp-std = { version = "4.0.0-dev", default-features = false, git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sp-std = { git = "https://github.com/serai-dex/substrate", default-features = false }
sp-version = { version = "5.0.0", default-features = false, git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sp-version = { git = "https://github.com/serai-dex/substrate", default-features = false }
sp-inherents = { version = "4.0.0-dev", default-features = false, git = "https://github.com/serai-dex/substrate.git", branch = "serai"} sp-inherents = { git = "https://github.com/serai-dex/substrate", default-features = false }
sp-offchain = { version = "4.0.0-dev", default-features = false, git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sp-offchain = { git = "https://github.com/serai-dex/substrate", default-features = false }
sp-session = { version = "4.0.0-dev", default-features = false, git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sp-session = { git = "https://github.com/serai-dex/substrate", default-features = false }
sp-transaction-pool = { version = "4.0.0-dev", default-features = false, git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sp-transaction-pool = { git = "https://github.com/serai-dex/substrate", default-features = false }
sp-block-builder = { version = "4.0.0-dev", default-features = false, git = "https://github.com/serai-dex/substrate.git", branch = "serai"} sp-block-builder = { git = "https://github.com/serai-dex/substrate", default-features = false}
sp-runtime = { version = "6.0.0", default-features = false, git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sp-runtime = { git = "https://github.com/serai-dex/substrate", default-features = false }
sp-api = { version = "4.0.0-dev", default-features = false, git = "https://github.com/serai-dex/substrate.git", branch = "serai" } sp-api = { git = "https://github.com/serai-dex/substrate", default-features = false }
frame-support = { version = "4.0.0-dev", default-features = false, git = "https://github.com/serai-dex/substrate.git", branch = "serai" } frame-support = { git = "https://github.com/serai-dex/substrate", default-features = false }
frame-system = { version = "4.0.0-dev", default-features = false, git = "https://github.com/serai-dex/substrate.git", branch = "serai" } frame-system = { git = "https://github.com/serai-dex/substrate", default-features = false }
frame-executive = { version = "4.0.0-dev", default-features = false, git = "https://github.com/serai-dex/substrate.git", branch = "serai" } frame-executive = { git = "https://github.com/serai-dex/substrate", default-features = false }
frame-try-runtime = { version = "0.10.0-dev", default-features = false, git = "https://github.com/serai-dex/substrate.git", branch = "serai", optional = true } frame-try-runtime = { git = "https://github.com/serai-dex/substrate", default-features = false, optional = true }
pallet-timestamp = { version = "4.0.0-dev", default-features = false, git = "https://github.com/serai-dex/substrate.git", branch = "serai" } pallet-timestamp = { git = "https://github.com/serai-dex/substrate", default-features = false }
pallet-balances = { version = "4.0.0-dev", default-features = false, git = "https://github.com/serai-dex/substrate.git", branch = "serai" } pallet-balances = { git = "https://github.com/serai-dex/substrate", default-features = false }
pallet-transaction-payment = { version = "4.0.0-dev", default-features = false, git = "https://github.com/serai-dex/substrate.git", branch = "serai" } pallet-transaction-payment = { git = "https://github.com/serai-dex/substrate", default-features = false }
# Used for the node template's RPCs # Used for the node template's RPCs
frame-system-rpc-runtime-api = { version = "4.0.0-dev", default-features = false, git = "https://github.com/serai-dex/substrate.git", branch = "serai" } frame-system-rpc-runtime-api = { git = "https://github.com/serai-dex/substrate", default-features = false }
pallet-transaction-payment-rpc-runtime-api = { version = "4.0.0-dev", default-features = false, git = "https://github.com/serai-dex/substrate.git", branch = "serai" } pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/serai-dex/substrate", default-features = false }
# Used for runtime benchmarking # Used for runtime benchmarking
frame-benchmarking = { version = "4.0.0-dev", default-features = false, git = "https://github.com/serai-dex/substrate.git", branch = "serai", optional = true } frame-benchmarking = { git = "https://github.com/serai-dex/substrate", default-features = false, optional = true }
frame-system-benchmarking = { version = "4.0.0-dev", default-features = false, git = "https://github.com/serai-dex/substrate.git", branch = "serai", optional = true } frame-system-benchmarking = { git = "https://github.com/serai-dex/substrate", default-features = false, optional = true }
hex-literal = { version = "0.3.4", optional = true }
[build-dependencies] [build-dependencies]
substrate-wasm-builder = { version = "5.0.0-dev", git = "https://github.com/serai-dex/substrate.git", branch = "serai" } substrate-wasm-builder = { git = "https://github.com/serai-dex/substrate" }
[features] [features]
std = [ std = [
@@ -67,7 +68,7 @@ std = [
"pallet-timestamp/std", "pallet-timestamp/std",
"pallet-balances/std", "pallet-balances/std",
"pallet-transaction-payment/std", "pallet-transaction-payment/std",
"pallet-transaction-payment-rpc-runtime-api/std" "pallet-transaction-payment-rpc-runtime-api/std",
] ]
runtime-benchmarks = [ runtime-benchmarks = [
@@ -78,7 +79,7 @@ runtime-benchmarks = [
"frame-system-benchmarking", "frame-system-benchmarking",
"frame-system/runtime-benchmarks", "frame-system/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks",
"pallet-balances/runtime-benchmarks" "pallet-balances/runtime-benchmarks",
] ]
try-runtime = [ try-runtime = [
@@ -88,7 +89,7 @@ try-runtime = [
"pallet-timestamp/try-runtime", "pallet-timestamp/try-runtime",
"pallet-balances/try-runtime", "pallet-balances/try-runtime",
"pallet-transaction-payment/try-runtime" "pallet-transaction-payment/try-runtime",
] ]
default = ["std"] default = ["std"]