Skip to content

Commit d8ac7ed

Browse files
xlcgavofyork
authored andcommitted
Fix default bonding duration (paritytech#267)
Related paritytech#2288 Someone needs to update the value in Alex testnet
1 parent 32ce4b8 commit d8ac7ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

service/src/chain_spec.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ fn staging_testnet_config_genesis() -> GenesisConfig {
110110
current_session_reward: 0,
111111
validator_count: 7,
112112
sessions_per_era: 12,
113-
bonding_duration: 60 * MINUTES,
113+
bonding_duration: 12,
114114
offline_slash_grace: 4,
115115
minimum_validator_count: 4,
116116
stakers: initial_authorities.iter().map(|x| (x.0.clone(), x.1.clone(), STASH, StakerStatus::Validator)).collect(),
@@ -253,7 +253,7 @@ pub fn testnet_genesis(
253253
minimum_validator_count: 1,
254254
validator_count: 2,
255255
sessions_per_era: 5,
256-
bonding_duration: 2 * 60 * 12,
256+
bonding_duration: 12,
257257
offline_slash: Perbill::zero(),
258258
session_reward: Perbill::zero(),
259259
current_session_reward: 0,

0 commit comments

Comments
 (0)