|
@@ -296,8 +296,8 @@ parameter_types! {
|
|
|
|
|
|
parameter_types! {
|
|
|
pub const SessionsPerEra: sp_staking::SessionIndex = 6;
|
|
|
- pub const BondingDuration: pallet_staking::EraIndex = 24;
|
|
|
- pub const SlashDeferDuration: pallet_staking::EraIndex = 6; // 1/4 the bonding duration.
|
|
|
+ pub const BondingDuration: pallet_staking::EraIndex = BONDING_DURATION;
|
|
|
+ pub const SlashDeferDuration: pallet_staking::EraIndex = BONDING_DURATION - 1; // 'slightly less' than the bonding duration.
|
|
|
pub const RewardCurve: &'static PiecewiseLinear<'static> = &REWARD_CURVE;
|
|
|
pub const MaxNominatorRewardedPerValidator: u32 = 64;
|
|
|
pub const ElectionLookahead: BlockNumber = EPOCH_DURATION_IN_BLOCKS / 4;
|