#[no_default_bounds]
Expand description

The optional attribute #[pallet::no_default_bounds] can be attached to trait items within a Config trait impl that has #[pallet::config(with_default)] attached.

Attaching this attribute to a trait item ensures that the generated trait DefaultConfig will not have any bounds for this trait item.

As an example, if you have a trait item type AccountId: SomeTrait; in your Config trait, the generated DefaultConfig will only have type AccountId; with no trait bound.