From 3a5aaa8e258ed9e08709603ad16690f1fab8c052 Mon Sep 17 00:00:00 2001 From: Grigoriy Simonov Date: Tue, 01 Nov 2022 07:10:55 +0000 Subject: [PATCH] fix: `ItemData` warnings Removed `deprecated` attribute from `ItemData` to remove warnings from `cargo check`. `ItemData` is used only in `TokenData` storage and it is deprecated too. Also reason for deprecation is duplicated on `TokenData`. --- --- a/pallets/refungible/src/lib.rs +++ b/pallets/refungible/src/lib.rs @@ -137,7 +137,6 @@ /// for the convenience of database access. Notably contains the token metadata. #[struct_versioning::versioned(version = 2, upper)] #[derive(Encode, Decode, Default, TypeInfo, MaxEncodedLen)] -#[deprecated(since = "0.2.0", note = "ItemData is no more contains usefull data")] pub struct ItemData { pub const_data: BoundedVec, -- gitstuff