Skip to content
Snippets Groups Projects

Change distance evaluation period from Sessions to Blocks

Merged Benjamin Gallois requested to merge 202-distance-oracle-reevaluation into master
2 files
+ 36
25
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -524,7 +524,7 @@ type RuntimeFreezeReason = ();
@@ -524,7 +524,7 @@ type RuntimeFreezeReason = ();
}
}
impl pallet_distance::Config for Runtime {
impl pallet_distance::Config for Runtime {
type Currency = Balances;
type Currency = Balances;
type EvaluationPeriod = frame_support::traits::ConstU32<25>;
type EvaluationPeriod = frame_support::traits::ConstU32<7>;
type EvaluationPrice = frame_support::traits::ConstU64<1000>;
type EvaluationPrice = frame_support::traits::ConstU64<1000>;
type MaxRefereeDistance = frame_support::traits::ConstU32<5>;
type MaxRefereeDistance = frame_support::traits::ConstU32<5>;
type MinAccessibleReferees = MinAccessibleReferees;
type MinAccessibleReferees = MinAccessibleReferees;
Loading