Unverified Commit cd584b54 authored by Gav Wood's avatar Gav Wood Committed by GitHub
Browse files

Update to latest Substrate (#90)



* Update to latest Substrate

* Fix tests

* Update src/main.rs
Co-Authored-By: default avatargavofyork <github@gavwood.com>
parent 2ee439fe
Pipeline #28614 passed with stages
in 13 minutes and 45 seconds
This diff is collapsed.
......@@ -100,9 +100,9 @@ pub fn run<I, T, W>(args: I, worker: W, version: cli::VersionInfo) -> error::Res
Err(e) => e.exit(),
};
let (spec, mut config) = cli::parse_matches::<service::Factory, _>(load_spec, version, "parity-polkadot", &matches)?;
let (spec, mut config) = cli::parse_matches::<service::Factory, _>(load_spec, &version, "parity-polkadot", &matches)?;
match cli::execute_default::<service::Factory, _,>(spec, worker, &matches, &config)? {
match cli::execute_default::<service::Factory, _,>(spec, worker, &matches, &config, &version)? {
cli::Action::ExecutedInternally => (),
cli::Action::RunService(worker) => {
info!("Parity ·:· Polkadot");
......
......@@ -67,11 +67,12 @@ quick_main!(run);
fn run() -> cli::error::Result<()> {
let version = VersionInfo {
name: "Parity Polkadot",
commit: vergen::short_sha(),
version: env!("CARGO_PKG_VERSION"),
executable_name: "polkadot",
author: "Parity Team <admin@parity.io>",
description: "Polkadot Node Rust Implementation",
description: "Polkadot Relay-chain Client Node",
};
cli::run(::std::env::args(), Worker, version)
}
......@@ -131,6 +131,7 @@ fn main() {
key,
::std::env::args(),
VersionInfo {
name: "<unkown>",
version: "<unknown>",
commit: "<unknown>",
executable_name: "adder-collator",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment