mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-24 12:45:04 +00:00
Improve Payout Benchmarks in Staking (#7237)
* add additional checks * fix wasm trap * Wasm trap? * Clean up validators before running payout * fix line width
This commit is contained in:
1 parent
cdff10e1b2
commit
721754bc6e
3 files changed
+53
-18
No files matched your search
@@ -436,7 +436,7 @@ parameter_types! {
|
||||
pub const BondingDuration: pallet_staking::EraIndex = 24 * 28;
|
||||
pub const SlashDeferDuration: pallet_staking::EraIndex = 24 * 7; // 1/4 the bonding duration.
|
||||
pub const RewardCurve: &'static PiecewiseLinear<'static> = &REWARD_CURVE;
|
||||
pub const MaxNominatorRewardedPerValidator: u32 = 64;
|
||||
pub const MaxNominatorRewardedPerValidator: u32 = 256;
|
||||
pub const ElectionLookahead: BlockNumber = EPOCH_DURATION_IN_BLOCKS / 4;
|
||||
pub const MaxIterations: u32 = 10;
|
||||
// 0.05%. The higher the value, the more strict solution acceptance becomes.
|
||||
|
||||
Reference in new issue
Block a user