difftreelog
fix remove `create_collection` deprecated warning
in: master
1 file changed
pallets/unique/src/lib.rsdiffbeforeafterboth266 /// * `token_prefix`: Byte string containing the token prefix to mark a collection266 /// * `token_prefix`: Byte string containing the token prefix to mark a collection267 /// to which a token belongs (limit [`MAX_TOKEN_PREFIX_LENGTH`]).267 /// to which a token belongs (limit [`MAX_TOKEN_PREFIX_LENGTH`]).268 /// * `mode`: Type of items stored in the collection and type dependent data.268 /// * `mode`: Type of items stored in the collection and type dependent data.269 ///269 // returns collection ID270 /// returns collection ID271 ///272 /// Deprecated: `create_collection_ex` is more up-to-date and advanced, prefer it instead.270 #[weight = <SelfWeightOf<T>>::create_collection()]273 #[weight = <SelfWeightOf<T>>::create_collection()]271 #[deprecated(note = "`create_collection_ex` is more up-to-date and advanced, prefer it instead")]272 pub fn create_collection(274 fn create_collection(273 origin,275 origin,274 collection_name: BoundedVec<u16, ConstU32<MAX_COLLECTION_NAME_LENGTH>>,276 collection_name: BoundedVec<u16, ConstU32<MAX_COLLECTION_NAME_LENGTH>>,275 collection_description: BoundedVec<u16, ConstU32<MAX_COLLECTION_DESCRIPTION_LENGTH>>,277 collection_description: BoundedVec<u16, ConstU32<MAX_COLLECTION_DESCRIPTION_LENGTH>>,