mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 15:11:02 +00:00
Re-configure offchain repeat frequency for elections (#3966)
This commit is contained in:
@@ -347,8 +347,8 @@ parameter_types! {
|
||||
pub SignedRewardBase: Balance = 1 * UNITS;
|
||||
pub SolutionImprovementThreshold: Perbill = Perbill::from_rational(5u32, 10_000);
|
||||
|
||||
// miner configs
|
||||
pub OffchainRepeat: BlockNumber = 5;
|
||||
// 1 hour session, 15 minutes unsigned phase, 4 offchain executions.
|
||||
pub OffchainRepeat: BlockNumber = UnsignedPhase::get() / 4;
|
||||
|
||||
/// Whilst `UseNominatorsAndUpdateBagsList` or `UseNominatorsMap` is in use, this can still be a
|
||||
/// very large value. Once the `BagsList` is in full motion, staking might open its door to many
|
||||
|
||||
Reference in New Issue
Block a user