@@ -314,8 +314,6 @@ impl<T: Config> Module<T> where
314314 len : u32 ,
315315 ) -> RuntimeDispatchInfo < BalanceOf < T > >
316316 where
317- T : Send + Sync ,
318- BalanceOf < T > : Send + Sync ,
319317 T :: Call : Dispatchable < Info =DispatchInfo > ,
320318 {
321319 // NOTE: we can actually make it understand `ChargeTransactionPayment`, but would be some
@@ -444,9 +442,9 @@ impl<T> Convert<Weight, BalanceOf<T>> for Module<T> where
444442/// Require the transactor pay for themselves and maybe include a tip to gain additional priority
445443/// in the queue.
446444#[ derive( Encode , Decode , Clone , Eq , PartialEq ) ]
447- pub struct ChargeTransactionPayment < T : Config + Send + Sync > ( #[ codec( compact) ] BalanceOf < T > ) ;
445+ pub struct ChargeTransactionPayment < T : Config > ( #[ codec( compact) ] BalanceOf < T > ) ;
448446
449- impl < T : Config + Send + Sync > ChargeTransactionPayment < T > where
447+ impl < T : Config > ChargeTransactionPayment < T > where
450448 T :: Call : Dispatchable < Info =DispatchInfo , PostInfo =PostDispatchInfo > ,
451449 BalanceOf < T > : Send + Sync + FixedPointOperand ,
452450{
@@ -494,7 +492,7 @@ impl<T: Config + Send + Sync> ChargeTransactionPayment<T> where
494492 }
495493}
496494
497- impl < T : Config + Send + Sync > sp_std:: fmt:: Debug for ChargeTransactionPayment < T > {
495+ impl < T : Config > sp_std:: fmt:: Debug for ChargeTransactionPayment < T > {
498496 #[ cfg( feature = "std" ) ]
499497 fn fmt ( & self , f : & mut sp_std:: fmt:: Formatter ) -> sp_std:: fmt:: Result {
500498 write ! ( f, "ChargeTransactionPayment<{:?}>" , self . 0 )
@@ -505,7 +503,7 @@ impl<T: Config + Send + Sync> sp_std::fmt::Debug for ChargeTransactionPayment<T>
505503 }
506504}
507505
508- impl < T : Config + Send + Sync > SignedExtension for ChargeTransactionPayment < T > where
506+ impl < T : Config > SignedExtension for ChargeTransactionPayment < T > where
509507 BalanceOf < T > : Send + Sync + From < u64 > + FixedPointOperand ,
510508 T :: Call : Dispatchable < Info =DispatchInfo , PostInfo =PostDispatchInfo > ,
511509{
0 commit comments