mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 08:47:57 +00:00
The crate rename (#4223)
* Adding script for rename, could be applicable for nodes on top of it, too * add stderr and gitlab ci features * apply script * fix now minor details in expected stderr * Update the Cargo.lock * fix name: sc-transaction -> sc-tracing * fix rename in script, too
This commit is contained in:
committed by
GitHub
parent
40f6d05a4c
commit
927e13c13a
@@ -20,13 +20,13 @@
|
||||
|
||||
use futures::channel::oneshot;
|
||||
use futures::{future, FutureExt};
|
||||
use substrate_cli::VersionInfo;
|
||||
use sc_cli::VersionInfo;
|
||||
|
||||
use std::cell::RefCell;
|
||||
|
||||
// handles ctrl-c
|
||||
struct Exit;
|
||||
impl substrate_cli::IntoExit for Exit {
|
||||
impl sc_cli::IntoExit for Exit {
|
||||
type Exit = future::Map<oneshot::Receiver<()>, fn(Result<(), oneshot::Canceled>) -> ()>;
|
||||
fn into_exit(self) -> Self::Exit {
|
||||
// can't use signal directly here because CtrlC takes only `Fn`.
|
||||
@@ -43,7 +43,7 @@ impl substrate_cli::IntoExit for Exit {
|
||||
}
|
||||
}
|
||||
|
||||
fn main() -> Result<(), substrate_cli::error::Error> {
|
||||
fn main() -> Result<(), sc_cli::error::Error> {
|
||||
let version = VersionInfo {
|
||||
name: "Substrate Node",
|
||||
commit: env!("VERGEN_SHA_SHORT"),
|
||||
|
||||
Reference in New Issue
Block a user