Skip to content

Commit

Permalink
from commit paritytech/substrate@e00031e: Extract address,call,sig,ex…
Browse files Browse the repository at this point in the history
…tra ty from tx type
  • Loading branch information
echevrier committed Jul 25, 2023
1 parent 68d6858 commit bb7512b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions primitives/src/extrinsics/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
use alloc::{format, vec::Vec};
use codec::{Decode, Encode, Error, Input};
use core::fmt;
use scale_info::TypeInfo;
use sp_runtime::traits::Extrinsic;

pub use extrinsic_params::{
Expand Down Expand Up @@ -67,6 +68,11 @@ impl<Address, Call, Signature, SignedExtra>

impl<Address, Call, Signature, SignedExtra> Extrinsic
for UncheckedExtrinsicV4<Address, Call, Signature, SignedExtra>
where
Address: TypeInfo,
Signature: TypeInfo,
Call: TypeInfo,
SignedExtra: TypeInfo,
{
type Call = Call;

Expand Down

0 comments on commit bb7512b

Please sign in to comment.