mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-10 05:09:22 +00:00
Update Cargo.tomls for substrate packages
This commit is contained in:
56
Cargo.lock
generated
56
Cargo.lock
generated
@@ -2591,21 +2591,6 @@ dependencies = [
|
|||||||
"sp-weights",
|
"sp-weights",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "frame-system-benchmarking"
|
|
||||||
version = "4.0.0-dev"
|
|
||||||
source = "git+https://github.com/serai-dex/substrate#176b4e8cfc110f339d88ebd414602bc3833da3c3"
|
|
||||||
dependencies = [
|
|
||||||
"frame-benchmarking",
|
|
||||||
"frame-support",
|
|
||||||
"frame-system",
|
|
||||||
"parity-scale-codec",
|
|
||||||
"scale-info",
|
|
||||||
"sp-core",
|
|
||||||
"sp-runtime",
|
|
||||||
"sp-std",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "frame-system-rpc-runtime-api"
|
name = "frame-system-rpc-runtime-api"
|
||||||
version = "4.0.0-dev"
|
version = "4.0.0-dev"
|
||||||
@@ -6577,31 +6562,6 @@ dependencies = [
|
|||||||
"thiserror",
|
"thiserror",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "sc-consensus-pow"
|
|
||||||
version = "0.10.0-dev"
|
|
||||||
source = "git+https://github.com/serai-dex/substrate#176b4e8cfc110f339d88ebd414602bc3833da3c3"
|
|
||||||
dependencies = [
|
|
||||||
"async-trait",
|
|
||||||
"futures",
|
|
||||||
"futures-timer",
|
|
||||||
"log",
|
|
||||||
"parity-scale-codec",
|
|
||||||
"parking_lot 0.12.1",
|
|
||||||
"sc-client-api",
|
|
||||||
"sc-consensus",
|
|
||||||
"sp-api",
|
|
||||||
"sp-block-builder",
|
|
||||||
"sp-blockchain",
|
|
||||||
"sp-consensus",
|
|
||||||
"sp-consensus-pow",
|
|
||||||
"sp-core",
|
|
||||||
"sp-inherents",
|
|
||||||
"sp-runtime",
|
|
||||||
"substrate-prometheus-endpoint",
|
|
||||||
"thiserror",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "sc-executor"
|
name = "sc-executor"
|
||||||
version = "0.10.0-dev"
|
version = "0.10.0-dev"
|
||||||
@@ -7430,7 +7390,6 @@ dependencies = [
|
|||||||
"sc-basic-authorship",
|
"sc-basic-authorship",
|
||||||
"sc-client-api",
|
"sc-client-api",
|
||||||
"sc-consensus",
|
"sc-consensus",
|
||||||
"sc-consensus-pow",
|
|
||||||
"sc-executor",
|
"sc-executor",
|
||||||
"sc-network",
|
"sc-network",
|
||||||
"sc-service",
|
"sc-service",
|
||||||
@@ -7440,12 +7399,10 @@ dependencies = [
|
|||||||
"sp-application-crypto",
|
"sp-application-crypto",
|
||||||
"sp-blockchain",
|
"sp-blockchain",
|
||||||
"sp-consensus",
|
"sp-consensus",
|
||||||
"sp-consensus-pow",
|
|
||||||
"sp-core",
|
"sp-core",
|
||||||
"sp-inherents",
|
"sp-inherents",
|
||||||
"sp-runtime",
|
"sp-runtime",
|
||||||
"sp-timestamp",
|
"sp-timestamp",
|
||||||
"sp-trie",
|
|
||||||
"substrate-prometheus-endpoint",
|
"substrate-prometheus-endpoint",
|
||||||
"tendermint-machine",
|
"tendermint-machine",
|
||||||
"tokio",
|
"tokio",
|
||||||
@@ -7539,7 +7496,6 @@ dependencies = [
|
|||||||
"frame-executive",
|
"frame-executive",
|
||||||
"frame-support",
|
"frame-support",
|
||||||
"frame-system",
|
"frame-system",
|
||||||
"frame-system-benchmarking",
|
|
||||||
"frame-system-rpc-runtime-api",
|
"frame-system-rpc-runtime-api",
|
||||||
"hex-literal",
|
"hex-literal",
|
||||||
"pallet-balances",
|
"pallet-balances",
|
||||||
@@ -7948,18 +7904,6 @@ dependencies = [
|
|||||||
"thiserror",
|
"thiserror",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "sp-consensus-pow"
|
|
||||||
version = "0.10.0-dev"
|
|
||||||
source = "git+https://github.com/serai-dex/substrate#176b4e8cfc110f339d88ebd414602bc3833da3c3"
|
|
||||||
dependencies = [
|
|
||||||
"parity-scale-codec",
|
|
||||||
"sp-api",
|
|
||||||
"sp-core",
|
|
||||||
"sp-runtime",
|
|
||||||
"sp-std",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "sp-core"
|
name = "sp-core"
|
||||||
version = "6.0.0"
|
version = "6.0.0"
|
||||||
|
|||||||
@@ -15,35 +15,27 @@ rustdoc-args = ["--cfg", "docsrs"]
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
async-trait = "0.1"
|
async-trait = "0.1"
|
||||||
|
|
||||||
|
tokio = "1"
|
||||||
|
|
||||||
sp-core = { git = "https://github.com/serai-dex/substrate" }
|
sp-core = { git = "https://github.com/serai-dex/substrate" }
|
||||||
sp-application-crypto = { git = "https://github.com/serai-dex/substrate" }
|
sp-application-crypto = { git = "https://github.com/serai-dex/substrate" }
|
||||||
sp-inherents = { git = "https://github.com/serai-dex/substrate" }
|
sp-inherents = { git = "https://github.com/serai-dex/substrate" }
|
||||||
sp-runtime = { 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-consensus = { git = "https://github.com/serai-dex/substrate" }
|
|
||||||
sc-consensus = { git = "https://github.com/serai-dex/substrate" }
|
|
||||||
|
|
||||||
tendermint-machine = { path = "../tendermint", features = ["substrate"] }
|
|
||||||
|
|
||||||
# --
|
|
||||||
|
|
||||||
sp-trie = { git = "https://github.com/serai-dex/substrate" }
|
|
||||||
sp-timestamp = { git = "https://github.com/serai-dex/substrate" }
|
sp-timestamp = { git = "https://github.com/serai-dex/substrate" }
|
||||||
|
sp-blockchain = { git = "https://github.com/serai-dex/substrate" }
|
||||||
|
sp-runtime = { git = "https://github.com/serai-dex/substrate" }
|
||||||
|
sp-api = { git = "https://github.com/serai-dex/substrate" }
|
||||||
|
sp-consensus = { git = "https://github.com/serai-dex/substrate" }
|
||||||
|
|
||||||
sc-transaction-pool = { git = "https://github.com/serai-dex/substrate" }
|
sc-transaction-pool = { 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-consensus-pow = { git = "https://github.com/serai-dex/substrate" }
|
sc-executor = { git = "https://github.com/serai-dex/substrate" }
|
||||||
sp-consensus-pow = { 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-service = { git = "https://github.com/serai-dex/substrate", features = ["wasmtime"] }
|
sc-service = { git = "https://github.com/serai-dex/substrate" }
|
||||||
sc-executor = { git = "https://github.com/serai-dex/substrate", features = ["wasmtime"] }
|
sc-client-api = { git = "https://github.com/serai-dex/substrate" }
|
||||||
|
sc-consensus = { git = "https://github.com/serai-dex/substrate" }
|
||||||
|
|
||||||
substrate-prometheus-endpoint = { git = "https://github.com/serai-dex/substrate" }
|
substrate-prometheus-endpoint = { git = "https://github.com/serai-dex/substrate" }
|
||||||
|
|
||||||
sc-client-api = { git = "https://github.com/serai-dex/substrate" }
|
tendermint-machine = { path = "../tendermint", features = ["substrate"] }
|
||||||
|
|
||||||
serai-runtime = { path = "../runtime" }
|
serai-runtime = { path = "../runtime" }
|
||||||
|
|
||||||
tokio = "1"
|
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ pub fn import_queue(
|
|||||||
Ok(import_queue::import_queue(
|
Ok(import_queue::import_queue(
|
||||||
client.clone(),
|
client.clone(),
|
||||||
client,
|
client,
|
||||||
Arc::new(|_, _| async { Ok(()) }),
|
Arc::new(|_, _| async { Ok(sp_timestamp::InherentDataProvider::from_system_time()) }),
|
||||||
&task_manager.spawn_essential_handle(),
|
&task_manager.spawn_essential_handle(),
|
||||||
registry,
|
registry,
|
||||||
))
|
))
|
||||||
|
|||||||
@@ -13,41 +13,40 @@ name = "serai-node"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
clap = { version = "4", features = ["derive"] }
|
clap = { version = "4", features = ["derive"] }
|
||||||
|
jsonrpsee = { version = "0.15", features = ["server"] }
|
||||||
|
|
||||||
sc-cli = { git = "https://github.com/serai-dex/substrate", features = ["wasmtime"] }
|
|
||||||
sp-core = { git = "https://github.com/serai-dex/substrate" }
|
sp-core = { git = "https://github.com/serai-dex/substrate" }
|
||||||
sc-executor = { git = "https://github.com/serai-dex/substrate", features = ["wasmtime"] }
|
sp-runtime = { git = "https://github.com/serai-dex/substrate" }
|
||||||
sc-service = { git = "https://github.com/serai-dex/substrate", features = ["wasmtime"] }
|
sp-timestamp = { git = "https://github.com/serai-dex/substrate" }
|
||||||
|
sp-inherents = { git = "https://github.com/serai-dex/substrate" }
|
||||||
|
sp-keyring = { git = "https://github.com/serai-dex/substrate" }
|
||||||
|
sp-api = { git = "https://github.com/serai-dex/substrate" }
|
||||||
|
sp-blockchain = { git = "https://github.com/serai-dex/substrate" }
|
||||||
|
sp-block-builder = { git = "https://github.com/serai-dex/substrate" }
|
||||||
|
|
||||||
|
sc-cli = { 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-telemetry = { git = "https://github.com/serai-dex/substrate" }
|
sc-telemetry = { git = "https://github.com/serai-dex/substrate" }
|
||||||
sc-keystore = { git = "https://github.com/serai-dex/substrate" }
|
sc-keystore = { git = "https://github.com/serai-dex/substrate" }
|
||||||
sc-transaction-pool = { git = "https://github.com/serai-dex/substrate" }
|
sc-transaction-pool = { git = "https://github.com/serai-dex/substrate" }
|
||||||
sc-transaction-pool-api = { git = "https://github.com/serai-dex/substrate" }
|
sc-transaction-pool-api = { 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-client-api = { git = "https://github.com/serai-dex/substrate" }
|
sc-client-api = { git = "https://github.com/serai-dex/substrate" }
|
||||||
sp-runtime = { git = "https://github.com/serai-dex/substrate" }
|
|
||||||
sp-timestamp = { git = "https://github.com/serai-dex/substrate" }
|
|
||||||
sp-inherents = { git = "https://github.com/serai-dex/substrate" }
|
|
||||||
sp-keyring = { git = "https://github.com/serai-dex/substrate" }
|
|
||||||
frame-system = { git = "https://github.com/serai-dex/substrate" }
|
frame-system = { git = "https://github.com/serai-dex/substrate" }
|
||||||
|
frame-benchmarking = { git = "https://github.com/serai-dex/substrate" }
|
||||||
|
frame-benchmarking-cli = { git = "https://github.com/serai-dex/substrate" }
|
||||||
pallet-transaction-payment = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
pallet-transaction-payment = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
||||||
|
|
||||||
# These dependencies are used for the node template's RPCs
|
|
||||||
jsonrpsee = { version = "0.15", features = ["server"] }
|
|
||||||
sc-rpc = { git = "https://github.com/serai-dex/substrate" }
|
sc-rpc = { git = "https://github.com/serai-dex/substrate" }
|
||||||
sp-api = { git = "https://github.com/serai-dex/substrate" }
|
|
||||||
sc-rpc-api = { git = "https://github.com/serai-dex/substrate" }
|
sc-rpc-api = { git = "https://github.com/serai-dex/substrate" }
|
||||||
sp-blockchain = { git = "https://github.com/serai-dex/substrate" }
|
|
||||||
sp-block-builder = { git = "https://github.com/serai-dex/substrate" }
|
|
||||||
substrate-frame-rpc-system = { git = "https://github.com/serai-dex/substrate" }
|
substrate-frame-rpc-system = { git = "https://github.com/serai-dex/substrate" }
|
||||||
pallet-transaction-payment-rpc = { git = "https://github.com/serai-dex/substrate" }
|
pallet-transaction-payment-rpc = { git = "https://github.com/serai-dex/substrate" }
|
||||||
|
|
||||||
# These dependencies are used for runtime benchmarking
|
|
||||||
frame-benchmarking = { git = "https://github.com/serai-dex/substrate" }
|
|
||||||
frame-benchmarking-cli = { git = "https://github.com/serai-dex/substrate" }
|
|
||||||
|
|
||||||
# Local dependencies
|
|
||||||
serai-consensus = { path = "../consensus" }
|
|
||||||
serai-runtime = { path = "../runtime" }
|
serai-runtime = { path = "../runtime" }
|
||||||
|
serai-consensus = { path = "../consensus" }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
substrate-build-script-utils = { git = "https://github.com/serai-dex/substrate.git" }
|
substrate-build-script-utils = { git = "https://github.com/serai-dex/substrate.git" }
|
||||||
@@ -57,5 +56,6 @@ default = []
|
|||||||
runtime-benchmarks = [
|
runtime-benchmarks = [
|
||||||
"frame-benchmarking/runtime-benchmarks",
|
"frame-benchmarking/runtime-benchmarks",
|
||||||
"frame-benchmarking-cli/runtime-benchmarks",
|
"frame-benchmarking-cli/runtime-benchmarks",
|
||||||
|
|
||||||
"serai-runtime/runtime-benchmarks"
|
"serai-runtime/runtime-benchmarks"
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -28,26 +28,22 @@ sp-block-builder = { git = "https://github.com/serai-dex/substrate", default-fea
|
|||||||
sp-runtime = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
sp-runtime = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
||||||
sp-api = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
sp-api = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
||||||
|
|
||||||
frame-support = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
||||||
frame-system = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
frame-system = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
||||||
|
frame-support = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
||||||
frame-executive = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
frame-executive = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
||||||
|
frame-benchmarking = { git = "https://github.com/serai-dex/substrate", default-features = false, optional = true }
|
||||||
|
|
||||||
pallet-randomness-collective-flip = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
||||||
pallet-timestamp = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
pallet-timestamp = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
||||||
|
pallet-randomness-collective-flip = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
||||||
pallet-balances = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
pallet-balances = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
||||||
pallet-transaction-payment = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
pallet-transaction-payment = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
||||||
|
|
||||||
pallet-contracts-primitives = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
pallet-contracts-primitives = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
||||||
pallet-contracts = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
pallet-contracts = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
||||||
|
|
||||||
# Used for the node template's RPCs
|
|
||||||
frame-system-rpc-runtime-api = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
frame-system-rpc-runtime-api = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
||||||
pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
||||||
|
|
||||||
# Used for runtime benchmarking
|
|
||||||
frame-benchmarking = { git = "https://github.com/serai-dex/substrate", default-features = false, optional = true }
|
|
||||||
frame-system-benchmarking = { git = "https://github.com/serai-dex/substrate", default-features = false, optional = true }
|
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
substrate-wasm-builder = { git = "https://github.com/serai-dex/substrate" }
|
substrate-wasm-builder = { git = "https://github.com/serai-dex/substrate" }
|
||||||
|
|
||||||
@@ -67,28 +63,31 @@ std = [
|
|||||||
"sp-runtime/std",
|
"sp-runtime/std",
|
||||||
"sp-api/std",
|
"sp-api/std",
|
||||||
|
|
||||||
"frame-support/std",
|
|
||||||
"frame-system-rpc-runtime-api/std",
|
|
||||||
"frame-system/std",
|
"frame-system/std",
|
||||||
|
"frame-support/std",
|
||||||
"frame-executive/std",
|
"frame-executive/std",
|
||||||
|
|
||||||
"pallet-randomness-collective-flip/std",
|
|
||||||
"pallet-timestamp/std",
|
"pallet-timestamp/std",
|
||||||
|
"pallet-randomness-collective-flip/std",
|
||||||
"pallet-balances/std",
|
"pallet-balances/std",
|
||||||
"pallet-transaction-payment/std",
|
"pallet-transaction-payment/std",
|
||||||
"pallet-transaction-payment-rpc-runtime-api/std",
|
|
||||||
|
|
||||||
"pallet-contracts/std",
|
"pallet-contracts/std",
|
||||||
"pallet-contracts-primitives/std",
|
"pallet-contracts-primitives/std",
|
||||||
|
|
||||||
|
"frame-system-rpc-runtime-api/std",
|
||||||
|
"pallet-transaction-payment-rpc-runtime-api/std",
|
||||||
]
|
]
|
||||||
|
|
||||||
runtime-benchmarks = [
|
runtime-benchmarks = [
|
||||||
"hex-literal",
|
"hex-literal",
|
||||||
|
|
||||||
"sp-runtime/runtime-benchmarks",
|
"sp-runtime/runtime-benchmarks",
|
||||||
"frame-benchmarking/runtime-benchmarks",
|
|
||||||
"frame-support/runtime-benchmarks",
|
|
||||||
"frame-system-benchmarking",
|
|
||||||
"frame-system/runtime-benchmarks",
|
"frame-system/runtime-benchmarks",
|
||||||
|
"frame-support/runtime-benchmarks",
|
||||||
|
"frame-benchmarking/runtime-benchmarks",
|
||||||
|
|
||||||
"pallet-timestamp/runtime-benchmarks",
|
"pallet-timestamp/runtime-benchmarks",
|
||||||
"pallet-balances/runtime-benchmarks",
|
"pallet-balances/runtime-benchmarks",
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user