mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 18:07:58 +00:00
* update rustls to be compat with jsronrpsee 0.2.0 * Stub try-cli when feat not enabled * update Substrate Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -395,7 +395,6 @@ pub fn run() -> Result<()> {
|
||||
>(config).map_err(Error::SubstrateCli), task_manager))
|
||||
})
|
||||
}
|
||||
|
||||
// else we assume it is polkadot.
|
||||
runner.async_run(|config| {
|
||||
Ok((cmd.run::<
|
||||
@@ -403,7 +402,12 @@ pub fn run() -> Result<()> {
|
||||
service::PolkadotExecutor,
|
||||
>(config).map_err(Error::SubstrateCli), task_manager))
|
||||
})
|
||||
}
|
||||
},
|
||||
#[cfg(not(feature = "try-runtime"))]
|
||||
Some(Subcommand::TryRuntime) => {
|
||||
Err(Error::Other("TryRuntime wasn't enabled when building the node. \
|
||||
You can enable it with `--features try-runtime`.".into()).into())
|
||||
},
|
||||
}?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user