From 5847eccaa1a7dbf56c69ab8fe3a9dd628f0ece5f Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 08 Jun 2022 12:48:13 +0000 Subject: [PATCH] fix(rmrk): priority events --- --- a/pallets/proxy-rmrk-core/src/lib.rs +++ b/pallets/proxy-rmrk-core/src/lib.rs @@ -138,6 +138,10 @@ nft_id: RmrkNftId, resource_id: RmrkResourceId, }, + PrioritySet { + collection_id: RmrkCollectionId, + nft_id: RmrkNftId, + }, } #[pallet::error] @@ -777,6 +781,11 @@ Self::rmrk_property(ResourcePriorities, &priorities.into_inner())?, )?; + Self::deposit_event(Event::::PrioritySet { + collection_id: rmrk_collection_id, + nft_id: rmrk_nft_id, + }); + Ok(()) } -- gitstuff