pub fn add<T: Config>(collator_id: T::ValidatorId)
Expand description

Add the given collator_id to the allowlist. Fails if

  • origin fails the ensure_root check
  • collator_id did not yet load their keys into the session pallet
  • collator_id is already part of the allowlist

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::add.