mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 17:31:05 +00:00
* Companion to `blockchain-info` Subcommand: #11250 * Rename to `chain-info` * Remove `ensure_dev` * Update cli/src/command.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * Pin substrate `59a2150` * `service::Block` * Unused `chain_spec` * fmt Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
@@ -605,6 +605,10 @@ pub fn run() -> Result<()> {
|
||||
.into(),
|
||||
)
|
||||
.into()),
|
||||
Some(Subcommand::ChainInfo(cmd)) => {
|
||||
let runner = cli.create_runner(cmd)?;
|
||||
Ok(runner.sync_run(|config| cmd.run::<service::Block>(&config))?)
|
||||
},
|
||||
}?;
|
||||
|
||||
#[cfg(feature = "pyroscope")]
|
||||
|
||||
Reference in New Issue
Block a user