diff --git a/runtime/dancebox/src/tests/common/xcm/core_buyer.rs b/runtime/dancebox/src/tests/common/xcm/core_buyer.rs
index 9e7cc0d1f..f0c9dbee0 100644
--- a/runtime/dancebox/src/tests/common/xcm/core_buyer.rs
+++ b/runtime/dancebox/src/tests/common/xcm/core_buyer.rs
@@ -15,17 +15,15 @@
// along with Tanssi. If not, see
use {
- crate::{
- tests::common::xcm::{
- core_buyer_common::*,
- mocknets::{DanceboxRococoPara as Dancebox, RococoRelay as Rococo, RococoRelayPallet},
- *,
- },
+ crate::tests::common::xcm::{
+ core_buyer_common::*,
+ mocknets::{DanceboxRococoPara as Dancebox, RococoRelay as Rococo, RococoRelayPallet},
+ *,
},
polkadot_runtime_parachains::on_demand as parachains_assigner_on_demand,
staging_xcm::latest::{MaybeErrorCode, Response},
tp_traits::ParaId,
- xcm_emulator::{Chain, assert_expected_events},
+ xcm_emulator::{assert_expected_events, Chain},
};
const PARATHREAD_ID: u32 = 3333;
diff --git a/runtime/dancebox/src/tests/common/xcm/delivery_fees.rs b/runtime/dancebox/src/tests/common/xcm/delivery_fees.rs
index 00f506f78..bbed23d2d 100644
--- a/runtime/dancebox/src/tests/common/xcm/delivery_fees.rs
+++ b/runtime/dancebox/src/tests/common/xcm/delivery_fees.rs
@@ -15,16 +15,14 @@
// along with Tanssi. If not, see
use {
- crate::{
- tests::common::xcm::{
- mocknets::{
- DanceboxPara as Dancebox, DanceboxParaPallet, DanceboxSender,
- EthereumSender as FrontierTemplateSender, FrontierTemplatePara as FrontierTemplate,
- FrontierTemplateParaPallet, SimpleTemplatePara as SimpleTemplate,
- SimpleTemplateParaPallet, SimpleTemplateSender,
- },
- *,
+ crate::tests::common::xcm::{
+ mocknets::{
+ DanceboxPara as Dancebox, DanceboxParaPallet, DanceboxSender,
+ EthereumSender as FrontierTemplateSender, FrontierTemplatePara as FrontierTemplate,
+ FrontierTemplateParaPallet, SimpleTemplatePara as SimpleTemplate,
+ SimpleTemplateParaPallet, SimpleTemplateSender,
},
+ *,
},
frame_support::{assert_ok, traits::EnsureOrigin},
paste::paste,
@@ -32,7 +30,7 @@ use {
latest::prelude::{Junctions::X1, *},
VersionedLocation, VersionedXcm,
},
- xcm_emulator::{Chain, assert_expected_events},
+ xcm_emulator::{assert_expected_events, Chain},
};
#[test]
diff --git a/runtime/dancebox/src/tests/common/xcm/force_core_buyer.rs b/runtime/dancebox/src/tests/common/xcm/force_core_buyer.rs
index c2d944ce5..c7b8a880e 100644
--- a/runtime/dancebox/src/tests/common/xcm/force_core_buyer.rs
+++ b/runtime/dancebox/src/tests/common/xcm/force_core_buyer.rs
@@ -15,17 +15,15 @@
// along with Tanssi. If not, see
use {
- crate::{
- tests::common::xcm::{
- core_buyer_common::*,
- mocknets::{DanceboxRococoPara as Dancebox, RococoRelay as Rococo, RococoRelayPallet},
- *,
- },
+ crate::tests::common::xcm::{
+ core_buyer_common::*,
+ mocknets::{DanceboxRococoPara as Dancebox, RococoRelay as Rococo, RococoRelayPallet},
+ *,
},
polkadot_runtime_parachains::on_demand as parachains_assigner_on_demand,
staging_xcm::latest::{MaybeErrorCode, Response},
tp_traits::ParaId,
- xcm_emulator::{Chain, assert_expected_events},
+ xcm_emulator::{assert_expected_events, Chain},
};
#[test]
diff --git a/runtime/dancebox/src/tests/common/xcm/foreign_signed_based_sovereign.rs b/runtime/dancebox/src/tests/common/xcm/foreign_signed_based_sovereign.rs
index e730a1bdf..f5f90053f 100644
--- a/runtime/dancebox/src/tests/common/xcm/foreign_signed_based_sovereign.rs
+++ b/runtime/dancebox/src/tests/common/xcm/foreign_signed_based_sovereign.rs
@@ -37,7 +37,7 @@ use {
VersionedLocation, VersionedXcm,
},
staging_xcm_executor::traits::ConvertLocation,
- xcm_emulator::{Chain, assert_expected_events},
+ xcm_emulator::{assert_expected_events, Chain},
};
#[test]
diff --git a/runtime/dancebox/src/tests/common/xcm/foreign_sovereigns.rs b/runtime/dancebox/src/tests/common/xcm/foreign_sovereigns.rs
index df6b8a746..b374970c8 100644
--- a/runtime/dancebox/src/tests/common/xcm/foreign_sovereigns.rs
+++ b/runtime/dancebox/src/tests/common/xcm/foreign_sovereigns.rs
@@ -15,16 +15,13 @@
// along with Tanssi. If not, see
use {
- crate::{
- tests::common::xcm::{
- mocknets::{
- DanceboxPara as Dancebox, DanceboxParaPallet, EthereumEmptyReceiver,
- EthereumSender, FrontierTemplatePara as FrontierTemplate,
- FrontierTemplateParaPallet, WestendEmptyReceiver, WestendRelay as Westend,
- WestendRelayPallet, WestendSender,
- },
- *,
+ crate::tests::common::xcm::{
+ mocknets::{
+ DanceboxPara as Dancebox, DanceboxParaPallet, EthereumEmptyReceiver, EthereumSender,
+ FrontierTemplatePara as FrontierTemplate, FrontierTemplateParaPallet,
+ WestendEmptyReceiver, WestendRelay as Westend, WestendRelayPallet, WestendSender,
},
+ *,
},
container_chain_template_frontier_runtime::currency::UNIT as FRONTIER_DEV,
frame_support::{
@@ -37,7 +34,7 @@ use {
},
staging_xcm_executor::traits::ConvertLocation,
westend_runtime_constants::currency::UNITS as WND,
- xcm_emulator::{Chain, assert_expected_events},
+ xcm_emulator::{assert_expected_events, Chain},
};
#[test]
diff --git a/runtime/dancebox/src/tests/common/xcm/token_derivative_reception_container_dancebox.rs b/runtime/dancebox/src/tests/common/xcm/token_derivative_reception_container_dancebox.rs
index 71fd6a916..ac9b288d9 100644
--- a/runtime/dancebox/src/tests/common/xcm/token_derivative_reception_container_dancebox.rs
+++ b/runtime/dancebox/src/tests/common/xcm/token_derivative_reception_container_dancebox.rs
@@ -15,15 +15,12 @@
// along with Tanssi. If not, see
use {
- crate::{
- tests::common::xcm::{
- mocknets::{
- DanceboxPara as Dancebox, DanceboxParaPallet, DanceboxReceiver,
- SimpleTemplatePara as SimpleTemplate, SimpleTemplateParaPallet,
- SimpleTemplateSender,
- },
- *,
+ crate::tests::common::xcm::{
+ mocknets::{
+ DanceboxPara as Dancebox, DanceboxParaPallet, DanceboxReceiver,
+ SimpleTemplatePara as SimpleTemplate, SimpleTemplateParaPallet, SimpleTemplateSender,
},
+ *,
},
frame_support::{
assert_ok,
@@ -35,7 +32,7 @@ use {
latest::prelude::{Junctions::*, *},
VersionedLocation,
},
- xcm_emulator::{Chain, assert_expected_events},
+ xcm_emulator::{assert_expected_events, Chain},
};
#[allow(unused_assignments)]
diff --git a/runtime/dancebox/src/tests/common/xcm/token_derivative_reception_dancebox_simple_container.rs b/runtime/dancebox/src/tests/common/xcm/token_derivative_reception_dancebox_simple_container.rs
index 88113ef6c..923a574fe 100644
--- a/runtime/dancebox/src/tests/common/xcm/token_derivative_reception_dancebox_simple_container.rs
+++ b/runtime/dancebox/src/tests/common/xcm/token_derivative_reception_dancebox_simple_container.rs
@@ -15,15 +15,12 @@
// along with Tanssi. If not, see
use {
- crate::{
- tests::common::xcm::{
- mocknets::{
- DanceboxPara as Dancebox, DanceboxParaPallet, DanceboxSender,
- SimpleTemplatePara as SimpleTemplate, SimpleTemplateParaPallet,
- SimpleTemplateReceiver,
- },
- *,
+ crate::tests::common::xcm::{
+ mocknets::{
+ DanceboxPara as Dancebox, DanceboxParaPallet, DanceboxSender,
+ SimpleTemplatePara as SimpleTemplate, SimpleTemplateParaPallet, SimpleTemplateReceiver,
},
+ *,
},
frame_support::{
assert_ok,
@@ -35,7 +32,7 @@ use {
latest::prelude::{Junctions::*, *},
VersionedLocation,
},
- xcm_emulator::{Chain, assert_expected_events},
+ xcm_emulator::{assert_expected_events, Chain},
};
#[allow(unused_assignments)]
diff --git a/runtime/dancebox/src/tests/common/xcm/token_derivative_reception_relay_dancebox.rs b/runtime/dancebox/src/tests/common/xcm/token_derivative_reception_relay_dancebox.rs
index 5fe47a165..0c103bd99 100644
--- a/runtime/dancebox/src/tests/common/xcm/token_derivative_reception_relay_dancebox.rs
+++ b/runtime/dancebox/src/tests/common/xcm/token_derivative_reception_relay_dancebox.rs
@@ -15,14 +15,12 @@
// along with Tanssi. If not, see
use {
- crate::{
- tests::common::xcm::{
- mocknets::{
- DanceboxPara as Dancebox, DanceboxParaPallet, DanceboxReceiver,
- WestendRelay as Westend, WestendRelayPallet, WestendSender,
- },
- *,
+ crate::tests::common::xcm::{
+ mocknets::{
+ DanceboxPara as Dancebox, DanceboxParaPallet, DanceboxReceiver,
+ WestendRelay as Westend, WestendRelayPallet, WestendSender,
},
+ *,
},
frame_support::{
assert_ok,
@@ -33,7 +31,7 @@ use {
latest::prelude::{Junctions::*, *},
VersionedLocation,
},
- xcm_emulator::{Chain, assert_expected_events},
+ xcm_emulator::{assert_expected_events, Chain},
};
#[allow(unused_assignments)]
diff --git a/runtime/dancebox/src/tests/common/xcm/token_derivative_reception_relay_frontier_container.rs b/runtime/dancebox/src/tests/common/xcm/token_derivative_reception_relay_frontier_container.rs
index e889dead2..9da49a176 100644
--- a/runtime/dancebox/src/tests/common/xcm/token_derivative_reception_relay_frontier_container.rs
+++ b/runtime/dancebox/src/tests/common/xcm/token_derivative_reception_relay_frontier_container.rs
@@ -15,15 +15,12 @@
// along with Tanssi. If not, see
use {
- crate::{
- tests::common::xcm::{
- mocknets::{
- EthereumReceiver, FrontierTemplatePara as FrontierTemplate,
- FrontierTemplateParaPallet, WestendRelay as Westend, WestendRelayPallet,
- WestendSender,
- },
- *,
+ crate::tests::common::xcm::{
+ mocknets::{
+ EthereumReceiver, FrontierTemplatePara as FrontierTemplate, FrontierTemplateParaPallet,
+ WestendRelay as Westend, WestendRelayPallet, WestendSender,
},
+ *,
},
frame_support::{
assert_ok,
@@ -35,7 +32,7 @@ use {
latest::prelude::{Junctions::*, *},
VersionedLocation,
},
- xcm_emulator::{Chain, assert_expected_events},
+ xcm_emulator::{assert_expected_events, Chain},
};
#[allow(unused_assignments)]
diff --git a/runtime/dancebox/src/tests/common/xcm/token_derivative_reception_relay_simple_container.rs b/runtime/dancebox/src/tests/common/xcm/token_derivative_reception_relay_simple_container.rs
index 2573f7c60..b11dacb8f 100644
--- a/runtime/dancebox/src/tests/common/xcm/token_derivative_reception_relay_simple_container.rs
+++ b/runtime/dancebox/src/tests/common/xcm/token_derivative_reception_relay_simple_container.rs
@@ -15,14 +15,12 @@
// along with Tanssi. If not, see
use {
- crate::{
- tests::common::xcm::{
- mocknets::{
- SimpleTemplatePara as SimpleTemplate, SimpleTemplateParaPallet,
- SimpleTemplateReceiver, WestendRelay as Westend, WestendRelayPallet, WestendSender,
- },
- *,
+ crate::tests::common::xcm::{
+ mocknets::{
+ SimpleTemplatePara as SimpleTemplate, SimpleTemplateParaPallet, SimpleTemplateReceiver,
+ WestendRelay as Westend, WestendRelayPallet, WestendSender,
},
+ *,
},
frame_support::{
assert_ok,
@@ -33,7 +31,7 @@ use {
latest::prelude::{Junctions::*, *},
VersionedLocation,
},
- xcm_emulator::{Chain, assert_expected_events},
+ xcm_emulator::{assert_expected_events, Chain},
};
#[allow(unused_assignments)]
diff --git a/runtime/dancebox/src/tests/common/xcm/transact.rs b/runtime/dancebox/src/tests/common/xcm/transact.rs
index c9d5cdf74..df2f1e12a 100644
--- a/runtime/dancebox/src/tests/common/xcm/transact.rs
+++ b/runtime/dancebox/src/tests/common/xcm/transact.rs
@@ -17,12 +17,10 @@
use crate::tests::common::xcm::*;
use {
- crate::{
- tests::common::xcm::mocknets::{
- DanceboxPara as Dancebox, FrontierTemplatePara as FrontierTemplate,
- FrontierTemplateParaPallet, SimpleTemplatePara as SimpleTemplate,
- SimpleTemplateParaPallet, WestendRelay as Westend, WestendRelayPallet,
- },
+ crate::tests::common::xcm::mocknets::{
+ DanceboxPara as Dancebox, FrontierTemplatePara as FrontierTemplate,
+ FrontierTemplateParaPallet, SimpleTemplatePara as SimpleTemplate, SimpleTemplateParaPallet,
+ WestendRelay as Westend, WestendRelayPallet,
},
frame_support::{
assert_ok,
@@ -35,7 +33,7 @@ use {
},
staging_xcm_builder::{ParentIsPreset, SiblingParachainConvertsVia},
staging_xcm_executor::traits::ConvertLocation,
- xcm_emulator::{Chain, assert_expected_events},
+ xcm_emulator::{assert_expected_events, Chain},
};
#[test]