1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
pub use pallet_grandpa::AuthorityId as GrandpaId;

// --- paritytech ---
use pallet_grandpa::Config;
// --- darwinia-network ---
use crate::*;

impl Config for Runtime {
	type Call = Call;
	type Event = Event;
	type HandleEquivocation = ();
	type KeyOwnerIdentification = <Self::KeyOwnerProofSystem as KeyOwnerProofSystem<(
		KeyTypeId,
		GrandpaId,
	)>>::IdentificationTuple;
	type KeyOwnerProof =
		<Self::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, GrandpaId)>>::Proof;
	type KeyOwnerProofSystem = ();
	type MaxAuthorities = MaxAuthorities;
	type WeightInfo = ();
}