AssetId trait should also contain TypeInfo bound (#10038)

This commit is contained in:
Cheng JIANG authored and GitHub committed 2021-10-18 06:37:22 +00:00
1 parent 0b0c41b5f4
commit 53720da2b4
1 file changed
+2 -2
@@ -161,8 +161,8 @@ impl WithdrawReasons {
}
/// Simple amalgamation trait to collect together properties for an AssetId under one roof.
pub trait AssetId: FullCodec + Copy + Eq + PartialEq + Debug {}
impl<T: FullCodec + Copy + Eq + PartialEq + Debug> AssetId for T {}
pub trait AssetId: FullCodec + Copy + Eq + PartialEq + Debug + scale_info::TypeInfo {}
impl<T: FullCodec + Copy + Eq + PartialEq + Debug + scale_info::TypeInfo> AssetId for T {}
/// Simple amalgamation trait to collect together properties for a Balance under one roof.
pub trait Balance: