--- a/pallets/common/src/lib.rs +++ b/pallets/common/src/lib.rs @@ -469,7 +469,7 @@ /// Property key is too long PropertyKeyIsTooLong, - /// Only ASCII letters, digits, and symbols '_', '-', and '.' are allowed + /// Only ASCII letters, digits, and symbols `_`, `-`, and `.` are allowed InvalidCharacterInPropertyKey, /// Empty property keys are forbidden --- a/pallets/unique/src/lib.rs +++ b/pallets/unique/src/lib.rs @@ -632,7 +632,7 @@ /// # Arguments /// /// * collection_id. - /// * properties - Vector of key-value pairs stored as the collection's metadata. Keys support Latin letters, '-', '_', and '.' as symbols. + /// * properties - Vector of key-value pairs stored as the collection's metadata. Keys support Latin letters, `-`, `_`, and `.` as symbols. #[weight = T::CommonWeightInfo::set_collection_properties(properties.len() as u32)] #[transactional] pub fn set_collection_properties( @@ -1022,7 +1022,7 @@ let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?); dispatch_tx::(collection_id, |d| { if let Some(refungible_extensions) = d.refungible_extensions() { - refungible_extensions.repartition(&sender, token, amount) + refungible_extensions.repartition(&sender, token_id, amount) } else { fail!(>::RepartitionCalledOnNonRefungibleCollection) }