mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 15:11:02 +00:00
Update substrate and add some sensible values (#387)
* Update substrate * Update substrate and some chain spec * Undo old change * Use hex ser/de for ethereum addresses * Add docs. * Accidental line * incorrect fix * Fix build
This commit is contained in:
@@ -120,7 +120,7 @@ fn staging_testnet_config_genesis() -> GenesisConfig {
|
||||
}),
|
||||
staking: Some(StakingConfig {
|
||||
current_era: 0,
|
||||
validator_count: 7,
|
||||
validator_count: 50,
|
||||
minimum_validator_count: 4,
|
||||
stakers: initial_authorities.iter().map(|x| (x.0.clone(), x.1.clone(), STASH, StakerStatus::Validator)).collect(),
|
||||
invulnerables: initial_authorities.iter().map(|x| x.0.clone()).collect(),
|
||||
@@ -140,8 +140,8 @@ fn staging_testnet_config_genesis() -> GenesisConfig {
|
||||
elections: Some(ElectionsConfig {
|
||||
members: vec![],
|
||||
presentation_duration: 1 * DAYS,
|
||||
term_duration: 28 * DAYS,
|
||||
desired_seats: 0,
|
||||
term_duration: 49 * DAYS,
|
||||
desired_seats: 7,
|
||||
}),
|
||||
membership_Instance1: Some(Default::default()),
|
||||
babe: Some(Default::default()),
|
||||
@@ -276,8 +276,8 @@ pub fn testnet_genesis(
|
||||
.find(|&(_, controller, _, _, _, _)| controller == endowed)
|
||||
.is_none()
|
||||
).map(|a| (a.clone(), 1000000)).collect(),
|
||||
presentation_duration: 10,
|
||||
term_duration: 1000000,
|
||||
presentation_duration: 10 * MINUTES,
|
||||
term_duration: 1 * DAYS,
|
||||
desired_seats,
|
||||
}),
|
||||
membership_Instance1: Some(Default::default()),
|
||||
|
||||
@@ -407,5 +407,6 @@ service::construct_service_factory! {
|
||||
FinalityProofProvider = { |client: Arc<FullClient<Self>>| {
|
||||
Ok(Some(Arc::new(GrandpaFinalityProofProvider::new(client.clone(), client)) as _))
|
||||
}},
|
||||
RpcExtensions = (),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user