mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 18:07:58 +00:00
Replace config field with default value (srml/im-online) (#3388)
* Fix whitespacing * Replace configurable fields with default values * Bump version * Apply suggestions from code review Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com> * Fix more whitespacing * Fix style
This commit is contained in:
committed by
Bastian Köcher
parent
7b45130115
commit
7f764dbd37
@@ -19,9 +19,9 @@
|
||||
use primitives::{Pair, Public, crypto::UncheckedInto};
|
||||
pub use node_primitives::{AccountId, Balance};
|
||||
use node_runtime::{
|
||||
BabeConfig, BalancesConfig, ContractsConfig, CouncilConfig, DemocracyConfig,
|
||||
BabeConfig, BalancesConfig, ContractsConfig, CouncilConfig, DemocracyConfig,
|
||||
ElectionsConfig, GrandpaConfig, ImOnlineConfig, IndicesConfig, Perbill,
|
||||
SessionConfig, SessionKeys, StakerStatus, StakingConfig, SudoConfig, SystemConfig,
|
||||
SessionConfig, SessionKeys, StakerStatus, StakingConfig, SudoConfig, SystemConfig,
|
||||
TechnicalCommitteeConfig, WASM_BINARY,
|
||||
};
|
||||
use node_runtime::constants::{time::*, currency::*};
|
||||
@@ -169,7 +169,6 @@ fn staging_testnet_config_genesis() -> GenesisConfig {
|
||||
authorities: initial_authorities.iter().map(|x| (x.3.clone(), 1)).collect(),
|
||||
}),
|
||||
im_online: Some(ImOnlineConfig {
|
||||
gossip_at: 0,
|
||||
keys: initial_authorities.iter().map(|x| x.4.clone()).collect(),
|
||||
}),
|
||||
grandpa: Some(GrandpaConfig {
|
||||
@@ -302,7 +301,6 @@ pub fn testnet_genesis(
|
||||
authorities: initial_authorities.iter().map(|x| (x.3.clone(), 1)).collect(),
|
||||
}),
|
||||
im_online: Some(ImOnlineConfig{
|
||||
gossip_at: 0,
|
||||
keys: initial_authorities.iter().map(|x| x.4.clone()).collect(),
|
||||
}),
|
||||
grandpa: Some(GrandpaConfig {
|
||||
|
||||
Reference in New Issue
Block a user