mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 18:07:58 +00:00
605f643eed
It changes the way we extended the CLI functionalities of substrate to allow more flexibility. (If this was not clear, here is another version: it changes the `sc_cli` API to allow more flexibility).
This touches a few important things:
- the startup of the async task with tokei:
This was in node and node-template and I moved it to substrate. The idea is to have 1 time the code that handles unix signals (SIGTERM and SIGINT) properly. It is however possible to make this more generic to wait for a future instead and provide only a helper for the basic handling of SIGTERM and SIGINT.
- increased the version of structopt and tokei
- no more use of structopt internal's API
- less use of generics
Related to #4643 and https://github.com/paritytech/cumulus/pull/42: the implementation of "into_configuration" and "get_config" are similar but with better flexibility so it is now possible in cumulus to have the command-line arguments only of the run command for polkadot if we want
Related to https://github.com/paritytech/cumulus/issues/24 and https://github.com/paritytech/cumulus/issues/34 : it will now be possible to make a configuration struct for polkadot with some overrides of the default parameters much more easily.
16 lines
432 B
TOML
16 lines
432 B
TOML
[package]
|
|
name = "chain-spec-builder"
|
|
version = "2.0.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
build = "build.rs"
|
|
license = "GPL-3.0"
|
|
|
|
[dependencies]
|
|
ansi_term = "0.12.1"
|
|
sc-keystore = { version = "2.0.0", path = "../../../client/keystore" }
|
|
node-cli = { version = "2.0.0", path = "../../node/cli" }
|
|
sp-core = { version = "2.0.0", path = "../../../primitives/core" }
|
|
rand = "0.7.2"
|
|
structopt = "0.3.8"
|