Derive TypeInfo for OpaqueExtrinsic (#10504)

This commit is contained in:
Liu-Cheng Xu
2021-12-17 17:43:51 +08:00
committed by GitHub
parent d2e9026444
commit ac992ae18b
+1 -1
View File
@@ -800,7 +800,7 @@ macro_rules! assert_eq_error_rate {
/// Simple blob to hold an extrinsic without committing to its format and ensure it is serialized
/// correctly.
#[derive(PartialEq, Eq, Clone, Default, Encode, Decode)]
#[derive(PartialEq, Eq, Clone, Default, Encode, Decode, TypeInfo)]
pub struct OpaqueExtrinsic(Vec<u8>);
impl OpaqueExtrinsic {