mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 14:27:57 +00:00
revert enabling authority discovery by default (#1532)
This commit is contained in:
@@ -62,7 +62,7 @@ pub fn polkadot_test_new_full(
|
||||
config: Configuration,
|
||||
collating_for: Option<(CollatorId, ParaId)>,
|
||||
max_block_data_size: Option<u64>,
|
||||
authority_discovery_disabled: bool,
|
||||
authority_discovery_enabled: bool,
|
||||
slot_duration: u64,
|
||||
) -> Result<
|
||||
(
|
||||
@@ -79,7 +79,7 @@ pub fn polkadot_test_new_full(
|
||||
config,
|
||||
collating_for,
|
||||
max_block_data_size,
|
||||
authority_discovery_disabled,
|
||||
authority_discovery_enabled,
|
||||
slot_duration,
|
||||
None,
|
||||
true,
|
||||
@@ -198,9 +198,9 @@ pub fn run_test_node(
|
||||
> {
|
||||
let config = node_config(storage_update_func, task_executor, key, boot_nodes);
|
||||
let multiaddr = config.network.listen_addresses[0].clone();
|
||||
let authority_discovery_disabled = true;
|
||||
let authority_discovery_enabled = false;
|
||||
let (task_manager, client, handles, network, rpc_handlers) =
|
||||
polkadot_test_new_full(config, None, None, authority_discovery_disabled, 6000)
|
||||
polkadot_test_new_full(config, None, None, authority_discovery_enabled, 6000)
|
||||
.expect("could not create Polkadot test service");
|
||||
|
||||
let peer_id = network.local_peer_id().clone();
|
||||
|
||||
Reference in New Issue
Block a user