mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 18:11:10 +00:00
*: Enable authority discovery by default (#1395)
* *: Enable authority discovery by default Instead of having to explicitly enable the authority discovery module on validator and sentry nodes, this commit enables the module by default. Today there is no way for non validator or sentry nodes to run the module. That might change in the future. * service/src/lib: Fix typo in new_full! for test
This commit is contained in:
@@ -111,7 +111,7 @@ pub fn run() -> Result<()> {
|
||||
|
||||
set_default_ss58_version(chain_spec);
|
||||
|
||||
let authority_discovery_enabled = cli.run.authority_discovery_enabled;
|
||||
let authority_discovery_disabled = cli.run.authority_discovery_disabled;
|
||||
let grandpa_pause = if cli.run.grandpa_pause.is_empty() {
|
||||
None
|
||||
} else {
|
||||
@@ -132,7 +132,7 @@ pub fn run() -> Result<()> {
|
||||
config,
|
||||
None,
|
||||
None,
|
||||
authority_discovery_enabled,
|
||||
authority_discovery_disabled,
|
||||
6000,
|
||||
grandpa_pause,
|
||||
).map(|(components, _, _)| components)
|
||||
@@ -145,7 +145,7 @@ pub fn run() -> Result<()> {
|
||||
config,
|
||||
None,
|
||||
None,
|
||||
authority_discovery_enabled,
|
||||
authority_discovery_disabled,
|
||||
6000,
|
||||
grandpa_pause,
|
||||
).map(|(components, _, _)| components)
|
||||
@@ -158,7 +158,7 @@ pub fn run() -> Result<()> {
|
||||
config,
|
||||
None,
|
||||
None,
|
||||
authority_discovery_enabled,
|
||||
authority_discovery_disabled,
|
||||
6000,
|
||||
grandpa_pause,
|
||||
).map(|(components, _, _)| components)
|
||||
|
||||
Reference in New Issue
Block a user