Fix native version text on startup (#5618)

* Native version text was borked.

* Unfix benchmarking.
This commit is contained in:
Gavin Wood
2020-04-13 19:06:48 +02:00
committed by GitHub
parent 1e1b066817
commit a5da816e89
6 changed files with 20 additions and 5 deletions
+1 -1
View File
@@ -53,13 +53,13 @@ sp-inherents = { version = "2.0.0-alpha.5", path = "../../../primitives/inherent
sp-keyring = { version = "2.0.0-alpha.5", path = "../../../primitives/keyring" }
sp-io = { version = "2.0.0-alpha.5", path = "../../../primitives/io" }
sp-consensus = { version = "0.8.0-alpha.5", path = "../../../primitives/consensus/common" }
sp-transaction-pool = { version = "2.0.0-alpha.5", path = "../../../primitives/transaction-pool" }
# client dependencies
sc-client-api = { version = "2.0.0-alpha.5", path = "../../../client/api" }
sc-client = { version = "0.8.0-alpha.5", path = "../../../client/" }
sc-chain-spec = { version = "2.0.0-alpha.5", path = "../../../client/chain-spec" }
sc-transaction-pool = { version = "2.0.0-alpha.5", path = "../../../client/transaction-pool" }
sp-transaction-pool = { version = "2.0.0-alpha.5", path = "../../../primitives/transaction-pool" }
sc-network = { version = "0.8.0-alpha.5", path = "../../../client/network" }
sc-consensus-babe = { version = "0.8.0-alpha.5", path = "../../../client/consensus/babe" }
grandpa = { version = "0.8.0-alpha.5", package = "sc-finality-grandpa", path = "../../../client/finality-grandpa" }
+5 -1
View File
@@ -72,7 +72,11 @@ pub fn run() -> Result<()> {
match &cli.subcommand {
None => {
let runner = cli.create_runner(&cli.run)?;
runner.run_node(service::new_light, service::new_full)
runner.run_node(
service::new_light,
service::new_full,
node_runtime::VERSION
)
}
Some(Subcommand::Inspect(cmd)) => {
let runner = cli.create_runner(cmd)?;