mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-20 18:35:41 +00:00
Update SubstrateCli to return String (#6550)
* Update SubstrateCli to return String * Add default implementation for executable_name() * Use display instead of PathBuf * Get file_name in default impl of executable_name * Remove String::from and use .into() * Use default impl for executable_name() * Use .as_str() and remove useless .to_string() * Update only sp-io when running companion build * Remove unneeded update of sp-io in CI Co-authored-by: Cecile Tonglet <cecile@parity.io>
This commit is contained in:
@@ -37,9 +37,9 @@ use tempfile::TempDir;
|
||||
#[derive(Debug)]
|
||||
pub struct Configuration {
|
||||
/// Implementation name
|
||||
pub impl_name: &'static str,
|
||||
pub impl_name: String,
|
||||
/// Implementation version (see sc-cli to see an example of format)
|
||||
pub impl_version: &'static str,
|
||||
pub impl_version: String,
|
||||
/// Node role.
|
||||
pub role: Role,
|
||||
/// How to spawn background tasks. Mandatory, otherwise creating a `Service` will error.
|
||||
|
||||
Reference in New Issue
Block a user