From 97a31498bebe05fcc201aafe47ccb9fbfe452dee Mon Sep 17 00:00:00 2001 From: Hugo Trentesaux <hugo@trentesaux.fr> Date: Thu, 7 Nov 2024 14:04:10 +0100 Subject: [PATCH] increase distance evaluation period --- runtime/common/src/pallets_config.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runtime/common/src/pallets_config.rs b/runtime/common/src/pallets_config.rs index 3b5ae90ba..7f9ac91fb 100644 --- a/runtime/common/src/pallets_config.rs +++ b/runtime/common/src/pallets_config.rs @@ -515,7 +515,8 @@ macro_rules! pallets_config { impl pallet_distance::Config for Runtime { type CheckRequestDistanceEvaluation = Wot; type Currency = Balances; - type EvaluationPeriod = frame_support::traits::ConstU32<7>; + // 100 blocks + type EvaluationPeriod = frame_support::traits::ConstU32<100>; type EvaluationPrice = frame_support::traits::ConstU64<1000>; type MaxRefereeDistance = MaxRefereeDistance; type MinAccessibleReferees = MinAccessibleReferees; -- GitLab