From 41af26ea1b48b098ede5101c2f9b3afac0f38c9a Mon Sep 17 00:00:00 2001 From: Francisco Aguirre Date: Sun, 1 Dec 2024 12:23:04 -0300 Subject: [PATCH] fix: remove unnecessary imports --- .../collectives/collectives-westend/tests/tests.rs | 10 +--------- .../runtimes/coretime/coretime-rococo/tests/tests.rs | 10 +--------- .../runtimes/coretime/coretime-westend/tests/tests.rs | 10 +--------- .../runtimes/people/people-rococo/tests/tests.rs | 10 +--------- 4 files changed, 4 insertions(+), 36 deletions(-) diff --git a/cumulus/parachains/runtimes/collectives/collectives-westend/tests/tests.rs b/cumulus/parachains/runtimes/collectives/collectives-westend/tests/tests.rs index 08eb71d9b8ce..628b60ee6f9e 100644 --- a/cumulus/parachains/runtimes/collectives/collectives-westend/tests/tests.rs +++ b/cumulus/parachains/runtimes/collectives/collectives-westend/tests/tests.rs @@ -16,15 +16,7 @@ #![cfg(test)] -use collectives_westend_runtime::{ - xcm_config::LocationToAccountId, Block, Runtime, RuntimeCall, RuntimeOrigin, -}; -use parachains_common::AccountId; -use sp_core::crypto::Ss58Codec; -use xcm::latest::prelude::*; -use xcm_runtime_apis::conversions::LocationToAccountHelper; - -const ALICE: [u8; 32] = [1u8; 32]; +use collectives_westend_runtime::Block, Runtime, RuntimeCall, RuntimeOrigin; #[test] fn xcm_payment_api_works() { diff --git a/cumulus/parachains/runtimes/coretime/coretime-rococo/tests/tests.rs b/cumulus/parachains/runtimes/coretime/coretime-rococo/tests/tests.rs index 648f8284d1f4..dccea8afaa03 100644 --- a/cumulus/parachains/runtimes/coretime/coretime-rococo/tests/tests.rs +++ b/cumulus/parachains/runtimes/coretime/coretime-rococo/tests/tests.rs @@ -16,15 +16,7 @@ #![cfg(test)] -use coretime_rococo_runtime::{ - xcm_config::LocationToAccountId, Block, Runtime, RuntimeCall, RuntimeOrigin, -}; -use parachains_common::AccountId; -use sp_core::crypto::Ss58Codec; -use xcm::latest::prelude::*; -use xcm_runtime_apis::conversions::LocationToAccountHelper; - -const ALICE: [u8; 32] = [1u8; 32]; +use coretime_rococo_runtime::Block, Runtime, RuntimeCall, RuntimeOrigin; #[test] fn xcm_payment_api_works() { diff --git a/cumulus/parachains/runtimes/coretime/coretime-westend/tests/tests.rs b/cumulus/parachains/runtimes/coretime/coretime-westend/tests/tests.rs index 87ef46850491..f9c754432889 100644 --- a/cumulus/parachains/runtimes/coretime/coretime-westend/tests/tests.rs +++ b/cumulus/parachains/runtimes/coretime/coretime-westend/tests/tests.rs @@ -16,15 +16,7 @@ #![cfg(test)] -use coretime_westend_runtime::{ - xcm_config::LocationToAccountId, Block, Runtime, RuntimeCall, RuntimeOrigin, -}; -use parachains_common::AccountId; -use sp_core::crypto::Ss58Codec; -use xcm::latest::prelude::*; -use xcm_runtime_apis::conversions::LocationToAccountHelper; - -const ALICE: [u8; 32] = [1u8; 32]; +use coretime_westend_runtime::Block, Runtime, RuntimeCall, RuntimeOrigin; #[test] fn xcm_payment_api_works() { diff --git a/cumulus/parachains/runtimes/people/people-rococo/tests/tests.rs b/cumulus/parachains/runtimes/people/people-rococo/tests/tests.rs index 4cfeaf7d3cce..2feb41a725d7 100644 --- a/cumulus/parachains/runtimes/people/people-rococo/tests/tests.rs +++ b/cumulus/parachains/runtimes/people/people-rococo/tests/tests.rs @@ -16,15 +16,7 @@ #![cfg(test)] -use parachains_common::AccountId; -use people_rococo_runtime::{ - xcm_config::LocationToAccountId, Block, Runtime, RuntimeCall, RuntimeOrigin, -}; -use sp_core::crypto::Ss58Codec; -use xcm::latest::prelude::*; -use xcm_runtime_apis::conversions::LocationToAccountHelper; - -const ALICE: [u8; 32] = [1u8; 32]; +use people_rococo_runtime::Block, Runtime, RuntimeCall, RuntimeOrigin; #[test] fn xcm_payment_api_works() {