diff --git a/pallets/moonbeam-foreign-assets/src/tests.rs b/pallets/moonbeam-foreign-assets/src/tests.rs index 32d1394a50..43d507e094 100644 --- a/pallets/moonbeam-foreign-assets/src/tests.rs +++ b/pallets/moonbeam-foreign-assets/src/tests.rs @@ -53,7 +53,10 @@ fn create_foreign_and_freeze_unfreeze() { ); assert_eq!( EvmForeignAssets::assets_creation_details(&1), - Some(AssetCreationDetails { creator: Alice.into(), deposit: 1}) + Some(AssetCreationDetails { + creator: Alice.into(), + deposit: 1 + }) ); expect_events(vec![crate::Event::ForeignAssetCreated { @@ -78,7 +81,10 @@ fn create_foreign_and_freeze_unfreeze() { ); assert_eq!( EvmForeignAssets::assets_creation_details(&1), - Some(AssetCreationDetails { creator: Alice.into(), deposit: 1}) + Some(AssetCreationDetails { + creator: Alice.into(), + deposit: 1 + }) ); // Unfreeze should return AssetNotFrozen error @@ -206,7 +212,7 @@ fn test_root_can_change_foreign_asset_for_asset_id() { ]), asset_id: 1, xcm_location: Location::parent(), - deposit: 1 + deposit: 1, }, crate::Event::ForeignAssetXcmLocationChanged { asset_id: 1, diff --git a/runtime/moonbeam/src/xcm_config.rs b/runtime/moonbeam/src/xcm_config.rs index 30685419be..b7400d8715 100644 --- a/runtime/moonbeam/src/xcm_config.rs +++ b/runtime/moonbeam/src/xcm_config.rs @@ -66,13 +66,13 @@ use xcm_primitives::{ use parity_scale_codec::{Decode, Encode}; use scale_info::TypeInfo; +use crate::governance::referenda::{FastGeneralAdminOrRoot, GeneralAdminOrRoot}; +use moonbeam_core_primitives::BlockNumber; use sp_core::Get; use sp_std::{ convert::{From, Into, TryFrom}, prelude::*, }; -use moonbeam_core_primitives::BlockNumber; -use crate::governance::referenda::{FastGeneralAdminOrRoot, GeneralAdminOrRoot}; parameter_types! { // The network Id of the relay diff --git a/runtime/moonriver/src/xcm_config.rs b/runtime/moonriver/src/xcm_config.rs index 4a0898de9c..0c547152ca 100644 --- a/runtime/moonriver/src/xcm_config.rs +++ b/runtime/moonriver/src/xcm_config.rs @@ -66,13 +66,13 @@ use xcm_primitives::{ use parity_scale_codec::{Decode, Encode}; use scale_info::TypeInfo; +use crate::governance::referenda::{FastGeneralAdminOrRoot, GeneralAdminOrRoot}; +use moonbeam_core_primitives::BlockNumber; use sp_core::Get; use sp_std::{ convert::{From, Into, TryFrom}, prelude::*, }; -use moonbeam_core_primitives::BlockNumber; -use crate::governance::referenda::{FastGeneralAdminOrRoot, GeneralAdminOrRoot}; parameter_types! { // The network Id of the relay