Function pallet_collator_allowlist::pallet::dispatchables::add
source · pub fn add<T: Config>(collator_id: T::ValidatorId)
Expand description
Add the given collator_id
to the allowlist.
Fails if
origin
fails theensure_root
checkcollator_id
did not yet load their keys into the session palletcollator_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
.