mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 15:41:02 +00:00
set reasonable value for bonding_duration in chainspec staging config (#2289)
* set reasonable value for bonding_duration in chainspec staging config * set default bonding_duration to 1, and bump runtime version * Update node/cli/src/chain_spec.rs Co-Authored-By: mnaamani <mokhtar.naamani@gmail.com> * Update node/cli/src/chain_spec.rs Co-Authored-By: mnaamani <mokhtar.naamani@gmail.com> * Update srml/staking/src/lib.rs Co-Authored-By: mnaamani <mokhtar.naamani@gmail.com>
This commit is contained in:
committed by
Gavin Wood
parent
01ba9adb63
commit
bd6427a268
@@ -432,8 +432,8 @@ decl_storage! {
|
||||
pub OfflineSlash get(offline_slash) config(): Perbill = Perbill::from_millionths(1000); // Perbill::from_fraction() is only for std, so use from_millionths().
|
||||
/// Number of instances of offline reports before slashing begins for validators.
|
||||
pub OfflineSlashGrace get(offline_slash_grace) config(): u32;
|
||||
/// The length of the bonding duration in blocks.
|
||||
pub BondingDuration get(bonding_duration) config(): T::BlockNumber = T::BlockNumber::sa(1000);
|
||||
/// The length of the bonding duration in eras.
|
||||
pub BondingDuration get(bonding_duration) config(): T::BlockNumber = T::BlockNumber::sa(12);
|
||||
|
||||
/// 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 invulnerables) and restricted to testnets.
|
||||
|
||||
Reference in New Issue
Block a user