mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-19 20:31:04 +00:00
* Set data_path * fmt * Updated substrate and polkadot
This commit is contained in:
Generated
+277
-257
File diff suppressed because it is too large
Load Diff
@@ -105,7 +105,11 @@ impl RelayChainCli {
|
|||||||
) -> Self {
|
) -> Self {
|
||||||
let extension = crate::chain_spec::Extensions::try_get(&*para_config.chain_spec);
|
let extension = crate::chain_spec::Extensions::try_get(&*para_config.chain_spec);
|
||||||
let chain_id = extension.map(|e| e.relay_chain.clone());
|
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"));
|
let base_path = para_config.base_path.path().join("polkadot");
|
||||||
Self { base_path, chain_id, base: clap::Parser::parse_from(relay_chain_args) }
|
Self {
|
||||||
|
base_path: Some(base_path),
|
||||||
|
chain_id,
|
||||||
|
base: clap::Parser::parse_from(relay_chain_args),
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -122,7 +122,11 @@ impl RelayChainCli {
|
|||||||
) -> Self {
|
) -> Self {
|
||||||
let extension = crate::chain_spec::Extensions::try_get(&*para_config.chain_spec);
|
let extension = crate::chain_spec::Extensions::try_get(&*para_config.chain_spec);
|
||||||
let chain_id = extension.map(|e| e.relay_chain.clone());
|
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"));
|
let base_path = para_config.base_path.path().join("polkadot");
|
||||||
Self { base_path, chain_id, base: clap::Parser::parse_from(relay_chain_args) }
|
Self {
|
||||||
|
base_path: Some(base_path),
|
||||||
|
chain_id,
|
||||||
|
base: clap::Parser::parse_from(relay_chain_args),
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -117,8 +117,12 @@ impl RelayChainCli {
|
|||||||
para_config: &sc_service::Configuration,
|
para_config: &sc_service::Configuration,
|
||||||
relay_chain_args: impl Iterator<Item = &'a String>,
|
relay_chain_args: impl Iterator<Item = &'a String>,
|
||||||
) -> Self {
|
) -> Self {
|
||||||
let base_path = para_config.base_path.as_ref().map(|x| x.path().join("polkadot"));
|
let base_path = para_config.base_path.path().join("polkadot");
|
||||||
Self { base_path, chain_id: None, base: clap::Parser::parse_from(relay_chain_args) }
|
Self {
|
||||||
|
base_path: Some(base_path),
|
||||||
|
chain_id: None,
|
||||||
|
base: clap::Parser::parse_from(relay_chain_args),
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -764,7 +764,8 @@ pub fn node_config(
|
|||||||
tracing_receiver: Default::default(),
|
tracing_receiver: Default::default(),
|
||||||
max_runtime_instances: 8,
|
max_runtime_instances: 8,
|
||||||
announce_block: true,
|
announce_block: true,
|
||||||
base_path: Some(base_path),
|
data_path: root,
|
||||||
|
base_path,
|
||||||
informant_output_format: Default::default(),
|
informant_output_format: Default::default(),
|
||||||
wasm_runtime_overrides: None,
|
wasm_runtime_overrides: None,
|
||||||
runtime_cache_size: 2,
|
runtime_cache_size: 2,
|
||||||
|
|||||||
Reference in New Issue
Block a user