pub fn create_offence<T: Config>(
offenders: Vec<(T::AccountId, Perbill)>,
maybe_identifications: Option<Vec<T::FullIdentification>>,
maybe_session_index: Option<SessionIndex>,
)Expand description
Allows the root, for example sudo to create an offence.
If identifications is Some, then the given identification is used for offence. Else,
it is fetched live from session::Historical.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::create_offence.