difftreelog
Leave only property keys in events
in: master
2 files changed
pallets/common/src/lib.rsdiffbeforeafterboth290 u128,290 u128,291 ),291 ),292292293 CollectionPropertySet(CollectionId, Property),293 CollectionPropertySet(CollectionId, PropertyKey),294294295 CollectionPropertyDeleted(CollectionId, PropertyKey),295 CollectionPropertyDeleted(CollectionId, PropertyKey),296296297 TokenPropertySet(CollectionId, TokenId, Property),297 TokenPropertySet(CollectionId, TokenId, PropertyKey),298298299 TokenPropertyDeleted(CollectionId, TokenId, PropertyKey),299 TokenPropertyDeleted(CollectionId, TokenId, PropertyKey),300300301 PropertyPermissionSet(CollectionId, PropertyKeyPermission),301 PropertyPermissionSet(CollectionId, PropertyKey),302 }302 }303303304 #[pallet::error]304 #[pallet::error]764 })764 })765 .map_err(|e| -> Error<T> { e.into() })?;765 .map_err(|e| -> Error<T> { e.into() })?;766766767 Self::deposit_event(Event::CollectionPropertySet(collection.id, property));767 Self::deposit_event(Event::CollectionPropertySet(collection.id, property.key));768768769 Ok(())769 Ok(())770 }770 }837837838 Self::deposit_event(Event::PropertyPermissionSet(838 Self::deposit_event(Event::PropertyPermissionSet(839 collection.id,839 collection.id,840 property_permission,840 property_permission.key,841 ));841 ));842842843 Ok(())843 Ok(())pallets/nonfungible/src/lib.rsdiffbeforeafterboth276 <PalletCommon<T>>::deposit_event(CommonEvent::TokenPropertySet(276 <PalletCommon<T>>::deposit_event(CommonEvent::TokenPropertySet(277 collection.id,277 collection.id,278 token_id,278 token_id,279 property,279 property.key,280 ));280 ));281281282 Ok(())282 Ok(())