mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-22 03:36:18 +00:00
* Set data_path * fmt * Updated substrate and polkadot
This commit is contained in:
1 parent
053f670b5c
commit
df68186063
5 files changed
+297
-264
No files matched your search
@@ -105,7 +105,11 @@ impl RelayChainCli {
|
||||
) -> Self {
|
||||
let extension = crate::chain_spec::Extensions::try_get(&*para_config.chain_spec);
|
||||
let chain_id = extension.map(|e| e.relay_chain.clone());
|
||||
let base_path = para_config.base_path.as_ref().map(|x| x.path().join("polkadot"));
|
||||
Self { base_path, chain_id, base: clap::Parser::parse_from(relay_chain_args) }
|
||||
let base_path = para_config.base_path.path().join("polkadot");
|
||||
Self {
|
||||
base_path: Some(base_path),
|
||||
chain_id,
|
||||
base: clap::Parser::parse_from(relay_chain_args),
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user