@@ -314,8 +314,6 @@ impl<T: Config> Module<T> where
314
314
len : u32 ,
315
315
) -> RuntimeDispatchInfo < BalanceOf < T > >
316
316
where
317
- T : Send + Sync ,
318
- BalanceOf < T > : Send + Sync ,
319
317
T :: Call : Dispatchable < Info =DispatchInfo > ,
320
318
{
321
319
// 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
444
442
/// Require the transactor pay for themselves and maybe include a tip to gain additional priority
445
443
/// in the queue.
446
444
#[ 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 > ) ;
448
446
449
- impl < T : Config + Send + Sync > ChargeTransactionPayment < T > where
447
+ impl < T : Config > ChargeTransactionPayment < T > where
450
448
T :: Call : Dispatchable < Info =DispatchInfo , PostInfo =PostDispatchInfo > ,
451
449
BalanceOf < T > : Send + Sync + FixedPointOperand ,
452
450
{
@@ -494,7 +492,7 @@ impl<T: Config + Send + Sync> ChargeTransactionPayment<T> where
494
492
}
495
493
}
496
494
497
- impl < T : Config + Send + Sync > sp_std:: fmt:: Debug for ChargeTransactionPayment < T > {
495
+ impl < T : Config > sp_std:: fmt:: Debug for ChargeTransactionPayment < T > {
498
496
#[ cfg( feature = "std" ) ]
499
497
fn fmt ( & self , f : & mut sp_std:: fmt:: Formatter ) -> sp_std:: fmt:: Result {
500
498
write ! ( f, "ChargeTransactionPayment<{:?}>" , self . 0 )
@@ -505,7 +503,7 @@ impl<T: Config + Send + Sync> sp_std::fmt::Debug for ChargeTransactionPayment<T>
505
503
}
506
504
}
507
505
508
- impl < T : Config + Send + Sync > SignedExtension for ChargeTransactionPayment < T > where
506
+ impl < T : Config > SignedExtension for ChargeTransactionPayment < T > where
509
507
BalanceOf < T > : Send + Sync + From < u64 > + FixedPointOperand ,
510
508
T :: Call : Dispatchable < Info =DispatchInfo , PostInfo =PostDispatchInfo > ,
511
509
{
0 commit comments