From c88246dd7b98c1874f035262c3ff3bc8047cc6d0 Mon Sep 17 00:00:00 2001 From: Dominique Date: Tue, 7 Jun 2022 18:05:58 +0200 Subject: [PATCH] Changed Bonding & SlashDefer Duration in Westend (#5634) --- runtime/westend/src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 1eaf23951c35..74d1da8eba3e 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -475,10 +475,10 @@ pallet_staking_reward_curve::build! { parameter_types! { // Six sessions in an era (6 hours). pub const SessionsPerEra: SessionIndex = 6; - // 28 eras for unbonding (7 days). - pub const BondingDuration: sp_staking::EraIndex = 28; - // 27 eras in which slashes can be cancelled (slightly less than 7 days). - pub const SlashDeferDuration: sp_staking::EraIndex = 27; + // 2 eras for unbonding (12 hours). + pub const BondingDuration: sp_staking::EraIndex = 2; + // 1 era in which slashes can be cancelled (6 hours). + pub const SlashDeferDuration: sp_staking::EraIndex = 1; pub const RewardCurve: &'static PiecewiseLinear<'static> = &REWARD_CURVE; pub const MaxNominatorRewardedPerValidator: u32 = 64; pub const OffendingValidatorsThreshold: Perbill = Perbill::from_percent(17);