@@ -356,8 +356,8 @@ fn send_as_sovereign() {
356
356
let call = relay:: Call :: System ( frame_system:: Call :: < relay:: Runtime > :: remark_with_event ( vec ! [ 1 , 1 , 1 ] ) ) ;
357
357
assert_ok ! ( para:: OrmlXcm :: send_as_sovereign(
358
358
para:: Origin :: root( ) ,
359
- Junction :: Parent . into( ) ,
360
- WithdrawAsset {
359
+ Box :: new ( Junction :: Parent . into( ) ) ,
360
+ Box :: new ( WithdrawAsset {
361
361
assets: vec![ MultiAsset :: ConcreteFungible {
362
362
id: MultiLocation :: Null ,
363
363
amount: 1_000_000_000_000
@@ -373,7 +373,7 @@ fn send_as_sovereign() {
373
373
call: call. encode( ) . into( ) ,
374
374
} ] ,
375
375
} ]
376
- }
376
+ } )
377
377
) ) ;
378
378
} ) ;
379
379
@@ -402,8 +402,8 @@ fn send_as_sovereign_fails_if_bad_origin() {
402
402
assert_err ! (
403
403
para:: OrmlXcm :: send_as_sovereign(
404
404
para:: Origin :: signed( ALICE ) ,
405
- Junction :: Parent . into( ) ,
406
- WithdrawAsset {
405
+ Box :: new ( Junction :: Parent . into( ) ) ,
406
+ Box :: new ( WithdrawAsset {
407
407
assets: vec![ MultiAsset :: ConcreteFungible {
408
408
id: MultiLocation :: Null ,
409
409
amount: 1_000_000_000_000
@@ -419,7 +419,7 @@ fn send_as_sovereign_fails_if_bad_origin() {
419
419
call: call. encode( ) . into( ) ,
420
420
} ] ,
421
421
} ]
422
- }
422
+ } )
423
423
) ,
424
424
DispatchError :: BadOrigin ,
425
425
) ;
0 commit comments