mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-24 21:45:41 +00:00
Expose load_spec (#4556)
This commit is contained in:
@@ -128,7 +128,8 @@ fn generate_node_name() -> String {
|
|||||||
result
|
result
|
||||||
}
|
}
|
||||||
|
|
||||||
fn load_spec<F, G, E>(cli: &SharedParams, factory: F) -> error::Result<ChainSpec<G, E>> where
|
/// Load spec give shared params and spec factory.
|
||||||
|
pub fn load_spec<F, G, E>(cli: &SharedParams, factory: F) -> error::Result<ChainSpec<G, E>> where
|
||||||
G: RuntimeGenesis,
|
G: RuntimeGenesis,
|
||||||
E: ChainSpecExtension,
|
E: ChainSpecExtension,
|
||||||
F: FnOnce(&str) -> Result<Option<ChainSpec<G, E>>, String>,
|
F: FnOnce(&str) -> Result<Option<ChainSpec<G, E>>, String>,
|
||||||
|
|||||||
Reference in New Issue
Block a user