mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-25 18:47:56 +00:00
8e95a3e1aa
Working towards migrating the `parity-bridges-common` repo inside `polkadot-sdk`. This PR upgrades some dependencies in order to align them with the versions used in `parity-bridges-common` Related to https://github.com/paritytech/parity-bridges-common/issues/2538
233 lines
11 KiB
TOML
233 lines
11 KiB
TOML
[package]
|
|
name = "polkadot-service"
|
|
rust-version = "1.60"
|
|
version = "7.0.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "Utils to tie different Polkadot components together and allow instantiation of a node."
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
# Substrate Client
|
|
sc-authority-discovery = { path = "../../../substrate/client/authority-discovery" }
|
|
babe = { package = "sc-consensus-babe", path = "../../../substrate/client/consensus/babe" }
|
|
beefy = { package = "sc-consensus-beefy", path = "../../../substrate/client/consensus/beefy" }
|
|
grandpa = { package = "sc-consensus-grandpa", path = "../../../substrate/client/consensus/grandpa" }
|
|
mmr-gadget = { path = "../../../substrate/client/merkle-mountain-range" }
|
|
sp-mmr-primitives = { path = "../../../substrate/primitives/merkle-mountain-range" }
|
|
sc-block-builder = { path = "../../../substrate/client/block-builder" }
|
|
sc-chain-spec = { path = "../../../substrate/client/chain-spec" }
|
|
sc-client-api = { path = "../../../substrate/client/api" }
|
|
sc-client-db = { path = "../../../substrate/client/db" }
|
|
sc-consensus = { path = "../../../substrate/client/consensus/common" }
|
|
sc-consensus-slots = { path = "../../../substrate/client/consensus/slots" }
|
|
sc-executor = { path = "../../../substrate/client/executor" }
|
|
sc-network = { path = "../../../substrate/client/network" }
|
|
sc-network-common = { path = "../../../substrate/client/network/common" }
|
|
sc-network-sync = { path = "../../../substrate/client/network/sync" }
|
|
sc-transaction-pool = { path = "../../../substrate/client/transaction-pool" }
|
|
sc-transaction-pool-api = { path = "../../../substrate/client/transaction-pool/api" }
|
|
sc-sync-state-rpc = { path = "../../../substrate/client/sync-state-rpc" }
|
|
sc-keystore = { path = "../../../substrate/client/keystore" }
|
|
sc-basic-authorship = { path = "../../../substrate/client/basic-authorship" }
|
|
sc-offchain = { path = "../../../substrate/client/offchain" }
|
|
sc-sysinfo = { path = "../../../substrate/client/sysinfo" }
|
|
service = { package = "sc-service", path = "../../../substrate/client/service", default-features = false }
|
|
telemetry = { package = "sc-telemetry", path = "../../../substrate/client/telemetry" }
|
|
|
|
# Substrate Primitives
|
|
sp-authority-discovery = { path = "../../../substrate/primitives/authority-discovery" }
|
|
consensus_common = { package = "sp-consensus", path = "../../../substrate/primitives/consensus/common" }
|
|
beefy-primitives = { package = "sp-consensus-beefy", path = "../../../substrate/primitives/consensus/beefy" }
|
|
grandpa_primitives = { package = "sp-consensus-grandpa", path = "../../../substrate/primitives/consensus/grandpa" }
|
|
sp-inherents = { path = "../../../substrate/primitives/inherents" }
|
|
sp-keyring = { path = "../../../substrate/primitives/keyring" }
|
|
sp-api = { path = "../../../substrate/primitives/api" }
|
|
sp-block-builder = { path = "../../../substrate/primitives/block-builder" }
|
|
sp-blockchain = { path = "../../../substrate/primitives/blockchain" }
|
|
sp-core = { path = "../../../substrate/primitives/core" }
|
|
sp-io = { path = "../../../substrate/primitives/io" }
|
|
sp-keystore = { path = "../../../substrate/primitives/keystore" }
|
|
sp-offchain = { package = "sp-offchain", path = "../../../substrate/primitives/offchain" }
|
|
sp-runtime = { path = "../../../substrate/primitives/runtime" }
|
|
sp-session = { path = "../../../substrate/primitives/session" }
|
|
sp-storage = { path = "../../../substrate/primitives/storage" }
|
|
sp-transaction-pool = { path = "../../../substrate/primitives/transaction-pool" }
|
|
pallet-transaction-payment = { path = "../../../substrate/frame/transaction-payment" }
|
|
sp-timestamp = { path = "../../../substrate/primitives/timestamp" }
|
|
sp-consensus-babe = { path = "../../../substrate/primitives/consensus/babe" }
|
|
sp-state-machine = { path = "../../../substrate/primitives/state-machine" }
|
|
sp-weights = { path = "../../../substrate/primitives/weights" }
|
|
sp-version = { path = "../../../substrate/primitives/version" }
|
|
|
|
# Substrate Pallets
|
|
pallet-babe = { path = "../../../substrate/frame/babe" }
|
|
pallet-staking = { path = "../../../substrate/frame/staking" }
|
|
pallet-transaction-payment-rpc-runtime-api = { path = "../../../substrate/frame/transaction-payment/rpc/runtime-api" }
|
|
frame-system = { path = "../../../substrate/frame/system" }
|
|
|
|
# Substrate Other
|
|
frame-system-rpc-runtime-api = { path = "../../../substrate/frame/system/rpc/runtime-api" }
|
|
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../substrate/utils/prometheus" }
|
|
frame-support = { path = "../../../substrate/frame/support" }
|
|
frame-benchmarking-cli = { path = "../../../substrate/utils/frame/benchmarking-cli" }
|
|
frame-benchmarking = { path = "../../../substrate/frame/benchmarking" }
|
|
|
|
# External Crates
|
|
async-trait = "0.1.79"
|
|
futures = "0.3.30"
|
|
hex-literal = "0.4.1"
|
|
is_executable = "1.0.1"
|
|
gum = { package = "tracing-gum", path = "../gum" }
|
|
log = { workspace = true, default-features = true }
|
|
schnellru = "0.2.1"
|
|
serde = { features = ["derive"], workspace = true, default-features = true }
|
|
serde_json = { workspace = true, default-features = true }
|
|
thiserror = { workspace = true }
|
|
kvdb = "0.13.0"
|
|
kvdb-rocksdb = { version = "0.19.0", optional = true }
|
|
parity-db = { version = "0.4.12", optional = true }
|
|
codec = { package = "parity-scale-codec", version = "3.6.1" }
|
|
parking_lot = "0.12.1"
|
|
bitvec = { version = "1.0.1", optional = true }
|
|
|
|
# Polkadot
|
|
polkadot-core-primitives = { path = "../../core-primitives" }
|
|
polkadot-node-core-parachains-inherent = { path = "../core/parachains-inherent" }
|
|
polkadot-overseer = { path = "../overseer" }
|
|
polkadot-parachain-primitives = { path = "../../parachain" }
|
|
polkadot-primitives = { path = "../../primitives" }
|
|
polkadot-node-primitives = { path = "../primitives" }
|
|
polkadot-rpc = { path = "../../rpc" }
|
|
polkadot-node-subsystem = { path = "../subsystem" }
|
|
polkadot-node-subsystem-util = { path = "../subsystem-util" }
|
|
polkadot-node-subsystem-types = { path = "../subsystem-types" }
|
|
polkadot-runtime-parachains = { path = "../../runtime/parachains" }
|
|
polkadot-node-network-protocol = { path = "../network/protocol" }
|
|
|
|
# Polkadot Runtime Constants
|
|
rococo-runtime-constants = { path = "../../runtime/rococo/constants", optional = true }
|
|
westend-runtime-constants = { path = "../../runtime/westend/constants", optional = true }
|
|
|
|
# Polkadot Runtimes
|
|
westend-runtime = { path = "../../runtime/westend", optional = true }
|
|
rococo-runtime = { path = "../../runtime/rococo", optional = true }
|
|
|
|
# Polkadot Subsystems
|
|
polkadot-approval-distribution = { path = "../network/approval-distribution", optional = true }
|
|
polkadot-availability-bitfield-distribution = { path = "../network/bitfield-distribution", optional = true }
|
|
polkadot-availability-distribution = { path = "../network/availability-distribution", optional = true }
|
|
polkadot-availability-recovery = { path = "../network/availability-recovery", optional = true }
|
|
polkadot-collator-protocol = { path = "../network/collator-protocol", optional = true }
|
|
polkadot-dispute-distribution = { path = "../network/dispute-distribution", optional = true }
|
|
polkadot-gossip-support = { path = "../network/gossip-support", optional = true }
|
|
polkadot-network-bridge = { path = "../network/bridge", optional = true }
|
|
polkadot-node-collation-generation = { path = "../collation-generation", optional = true }
|
|
polkadot-node-core-approval-voting = { path = "../core/approval-voting", optional = true }
|
|
polkadot-node-core-av-store = { path = "../core/av-store", optional = true }
|
|
polkadot-node-core-backing = { path = "../core/backing", optional = true }
|
|
polkadot-node-core-bitfield-signing = { path = "../core/bitfield-signing", optional = true }
|
|
polkadot-node-core-candidate-validation = { path = "../core/candidate-validation", optional = true }
|
|
polkadot-node-core-chain-api = { path = "../core/chain-api", optional = true }
|
|
polkadot-node-core-chain-selection = { path = "../core/chain-selection", optional = true }
|
|
polkadot-node-core-dispute-coordinator = { path = "../core/dispute-coordinator", optional = true }
|
|
polkadot-node-core-prospective-parachains = { path = "../core/prospective-parachains", optional = true }
|
|
polkadot-node-core-provisioner = { path = "../core/provisioner", optional = true }
|
|
polkadot-node-core-pvf = { path = "../core/pvf", optional = true }
|
|
polkadot-node-core-pvf-checker = { path = "../core/pvf-checker", optional = true }
|
|
polkadot-node-core-runtime-api = { path = "../core/runtime-api", optional = true }
|
|
polkadot-statement-distribution = { path = "../network/statement-distribution", optional = true }
|
|
|
|
xcm = { package = "staging-xcm", path = "../../xcm" }
|
|
xcm-fee-payment-runtime-api = { path = "../../xcm/xcm-fee-payment-runtime-api" }
|
|
|
|
[dev-dependencies]
|
|
polkadot-test-client = { path = "../test/client" }
|
|
polkadot-node-subsystem-test-helpers = { path = "../subsystem-test-helpers" }
|
|
test-helpers = { package = "polkadot-primitives-test-helpers", path = "../../primitives/test-helpers" }
|
|
env_logger = "0.11"
|
|
assert_matches = "1.5.0"
|
|
serial_test = "2.0.0"
|
|
tempfile = "3.2"
|
|
|
|
[features]
|
|
default = ["db", "full-node"]
|
|
|
|
db = ["service/rocksdb"]
|
|
|
|
full-node = [
|
|
"kvdb-rocksdb",
|
|
"parity-db",
|
|
"polkadot-approval-distribution",
|
|
"polkadot-availability-bitfield-distribution",
|
|
"polkadot-availability-distribution",
|
|
"polkadot-availability-recovery",
|
|
"polkadot-collator-protocol",
|
|
"polkadot-dispute-distribution",
|
|
"polkadot-gossip-support",
|
|
"polkadot-network-bridge",
|
|
"polkadot-node-collation-generation",
|
|
"polkadot-node-core-approval-voting",
|
|
"polkadot-node-core-av-store",
|
|
"polkadot-node-core-backing",
|
|
"polkadot-node-core-bitfield-signing",
|
|
"polkadot-node-core-candidate-validation",
|
|
"polkadot-node-core-chain-api",
|
|
"polkadot-node-core-chain-selection",
|
|
"polkadot-node-core-dispute-coordinator",
|
|
"polkadot-node-core-prospective-parachains",
|
|
"polkadot-node-core-provisioner",
|
|
"polkadot-node-core-pvf",
|
|
"polkadot-node-core-pvf-checker",
|
|
"polkadot-node-core-runtime-api",
|
|
"polkadot-statement-distribution",
|
|
]
|
|
|
|
# Configure the native runtimes to use.
|
|
westend-native = ["bitvec", "westend-runtime", "westend-runtime-constants"]
|
|
rococo-native = ["bitvec", "rococo-runtime", "rococo-runtime-constants"]
|
|
|
|
runtime-benchmarks = [
|
|
"frame-benchmarking-cli/runtime-benchmarks",
|
|
"frame-benchmarking/runtime-benchmarks",
|
|
"frame-support/runtime-benchmarks",
|
|
"frame-system/runtime-benchmarks",
|
|
"pallet-babe/runtime-benchmarks",
|
|
"pallet-staking/runtime-benchmarks",
|
|
"polkadot-parachain-primitives/runtime-benchmarks",
|
|
"polkadot-primitives/runtime-benchmarks",
|
|
"polkadot-runtime-parachains/runtime-benchmarks",
|
|
"polkadot-test-client/runtime-benchmarks",
|
|
"rococo-runtime?/runtime-benchmarks",
|
|
"sc-client-db/runtime-benchmarks",
|
|
"service/runtime-benchmarks",
|
|
"sp-runtime/runtime-benchmarks",
|
|
"westend-runtime?/runtime-benchmarks",
|
|
]
|
|
try-runtime = [
|
|
"frame-support/try-runtime",
|
|
"frame-system/try-runtime",
|
|
"pallet-babe/try-runtime",
|
|
"pallet-staking/try-runtime",
|
|
"pallet-transaction-payment/try-runtime",
|
|
"polkadot-runtime-parachains/try-runtime",
|
|
"rococo-runtime?/try-runtime",
|
|
"sp-runtime/try-runtime",
|
|
"westend-runtime?/try-runtime",
|
|
]
|
|
fast-runtime = ["rococo-runtime?/fast-runtime", "westend-runtime?/fast-runtime"]
|
|
|
|
malus = ["full-node"]
|
|
runtime-metrics = [
|
|
"polkadot-runtime-parachains/runtime-metrics",
|
|
"rococo-runtime?/runtime-metrics",
|
|
"westend-runtime?/runtime-metrics",
|
|
]
|
|
|
|
elastic-scaling-experimental = [
|
|
"polkadot-collator-protocol?/elastic-scaling-experimental",
|
|
]
|