difftreelog
doc+refactor: missed fixes
in: master
2 files changed
pallets/common/src/lib.rsdiffbeforeafterboth469 /// Property key is too long469 /// Property key is too long470 PropertyKeyIsTooLong,470 PropertyKeyIsTooLong,471471472 /// Only ASCII letters, digits, and symbols '_', '-', and '.' are allowed472 /// Only ASCII letters, digits, and symbols `_`, `-`, and `.` are allowed473 InvalidCharacterInPropertyKey,473 InvalidCharacterInPropertyKey,474474475 /// Empty property keys are forbidden475 /// Empty property keys are forbiddenpallets/unique/src/lib.rsdiffbeforeafterboth--- 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::<T, _>(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!(<Error<T>>::RepartitionCalledOnNonRefungibleCollection)
}