mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 00:31:07 +00:00
Remove minimum_validator_count stale const (#6864)
This commit is contained in:
@@ -330,7 +330,6 @@ use sp_npos_elections::{
|
||||
is_score_better, VotingLimit, SupportMap, VoteWeight,
|
||||
};
|
||||
|
||||
const DEFAULT_MINIMUM_VALIDATOR_COUNT: u32 = 4;
|
||||
const STAKING_ID: LockIdentifier = *b"staking ";
|
||||
pub const MAX_UNLOCKING_CHUNKS: usize = 32;
|
||||
pub const MAX_NOMINATIONS: usize = <CompactAssignments as VotingLimit>::LIMIT;
|
||||
@@ -1032,8 +1031,7 @@ decl_storage! {
|
||||
pub ValidatorCount get(fn validator_count) config(): u32;
|
||||
|
||||
/// Minimum number of staking participants before emergency conditions are imposed.
|
||||
pub MinimumValidatorCount get(fn minimum_validator_count) config():
|
||||
u32 = DEFAULT_MINIMUM_VALIDATOR_COUNT;
|
||||
pub MinimumValidatorCount get(fn minimum_validator_count) config(): u32;
|
||||
|
||||
/// Any validators that may never be slashed or forcibly kicked. It's a Vec since they're
|
||||
/// easy to initialize and the performance hit is minimal (we expect no more than four
|
||||
|
||||
Reference in New Issue
Block a user