1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// --- paritytech ---
use pallet_authorship::Config;
use pallet_session::FindAccountFromAuthorIndex;
// --- darwinia-network ---
use crate::*;

frame_support::parameter_types! {
	pub const UncleGenerations: BlockNumber = 5;
}

impl Config for Runtime {
	type EventHandler = (Staking, ImOnline);
	type FilterUncle = ();
	type FindAuthor = FindAccountFromAuthorIndex<Self, Babe>;
	type UncleGenerations = UncleGenerations;
}