mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-07 18:58:01 +00:00
Changed Bonding & SlashDefer Duration in Westend (#5634)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user