mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 23:18:01 +00:00
0da05cac26
* Remove sleep and use polkadot test service Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> * updates Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> * Fix other tests Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> * Run metrics tests separately Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> * copy some substrate utilities Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> * update runtime metric test Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> * Remove sleep from cli tests Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> * cargo Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> * Polkadot companion for Substrate#10463 (#4519) * Grandpa and Beefy protocol names include chain id Signed-off-by: acatangiu <adrian@parity.io> * chain_spec: include fork id * use simplified protocol name * fix after merge * avoid using hash default, even for protocol names * update lockfile for substrate Co-authored-by: parity-processbot <> * configuration: Update upgrade validation delay doc (#4662) * typo Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> * review feedback Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> * cargo lock Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> * use testnet profile Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> * Don't run with runtime-benchmark feature Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> * conditional compile up one level Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> Co-authored-by: Sergei Shulepov <sergei@parity.io>
70 lines
2.7 KiB
TOML
70 lines
2.7 KiB
TOML
[package]
|
|
name = "polkadot-cli"
|
|
version = "0.9.13"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
description = "Polkadot Relay-chain Client Node"
|
|
edition = "2018"
|
|
|
|
[package.metadata.wasm-pack.profile.release]
|
|
# `wasm-opt` has some problems on Linux, see
|
|
# https://github.com/rustwasm/wasm-pack/issues/781 etc.
|
|
wasm-opt = false
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
log = "0.4.13"
|
|
thiserror = "1.0.30"
|
|
structopt = { version = "0.3.25", optional = true }
|
|
futures = "0.3.19"
|
|
|
|
service = { package = "polkadot-service", path = "../node/service", default-features = false, optional = true }
|
|
polkadot-node-core-pvf = { path = "../node/core/pvf", optional = true }
|
|
polkadot-performance-test = { path = "../node/test/performance-test", optional = true }
|
|
|
|
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true }
|
|
try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true }
|
|
sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true }
|
|
sc-service = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true }
|
|
polkadot-node-metrics = { path = "../node/metrics" }
|
|
sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true }
|
|
|
|
# this crate is used only to enable `trie-memory-tracker` feature
|
|
# see https://github.com/paritytech/substrate/pull/6745
|
|
sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
|
|
[build-dependencies]
|
|
substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
|
|
[features]
|
|
default = [ "wasmtime", "db", "cli", "full-node", "trie-memory-tracker", "polkadot-native" ]
|
|
wasmtime = [ "sc-cli/wasmtime" ]
|
|
db = [ "service/db" ]
|
|
cli = [
|
|
"structopt",
|
|
"sc-cli",
|
|
"sc-service",
|
|
"sc-tracing",
|
|
"frame-benchmarking-cli",
|
|
"try-runtime-cli",
|
|
"polkadot-node-core-pvf",
|
|
"polkadot-performance-test",
|
|
]
|
|
runtime-benchmarks = [ "service/runtime-benchmarks", "polkadot-node-metrics/runtime-benchmarks" ]
|
|
trie-memory-tracker = [ "sp-trie/memory-tracker" ]
|
|
full-node = [ "service/full-node" ]
|
|
try-runtime = [ "service/try-runtime" ]
|
|
|
|
# Configure the native runtimes to use. Polkadot is enabled by default.
|
|
#
|
|
# Validators require the native runtime currently
|
|
polkadot-native = [ "service/polkadot-native" ]
|
|
kusama-native = [ "service/kusama-native" ]
|
|
westend-native = [ "service/westend-native" ]
|
|
rococo-native = [ "service/rococo-native" ]
|
|
|
|
malus = [ "full-node", "service/malus" ]
|
|
runtime-metrics = ["service/runtime-metrics", "polkadot-node-metrics/runtime-metrics"]
|