We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7969776 commit ea0ddeaCopy full SHA for ea0ddea
xtokens/src/tests.rs
@@ -356,7 +356,7 @@ fn send_as_sovereign() {
356
WithdrawAsset(assets.clone().into()),
357
BuyExecution {
358
fees: assets,
359
- weight_limit: Limited(10_000_000)
+ weight_limit: Limited(2_000_000_000)
360
},
361
Instruction::Transact {
362
origin_type: SovereignAccount,
@@ -368,12 +368,12 @@ fn send_as_sovereign() {
368
});
369
370
Relay::execute_with(|| {
371
- relay::System::events().iter().any(|r| {
+ assert!(relay::System::events().iter().any(|r| {
372
matches!(
373
r.event,
374
relay::Event::System(frame_system::Event::<relay::Runtime>::Remarked(_, _))
375
)
376
- });
+ }));
377
})
378
}
379
0 commit comments