@@ -184,7 +184,7 @@ mod test {
184184 } ,
185185 H160 ,
186186 } ,
187- DepositLimit , U256 ,
187+ ExecConfig , U256 ,
188188 } ;
189189 use polkadot_parachain_primitives:: primitives:: Id as ParaId ;
190190 use sp_runtime:: traits:: AccountIdConversion ;
@@ -231,8 +231,9 @@ mod test {
231231 xcm_precompile_addr,
232232 U256 :: zero ( ) ,
233233 Weight :: MAX ,
234- DepositLimit :: UnsafeOnlyForDryRun ,
234+ u128 :: MAX ,
235235 encoded_call,
236+ ExecConfig :: new_substrate_tx ( ) ,
236237 ) ;
237238 assert ! ( result. result. is_ok( ) ) ;
238239 let sent_message = Xcm ( Some ( DescendOrigin ( sender. clone ( ) . try_into ( ) . unwrap ( ) ) )
@@ -279,8 +280,9 @@ mod test {
279280 xcm_precompile_addr,
280281 U256 :: zero ( ) ,
281282 Weight :: MAX ,
282- DepositLimit :: UnsafeOnlyForDryRun ,
283+ u128 :: MAX ,
283284 encoded_call,
285+ ExecConfig :: new_substrate_tx ( ) ,
284286 ) ;
285287
286288 assert ! ( result. result. is_ok( ) ) ;
@@ -327,8 +329,9 @@ mod test {
327329 xcm_precompile_addr,
328330 U256 :: zero ( ) ,
329331 Weight :: MAX ,
330- DepositLimit :: UnsafeOnlyForDryRun ,
332+ u128 :: MAX ,
331333 encoded_call,
334+ ExecConfig :: new_substrate_tx ( ) ,
332335 ) ;
333336 let return_value = match result. result {
334337 Ok ( value) => value,
@@ -376,8 +379,9 @@ mod test {
376379 xcm_precompile_addr,
377380 U256 :: zero ( ) ,
378381 Weight :: MAX ,
379- DepositLimit :: UnsafeOnlyForDryRun ,
382+ u128 :: MAX ,
380383 encoded_call,
384+ ExecConfig :: new_substrate_tx ( ) ,
381385 ) ;
382386 let return_value = match result. result {
383387 Ok ( value) => value,
@@ -402,8 +406,9 @@ mod test {
402406 xcm_precompile_addr,
403407 U256 :: zero ( ) ,
404408 Weight :: MAX ,
405- DepositLimit :: UnsafeOnlyForDryRun ,
409+ u128 :: MAX ,
406410 encoded_call,
411+ ExecConfig :: new_substrate_tx ( ) ,
407412 ) ;
408413 let return_value = match result. result {
409414 Ok ( value) => value,
@@ -451,8 +456,9 @@ mod test {
451456 xcm_precompile_addr,
452457 U256 :: zero ( ) ,
453458 Weight :: MAX ,
454- DepositLimit :: UnsafeOnlyForDryRun ,
459+ u128 :: MAX ,
455460 encoded_call,
461+ ExecConfig :: new_substrate_tx ( ) ,
456462 ) ;
457463 let return_value = match result. result {
458464 Ok ( value) => value,
@@ -478,8 +484,9 @@ mod test {
478484 xcm_precompile_addr,
479485 U256 :: zero ( ) ,
480486 Weight :: MAX ,
481- DepositLimit :: UnsafeOnlyForDryRun ,
487+ u128 :: MAX ,
482488 encoded_call,
489+ ExecConfig :: new_substrate_tx ( ) ,
483490 ) ;
484491 let return_value = match result. result {
485492 Ok ( value) => value,
@@ -520,8 +527,9 @@ mod test {
520527 xcm_precompile_addr,
521528 U256 :: zero ( ) ,
522529 Weight :: MAX ,
523- DepositLimit :: UnsafeOnlyForDryRun ,
530+ u128 :: MAX ,
524531 encoded_weight_call,
532+ ExecConfig :: new_substrate_tx ( ) ,
525533 ) ;
526534
527535 let weight_result = match xcm_weight_results. result {
@@ -542,8 +550,9 @@ mod test {
542550 xcm_precompile_addr,
543551 U256 :: zero ( ) ,
544552 Weight :: MAX ,
545- DepositLimit :: UnsafeOnlyForDryRun ,
553+ u128 :: MAX ,
546554 encoded_call,
555+ ExecConfig :: new_substrate_tx ( ) ,
547556 ) ;
548557
549558 assert ! ( result. result. is_ok( ) ) ;
@@ -580,8 +589,9 @@ mod test {
580589 xcm_precompile_addr,
581590 U256 :: zero ( ) ,
582591 Weight :: MAX ,
583- DepositLimit :: UnsafeOnlyForDryRun ,
592+ u128 :: MAX ,
584593 encoded_weight_call,
594+ ExecConfig :: new_substrate_tx ( ) ,
585595 ) ;
586596
587597 let weight_result = match xcm_weight_results. result {
@@ -602,8 +612,9 @@ mod test {
602612 xcm_precompile_addr,
603613 U256 :: zero ( ) ,
604614 Weight :: MAX ,
605- DepositLimit :: UnsafeOnlyForDryRun ,
615+ u128 :: MAX ,
606616 encoded_call,
617+ ExecConfig :: new_substrate_tx ( ) ,
607618 ) ;
608619
609620 let return_value = match result. result {
@@ -648,8 +659,9 @@ mod test {
648659 xcm_precompile_addr,
649660 U256 :: zero ( ) ,
650661 Weight :: MAX ,
651- DepositLimit :: UnsafeOnlyForDryRun ,
662+ u128 :: MAX ,
652663 encoded_weight_call,
664+ ExecConfig :: new_substrate_tx ( ) ,
653665 ) ;
654666
655667 let weight_result = match xcm_weight_results. result {
@@ -670,8 +682,9 @@ mod test {
670682 xcm_precompile_addr,
671683 U256 :: zero ( ) ,
672684 Weight :: MAX ,
673- DepositLimit :: UnsafeOnlyForDryRun ,
685+ u128 :: MAX ,
674686 encoded_call,
687+ ExecConfig :: new_substrate_tx ( ) ,
675688 ) ;
676689 let return_value = match result. result {
677690 Ok ( value) => value,
@@ -715,8 +728,9 @@ mod test {
715728 xcm_precompile_addr,
716729 U256 :: zero ( ) ,
717730 Weight :: MAX ,
718- DepositLimit :: UnsafeOnlyForDryRun ,
731+ u128 :: MAX ,
719732 encoded_weight_call,
733+ ExecConfig :: new_substrate_tx ( ) ,
720734 ) ;
721735
722736 let weight_result = match xcm_weight_results. result {
@@ -744,8 +758,9 @@ mod test {
744758 xcm_precompile_addr,
745759 U256 :: zero ( ) ,
746760 Weight :: MAX ,
747- DepositLimit :: UnsafeOnlyForDryRun ,
761+ u128 :: MAX ,
748762 encoded_call,
763+ ExecConfig :: new_substrate_tx ( ) ,
749764 ) ;
750765
751766 let return_value = match result. result {
@@ -770,8 +785,9 @@ mod test {
770785 xcm_precompile_addr,
771786 U256 :: zero ( ) ,
772787 Weight :: MAX ,
773- DepositLimit :: UnsafeOnlyForDryRun ,
788+ u128 :: MAX ,
774789 encoded_call,
790+ ExecConfig :: new_substrate_tx ( ) ,
775791 ) ;
776792
777793 let return_value = match result. result {
@@ -818,8 +834,9 @@ mod test {
818834 xcm_precompile_addr,
819835 U256 :: zero ( ) ,
820836 Weight :: MAX ,
821- DepositLimit :: UnsafeOnlyForDryRun ,
837+ u128 :: MAX ,
822838 encoded_weight_call,
839+ ExecConfig :: new_substrate_tx ( ) ,
823840 ) ;
824841
825842 let result = match xcm_weight_results. result {
@@ -842,8 +859,9 @@ mod test {
842859 xcm_precompile_addr,
843860 U256 :: zero ( ) ,
844861 Weight :: MAX ,
845- DepositLimit :: UnsafeOnlyForDryRun ,
862+ u128 :: MAX ,
846863 encoded_weight_call,
864+ ExecConfig :: new_substrate_tx ( ) ,
847865 ) ;
848866
849867 let result = match xcm_weight_results. result {
0 commit comments