Skip to content

Commit

Permalink
Derive TypeInfo for OpaqueExtrinsic (paritytech#10504)
Browse files Browse the repository at this point in the history
  • Loading branch information
liuchengxu authored and grishasobol committed Mar 28, 2022
1 parent e0a3de0 commit 4fad80d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion primitives/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4fad80d

Please sign in to comment.