--- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -1019,7 +1019,7 @@ ($collection:ident.$method:ident($($name:ident),*)) => {{ use pallet_unique::dispatch::Dispatched; - let collection = Dispatched::dispatch(>::new($collection).unwrap()); + let collection = Dispatched::dispatch(>::new($collection).unwrap_or_default()); let dispatch = collection.as_dyn(); dispatch.$method($($name),*)