--- a/pallets/proxy-rmrk-core/src/benchmarking.rs +++ b/pallets/proxy-rmrk-core/src/benchmarking.rs @@ -158,11 +158,10 @@ let root_nft_id = self.current_nft_id; - let root_owner = - >::CollectionAndNftTuple( - self.collection_id, - root_nft_id, - ); + let root_owner = >::CollectionAndNftTuple( + self.collection_id, + root_nft_id, + ); for _ in 0..width { self.build::(owner)?; @@ -173,7 +172,7 @@ self.current_nft_id, root_owner.clone(), )?; - } + } Ok(root_nft_id) } --- a/pallets/proxy-rmrk-core/src/lib.rs +++ b/pallets/proxy-rmrk-core/src/lib.rs @@ -225,7 +225,7 @@ >::set_scoped_collection_property( unique_collection_id, PropertyScope::Rmrk, - Self::rmrk_property(RmrkInternalCollectionId, &rmrk_collection_id)? + Self::rmrk_property(RmrkInternalCollectionId, &rmrk_collection_id)?, )?; >::mutate(|n| *n += 1); @@ -1327,10 +1327,7 @@ pub fn rmrk_collection_id( unique_collection_id: CollectionId, ) -> Result { - Self::get_collection_property_decoded( - unique_collection_id, - RmrkInternalCollectionId - ) + Self::get_collection_property_decoded(unique_collection_id, RmrkInternalCollectionId) } pub fn get_nft_collection(