diff --git a/substrate/frame/collective/src/lib.rs b/substrate/frame/collective/src/lib.rs index 89d4c8a150c361ddb076c194d52e91544ca8eb87..2797d01ffcdba303443bb70cc218d6480e8ecfcf 100644 --- a/substrate/frame/collective/src/lib.rs +++ b/substrate/frame/collective/src/lib.rs @@ -345,6 +345,13 @@ pub mod pallet { /// NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but /// the weight estimations rely on it to estimate dispatchable weight. /// + /// # WARNING: + /// + /// The `pallet-collective` can also be managed by logic outside of the pallet through the + /// implementation of the trait [`ChangeMembers`]. + /// Any call to `set_members` must be careful that the member set doesn't get out of sync + /// with other logic managing the member set. + /// /// # <weight> /// ## Weight /// - `O(MP + N)` where: