make slashing instant and decrease bonding duration to one era, needed for TUI development only
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
parent
f4c8144c71
commit
f1eca789a4
@ -484,8 +484,8 @@ pallet_staking_reward_curve::build! {
|
||||
|
||||
parameter_types! {
|
||||
pub const SessionsPerEra: sp_staking::SessionIndex = prod_or_fast!(6, 1);
|
||||
pub const BondingDuration: sp_staking::EraIndex = prod_or_fast!(28, 28);
|
||||
pub const SlashDeferDuration: sp_staking::EraIndex = prod_or_fast!(27, 27);
|
||||
pub const BondingDuration: sp_staking::EraIndex = prod_or_fast!(1, 1);
|
||||
pub const SlashDeferDuration: sp_staking::EraIndex = prod_or_fast!(0, 0);
|
||||
pub const RewardCurve: &'static PiecewiseLinear<'static> = &REWARD_CURVE;
|
||||
pub const MaxExposurePageSize: u32 = 512;
|
||||
pub const MaxNominators: u32 = 512;
|
||||
|
Loading…
Reference in New Issue
Block a user