|
1 | 1 | use crate::{
|
2 |
| - AccountId, AllPalletsWithSystem, Balances, CumulusXcm, ParachainInfo, ParachainSystem, |
3 |
| - PolkadotXcm, Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, XcmpQueue, |
| 2 | + AccountId, AllPalletsWithSystem, Balances, ParachainInfo, ParachainSystem, PolkadotXcm, |
| 3 | + Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, XcmpQueue, |
4 | 4 | };
|
| 5 | +// TODO: To fix lint these were removed. Determine if the following imports are necessary: |
| 6 | +// CulumusXcm |
5 | 7 |
|
6 | 8 | use staging_xcm_builder::{
|
7 | 9 | AccountId32Aliases, AllowExplicitUnpaidExecutionFrom, AllowTopLevelPaidExecutionFrom,
|
8 | 10 | DenyRecursively, DenyReserveTransferToRelayChain, DenyThenTry, EnsureXcmOrigin,
|
9 |
| - FixedWeightBounds, FrameTransactionalProcessor, FungibleAdapter, FungiblesAdapter, IsConcrete, |
10 |
| - IsParentsOnly, MatchedConvertedConcreteId, NativeAsset, NoChecking, ParentIsPreset, |
11 |
| - RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, |
| 11 | + FixedWeightBounds, FrameTransactionalProcessor, FungibleAdapter, IsConcrete, NativeAsset, |
| 12 | + ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, |
12 | 13 | SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit,
|
13 | 14 | TrailingSetTopicAsId, UsingComponents, WithComputedOrigin, WithUniqueTopic,
|
14 | 15 | };
|
| 16 | +// TODO: To fix lint these were removed. Determine if the following imports are necessary: |
| 17 | +// FungiblesAdapter, IsParentsOnly, MatchedConvertedConcreteId, NoChecking |
15 | 18 |
|
16 | 19 | use polkadot_parachain_primitives::primitives::Sibling;
|
17 | 20 |
|
18 | 21 | use frame_support::{
|
19 | 22 | pallet_prelude::Get,
|
20 | 23 | parameter_types,
|
21 |
| - traits::{ConstU32, ConstU8, Contains, ContainsPair, Disabled, Everything, Nothing}, |
| 24 | + traits::{ConstU32, Contains, ContainsPair, Disabled, Everything, Nothing}, |
22 | 25 | weights::Weight,
|
23 | 26 | };
|
| 27 | +// TODO: To fix lint these were removed. Determine if the following imports are necessary: |
| 28 | +// ConstU8 |
24 | 29 |
|
25 | 30 | pub use common_runtime::fee::WeightToFee;
|
26 | 31 |
|
@@ -49,7 +54,7 @@ parameter_types! {
|
49 | 54 | pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into();
|
50 | 55 | // For the real deployment, it is recommended to set `RelayNetwork` according to the relay chain
|
51 | 56 | // and prepend `UniversalLocation` with `GlobalConsensus(RelayNetwork::get())`.
|
52 |
| - pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get().unwrap()), Parachain(ParachainInfo::parachain_id().into()).into()].into(); |
| 57 | + pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get().unwrap()), Parachain(ParachainInfo::parachain_id().into())].into(); |
53 | 58 | pub HereLocation: Location = Location::here();
|
54 | 59 | }
|
55 | 60 |
|
|
0 commit comments