Tagging as rc1

This commit is contained in:
Benjamin Kampmann
2020-05-25 18:30:48 +02:00
parent d18a55d391
commit fb32ac8c51
190 changed files with 2160 additions and 2190 deletions
+59 -59
View File
@@ -1,6 +1,6 @@
[package]
name = "node-cli"
version = "2.0.0-dev"
version = "2.0.0-rc1"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Generic Substrate node implementation in Rust."
build = "build.rs"
@@ -46,76 +46,76 @@ tracing = "0.1.10"
parking_lot = "0.10.0"
# primitives
sp-authority-discovery = { version = "2.0.0-dev", path = "../../../primitives/authority-discovery" }
sp-consensus-babe = { version = "0.8.0-dev", path = "../../../primitives/consensus/babe" }
grandpa-primitives = { version = "2.0.0-dev", package = "sp-finality-grandpa", path = "../../../primitives/finality-grandpa" }
sp-core = { version = "2.0.0-dev", path = "../../../primitives/core" }
sp-runtime = { version = "2.0.0-dev", path = "../../../primitives/runtime" }
sp-timestamp = { version = "2.0.0-dev", default-features = false, path = "../../../primitives/timestamp" }
sp-finality-tracker = { version = "2.0.0-dev", default-features = false, path = "../../../primitives/finality-tracker" }
sp-inherents = { version = "2.0.0-dev", path = "../../../primitives/inherents" }
sp-keyring = { version = "2.0.0-dev", path = "../../../primitives/keyring" }
sp-io = { version = "2.0.0-dev", path = "../../../primitives/io" }
sp-consensus = { version = "0.8.0-dev", path = "../../../primitives/consensus/common" }
sp-transaction-pool = { version = "2.0.0-dev", path = "../../../primitives/transaction-pool" }
sp-authority-discovery = { version = "2.0.0-rc1", path = "../../../primitives/authority-discovery" }
sp-consensus-babe = { version = "0.8.0-rc1", path = "../../../primitives/consensus/babe" }
grandpa-primitives = { version = "2.0.0-rc1", package = "sp-finality-grandpa", path = "../../../primitives/finality-grandpa" }
sp-core = { version = "2.0.0-rc1", path = "../../../primitives/core" }
sp-runtime = { version = "2.0.0-rc1", path = "../../../primitives/runtime" }
sp-timestamp = { version = "2.0.0-rc1", default-features = false, path = "../../../primitives/timestamp" }
sp-finality-tracker = { version = "2.0.0-rc1", default-features = false, path = "../../../primitives/finality-tracker" }
sp-inherents = { version = "2.0.0-rc1", path = "../../../primitives/inherents" }
sp-keyring = { version = "2.0.0-rc1", path = "../../../primitives/keyring" }
sp-io = { version = "2.0.0-rc1", path = "../../../primitives/io" }
sp-consensus = { version = "0.8.0-rc1", path = "../../../primitives/consensus/common" }
sp-transaction-pool = { version = "2.0.0-rc1", path = "../../../primitives/transaction-pool" }
# client dependencies
sc-client-api = { version = "2.0.0-dev", path = "../../../client/api" }
sc-chain-spec = { version = "2.0.0-dev", path = "../../../client/chain-spec" }
sc-consensus = { version = "0.8.0-dev", path = "../../../client/consensus/common" }
sc-transaction-pool = { version = "2.0.0-dev", path = "../../../client/transaction-pool" }
sc-network = { version = "0.8.0-dev", path = "../../../client/network" }
sc-consensus-babe = { version = "0.8.0-dev", path = "../../../client/consensus/babe" }
grandpa = { version = "0.8.0-dev", package = "sc-finality-grandpa", path = "../../../client/finality-grandpa" }
sc-client-db = { version = "0.8.0-dev", default-features = false, path = "../../../client/db" }
sc-offchain = { version = "2.0.0-dev", path = "../../../client/offchain" }
sc-rpc = { version = "2.0.0-dev", path = "../../../client/rpc" }
sc-basic-authorship = { version = "0.8.0-dev", path = "../../../client/basic-authorship" }
sc-service = { version = "0.8.0-dev", default-features = false, path = "../../../client/service" }
sc-tracing = { version = "2.0.0-dev", path = "../../../client/tracing" }
sc-telemetry = { version = "2.0.0-dev", path = "../../../client/telemetry" }
sc-authority-discovery = { version = "0.8.0-dev", path = "../../../client/authority-discovery" }
sc-client-api = { version = "2.0.0-rc1", path = "../../../client/api" }
sc-chain-spec = { version = "2.0.0-rc1", path = "../../../client/chain-spec" }
sc-consensus = { version = "0.8.0-rc1", path = "../../../client/consensus/common" }
sc-transaction-pool = { version = "2.0.0-rc1", path = "../../../client/transaction-pool" }
sc-network = { version = "0.8.0-rc1", path = "../../../client/network" }
sc-consensus-babe = { version = "0.8.0-rc1", path = "../../../client/consensus/babe" }
grandpa = { version = "0.8.0-rc1", package = "sc-finality-grandpa", path = "../../../client/finality-grandpa" }
sc-client-db = { version = "0.8.0-rc1", default-features = false, path = "../../../client/db" }
sc-offchain = { version = "2.0.0-rc1", path = "../../../client/offchain" }
sc-rpc = { version = "2.0.0-rc1", path = "../../../client/rpc" }
sc-basic-authorship = { version = "0.8.0-rc1", path = "../../../client/basic-authorship" }
sc-service = { version = "0.8.0-rc1", default-features = false, path = "../../../client/service" }
sc-tracing = { version = "2.0.0-rc1", path = "../../../client/tracing" }
sc-telemetry = { version = "2.0.0-rc1", path = "../../../client/telemetry" }
sc-authority-discovery = { version = "0.8.0-rc1", path = "../../../client/authority-discovery" }
# frame dependencies
pallet-indices = { version = "2.0.0-dev", path = "../../../frame/indices" }
pallet-timestamp = { version = "2.0.0-dev", default-features = false, path = "../../../frame/timestamp" }
pallet-contracts = { version = "2.0.0-dev", path = "../../../frame/contracts" }
frame-system = { version = "2.0.0-dev", path = "../../../frame/system" }
pallet-balances = { version = "2.0.0-dev", path = "../../../frame/balances" }
pallet-transaction-payment = { version = "2.0.0-dev", path = "../../../frame/transaction-payment" }
frame-support = { version = "2.0.0-dev", default-features = false, path = "../../../frame/support" }
pallet-im-online = { version = "2.0.0-dev", default-features = false, path = "../../../frame/im-online" }
pallet-authority-discovery = { version = "2.0.0-dev", path = "../../../frame/authority-discovery" }
pallet-staking = { version = "2.0.0-dev", path = "../../../frame/staking" }
pallet-grandpa = { version = "2.0.0-dev", path = "../../../frame/grandpa" }
pallet-indices = { version = "2.0.0-rc1", path = "../../../frame/indices" }
pallet-timestamp = { version = "2.0.0-rc1", default-features = false, path = "../../../frame/timestamp" }
pallet-contracts = { version = "2.0.0-rc1", path = "../../../frame/contracts" }
frame-system = { version = "2.0.0-rc1", path = "../../../frame/system" }
pallet-balances = { version = "2.0.0-rc1", path = "../../../frame/balances" }
pallet-transaction-payment = { version = "2.0.0-rc1", path = "../../../frame/transaction-payment" }
frame-support = { version = "2.0.0-rc1", default-features = false, path = "../../../frame/support" }
pallet-im-online = { version = "2.0.0-rc1", default-features = false, path = "../../../frame/im-online" }
pallet-authority-discovery = { version = "2.0.0-rc1", path = "../../../frame/authority-discovery" }
pallet-staking = { version = "2.0.0-rc1", path = "../../../frame/staking" }
pallet-grandpa = { version = "2.0.0-rc1", path = "../../../frame/grandpa" }
# node-specific dependencies
node-runtime = { version = "2.0.0-dev", path = "../runtime" }
node-rpc = { version = "2.0.0-dev", path = "../rpc" }
node-primitives = { version = "2.0.0-dev", path = "../primitives" }
node-executor = { version = "2.0.0-dev", path = "../executor" }
node-runtime = { version = "2.0.0-rc1", path = "../runtime" }
node-rpc = { version = "2.0.0-rc1", path = "../rpc" }
node-primitives = { version = "2.0.0-rc1", path = "../primitives" }
node-executor = { version = "2.0.0-rc1", path = "../executor" }
# CLI-specific dependencies
sc-cli = { version = "0.8.0-dev", optional = true, path = "../../../client/cli" }
frame-benchmarking-cli = { version = "2.0.0-dev", optional = true, path = "../../../utils/frame/benchmarking-cli" }
node-inspect = { version = "0.8.0-dev", optional = true, path = "../inspect" }
sc-cli = { version = "0.8.0-rc1", optional = true, path = "../../../client/cli" }
frame-benchmarking-cli = { version = "2.0.0-rc1", optional = true, path = "../../../utils/frame/benchmarking-cli" }
node-inspect = { version = "0.8.0-rc1", optional = true, path = "../inspect" }
# WASM-specific dependencies
wasm-bindgen = { version = "0.2.57", optional = true }
wasm-bindgen-futures = { version = "0.4.7", optional = true }
browser-utils = { package = "substrate-browser-utils", path = "../../../utils/browser", optional = true, version = "0.8.0-dev"}
browser-utils = { package = "substrate-browser-utils", path = "../../../utils/browser", optional = true, version = "0.8.0-rc1"}
[target.'cfg(target_arch="x86_64")'.dependencies]
node-executor = { version = "2.0.0-dev", path = "../executor", features = [ "wasmtime" ] }
sc-cli = { version = "0.8.0-dev", optional = true, path = "../../../client/cli", features = [ "wasmtime" ] }
sc-service = { version = "0.8.0-dev", default-features = false, path = "../../../client/service", features = [ "wasmtime" ] }
node-executor = { version = "2.0.0-rc1", path = "../executor", features = [ "wasmtime" ] }
sc-cli = { version = "0.8.0-rc1", optional = true, path = "../../../client/cli", features = [ "wasmtime" ] }
sc-service = { version = "0.8.0-rc1", default-features = false, path = "../../../client/service", features = [ "wasmtime" ] }
[dev-dependencies]
sc-keystore = { version = "2.0.0-dev", path = "../../../client/keystore" }
sc-consensus = { version = "0.8.0-dev", path = "../../../client/consensus/common" }
sc-consensus-babe = { version = "0.8.0-dev", features = ["test-helpers"], path = "../../../client/consensus/babe" }
sc-consensus-epochs = { version = "0.8.0-dev", path = "../../../client/consensus/epochs" }
sc-service-test = { version = "2.0.0-dev", path = "../../../client/service/test" }
sc-keystore = { version = "2.0.0-rc1", path = "../../../client/keystore" }
sc-consensus = { version = "0.8.0-rc1", path = "../../../client/consensus/common" }
sc-consensus-babe = { version = "0.8.0-rc1", features = ["test-helpers"], path = "../../../client/consensus/babe" }
sc-consensus-epochs = { version = "0.8.0-rc1", path = "../../../client/consensus/epochs" }
sc-service-test = { version = "2.0.0-rc1", path = "../../../client/service/test" }
futures = "0.3.4"
tempfile = "3.1.0"
assert_cmd = "1.0"
@@ -126,12 +126,12 @@ platforms = "0.2.1"
[build-dependencies]
structopt = { version = "0.3.8", optional = true }
node-inspect = { version = "0.8.0-dev", optional = true, path = "../inspect" }
frame-benchmarking-cli = { version = "2.0.0-dev", optional = true, path = "../../../utils/frame/benchmarking-cli" }
substrate-build-script-utils = { version = "2.0.0-dev", optional = true, path = "../../../utils/build-script-utils" }
node-inspect = { version = "0.8.0-rc1", optional = true, path = "../inspect" }
frame-benchmarking-cli = { version = "2.0.0-rc1", optional = true, path = "../../../utils/frame/benchmarking-cli" }
substrate-build-script-utils = { version = "2.0.0-rc1", optional = true, path = "../../../utils/build-script-utils" }
[build-dependencies.sc-cli]
version = "0.8.0-dev"
version = "0.8.0-rc1"
package = "sc-cli"
path = "../../../client/cli"
optional = true
@@ -25,7 +25,7 @@ fn build_spec_works() {
let base_path = tempdir().expect("could not create a temp dir");
let output = Command::new(cargo_bin("substrate"))
.args(&["build-spec", "--dev", "-d"])
.args(&["build-spec", "--rc1", "-d"])
.arg(base_path.path())
.output()
.unwrap();
@@ -31,7 +31,7 @@ fn check_block_works() {
common::run_dev_node_for_a_while(base_path.path());
let status = Command::new(cargo_bin("substrate"))
.args(&["check-block", "--dev", "--pruning", "archive", "-d"])
.args(&["check-block", "--rc1", "--pruning", "archive", "-d"])
.arg(base_path.path())
.arg("1")
.status()
+1 -1
View File
@@ -51,7 +51,7 @@ pub fn run_dev_node_for_a_while(base_path: &Path) {
let mut cmd = Command::new(cargo_bin("substrate"));
let mut cmd = cmd
.args(&["--dev"])
.args(&["--rc1"])
.arg("-d")
.arg(base_path)
.spawn()
@@ -82,8 +82,8 @@ impl<'a> ExportImportRevertExecutor<'a> {
let sub_command_str = sub_command.to_string();
// Adding "--binary" if need be.
let arguments: Vec<&str> = match format_opt {
FormatOpt::Binary => vec![&sub_command_str, "--dev", "--pruning", "archive", "--binary", "-d"],
FormatOpt::Json => vec![&sub_command_str, "--dev", "--pruning", "archive", "-d"],
FormatOpt::Binary => vec![&sub_command_str, "--rc1", "--pruning", "archive", "--binary", "-d"],
FormatOpt::Json => vec![&sub_command_str, "--rc1", "--pruning", "archive", "-d"],
};
let tmp: TempDir;
@@ -166,7 +166,7 @@ impl<'a> ExportImportRevertExecutor<'a> {
/// Runs the `revert` command.
fn run_revert(&self) {
let output = Command::new(cargo_bin("substrate"))
.args(&["revert", "--dev", "--pruning", "archive", "-d"])
.args(&["revert", "--rc1", "--pruning", "archive", "-d"])
.arg(&self.base_path.path())
.output()
.unwrap();
@@ -31,7 +31,7 @@ fn inspect_works() {
common::run_dev_node_for_a_while(base_path.path());
let status = Command::new(cargo_bin("substrate"))
.args(&["inspect", "--dev", "--pruning", "archive", "-d"])
.args(&["inspect", "--rc1", "--pruning", "archive", "-d"])
.arg(base_path.path())
.args(&["block", "1"])
.status()
@@ -30,7 +30,7 @@ fn purge_chain_works() {
common::run_dev_node_for_a_while(base_path.path());
let status = Command::new(cargo_bin("substrate"))
.args(&["purge-chain", "--dev", "-d"])
.args(&["purge-chain", "--rc1", "-d"])
.arg(base_path.path())
.arg("-y")
.status()
@@ -31,7 +31,7 @@ fn running_the_node_works_and_can_be_interrupted() {
fn run_command_and_kill(signal: Signal) {
let base_path = tempdir().expect("could not create a temp dir");
let mut cmd = Command::new(cargo_bin("substrate"))
.args(&["--dev", "-d"])
.args(&["--rc1", "-d"])
.arg(base_path.path())
.spawn()
.unwrap();