mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 17:31:03 +00:00
* Change EraIndex import path: companion #10671 * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
This commit is contained in:
Generated
+163
-163
File diff suppressed because it is too large
Load Diff
@@ -540,9 +540,9 @@ parameter_types! {
|
|||||||
// Six sessions in an era (6 hours).
|
// Six sessions in an era (6 hours).
|
||||||
pub const SessionsPerEra: SessionIndex = 6;
|
pub const SessionsPerEra: SessionIndex = 6;
|
||||||
// 28 eras for unbonding (7 days).
|
// 28 eras for unbonding (7 days).
|
||||||
pub const BondingDuration: pallet_staking::EraIndex = 28;
|
pub const BondingDuration: sp_staking::EraIndex = 28;
|
||||||
// 27 eras in which slashes can be cancelled (slightly less than 7 days).
|
// 27 eras in which slashes can be cancelled (slightly less than 7 days).
|
||||||
pub const SlashDeferDuration: pallet_staking::EraIndex = 27;
|
pub const SlashDeferDuration: sp_staking::EraIndex = 27;
|
||||||
pub const MaxNominatorRewardedPerValidator: u32 = 256;
|
pub const MaxNominatorRewardedPerValidator: u32 = 256;
|
||||||
pub const OffendingValidatorsThreshold: Perbill = Perbill::from_percent(17);
|
pub const OffendingValidatorsThreshold: Perbill = Perbill::from_percent(17);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -536,8 +536,8 @@ parameter_types! {
|
|||||||
// Six sessions in an era (24 hours).
|
// Six sessions in an era (24 hours).
|
||||||
pub const SessionsPerEra: SessionIndex = 6;
|
pub const SessionsPerEra: SessionIndex = 6;
|
||||||
// 28 eras for unbonding (28 days).
|
// 28 eras for unbonding (28 days).
|
||||||
pub const BondingDuration: pallet_staking::EraIndex = 28;
|
pub const BondingDuration: sp_staking::EraIndex = 28;
|
||||||
pub const SlashDeferDuration: pallet_staking::EraIndex = 27;
|
pub const SlashDeferDuration: sp_staking::EraIndex = 27;
|
||||||
pub const RewardCurve: &'static PiecewiseLinear<'static> = &REWARD_CURVE;
|
pub const RewardCurve: &'static PiecewiseLinear<'static> = &REWARD_CURVE;
|
||||||
pub const MaxNominatorRewardedPerValidator: u32 = 256;
|
pub const MaxNominatorRewardedPerValidator: u32 = 256;
|
||||||
pub const OffendingValidatorsThreshold: Perbill = Perbill::from_percent(17);
|
pub const OffendingValidatorsThreshold: Perbill = Perbill::from_percent(17);
|
||||||
|
|||||||
@@ -309,9 +309,9 @@ parameter_types! {
|
|||||||
// Six sessions in an era (6 hours).
|
// Six sessions in an era (6 hours).
|
||||||
pub storage SessionsPerEra: SessionIndex = 6;
|
pub storage SessionsPerEra: SessionIndex = 6;
|
||||||
// 28 eras for unbonding (7 days).
|
// 28 eras for unbonding (7 days).
|
||||||
pub storage BondingDuration: pallet_staking::EraIndex = 28;
|
pub storage BondingDuration: sp_staking::EraIndex = 28;
|
||||||
// 27 eras in which slashes can be cancelled (a bit less than 7 days).
|
// 27 eras in which slashes can be cancelled (a bit less than 7 days).
|
||||||
pub storage SlashDeferDuration: pallet_staking::EraIndex = 27;
|
pub storage SlashDeferDuration: sp_staking::EraIndex = 27;
|
||||||
pub const RewardCurve: &'static PiecewiseLinear<'static> = &REWARD_CURVE;
|
pub const RewardCurve: &'static PiecewiseLinear<'static> = &REWARD_CURVE;
|
||||||
pub storage MaxNominatorRewardedPerValidator: u32 = 64;
|
pub storage MaxNominatorRewardedPerValidator: u32 = 64;
|
||||||
pub storage OffendingValidatorsThreshold: Perbill = Perbill::from_percent(17);
|
pub storage OffendingValidatorsThreshold: Perbill = Perbill::from_percent(17);
|
||||||
|
|||||||
@@ -436,9 +436,9 @@ parameter_types! {
|
|||||||
// Six sessions in an era (6 hours).
|
// Six sessions in an era (6 hours).
|
||||||
pub const SessionsPerEra: SessionIndex = 6;
|
pub const SessionsPerEra: SessionIndex = 6;
|
||||||
// 28 eras for unbonding (7 days).
|
// 28 eras for unbonding (7 days).
|
||||||
pub const BondingDuration: pallet_staking::EraIndex = 28;
|
pub const BondingDuration: sp_staking::EraIndex = 28;
|
||||||
// 27 eras in which slashes can be cancelled (slightly less than 7 days).
|
// 27 eras in which slashes can be cancelled (slightly less than 7 days).
|
||||||
pub const SlashDeferDuration: pallet_staking::EraIndex = 27;
|
pub const SlashDeferDuration: sp_staking::EraIndex = 27;
|
||||||
pub const RewardCurve: &'static PiecewiseLinear<'static> = &REWARD_CURVE;
|
pub const RewardCurve: &'static PiecewiseLinear<'static> = &REWARD_CURVE;
|
||||||
pub const MaxNominatorRewardedPerValidator: u32 = 64;
|
pub const MaxNominatorRewardedPerValidator: u32 = 64;
|
||||||
pub const OffendingValidatorsThreshold: Perbill = Perbill::from_percent(17);
|
pub const OffendingValidatorsThreshold: Perbill = Perbill::from_percent(17);
|
||||||
|
|||||||
Reference in New Issue
Block a user