mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-21 15:35:42 +00:00
* WIP * WIP * WIP * WIP * WIP * WIP * Update node/service/src/lib.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * WIP * "Update Substrate" Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -34,6 +34,7 @@ inherents = { package = "sp-inherents", git = "https://github.com/paritytech/sub
|
||||
pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
|
||||
@@ -60,6 +60,7 @@ native_executor_instance!(
|
||||
);
|
||||
|
||||
/// Create a new Polkadot test service for a full node.
|
||||
#[sc_cli::prefix_logs_with(config.network.node_name.as_str())]
|
||||
pub fn polkadot_test_new_full(
|
||||
config: Configuration,
|
||||
authority_discovery_disabled: bool,
|
||||
@@ -112,14 +113,13 @@ pub fn node_config(
|
||||
spec.set_storage(storage);
|
||||
|
||||
let mut network_config = NetworkConfiguration::new(
|
||||
format!("Polkadot Test Node for: {}", key_seed),
|
||||
key_seed.to_string(),
|
||||
"network/test/0.1",
|
||||
Default::default(),
|
||||
None,
|
||||
);
|
||||
let informant_output_format = OutputFormat {
|
||||
enable_color: false,
|
||||
prefix: format!("[{}] ", key_seed),
|
||||
};
|
||||
|
||||
network_config.boot_nodes = boot_nodes;
|
||||
|
||||
Reference in New Issue
Block a user