Skip to content

Commit

Permalink
fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Szegoo committed May 4, 2024
1 parent 15903e5 commit fab2cc8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions runtime/regionx/src/adapter.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// TODO: remove this file
// This has been temporarily added here because the NonFungibleAdapter is in release 1.7.0
// This has been temporarily added here because the NonFungibleAdapter is in release 1.7.0
// or later, but we cannot update to that version now because of ISMP.

// Copyright (C) Parity Technologies (UK) Ltd.
Expand All @@ -20,13 +20,13 @@

//! Adapters to work with [`frame_support::traits::tokens::nonfungible`] through XCM.

use xcm_builder::MintLocation;
use frame_support::{
ensure,
traits::{tokens::nonfungible, Get},
};
use sp_std::{marker::PhantomData, prelude::*, result};
use xcm::latest::prelude::*;
use xcm_builder::MintLocation;
use xcm_executor::traits::{
ConvertLocation, Error as MatchError, MatchesNonFungible, TransactAsset,
};
Expand Down
1 change: 0 additions & 1 deletion runtime/regionx/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs"));

extern crate alloc;


// TODO remove:
mod adapter;
use adapter::NonFungibleAdapter;
Expand Down
8 changes: 4 additions & 4 deletions runtime/regionx/src/xcm_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
// along with RegionX. If not, see <https://www.gnu.org/licenses/>.

use super::{
AccountId, AllPalletsWithSystem, AssetId, Balance, Balances, Currencies, ParachainInfo,
ParachainSystem, PolkadotXcm, Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, UnknownTokens,
CORETIME_CHAIN_PARA_ID, NonFungibleAdapter, WeightToFee, XcmpQueue,
AccountId, AllPalletsWithSystem, AssetId, Balance, Balances, Currencies, NonFungibleAdapter,
ParachainInfo, ParachainSystem, PolkadotXcm, Regions, Runtime, RuntimeCall, RuntimeEvent,
RuntimeOrigin, UnknownTokens, WeightToFee, XcmpQueue, CORETIME_CHAIN_PARA_ID,
};
use frame_support::{
match_types, parameter_types,
Expand All @@ -34,7 +34,7 @@ use xcm::latest::prelude::*;
use xcm_builder::{
AccountId32Aliases, AllowExplicitUnpaidExecutionFrom, AllowTopLevelPaidExecutionFrom,
DenyReserveTransferToRelayChain, DenyThenTry, EnsureXcmOrigin, FixedWeightBounds,
FrameTransactionalProcessor, NativeAsset, ParentIsPreset, RelayChainAsNative,
FrameTransactionalProcessor, IsConcrete, NativeAsset, ParentIsPreset, RelayChainAsNative,
SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative,
SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, TrailingSetTopicAsId,
UsingComponents, WithComputedOrigin, WithUniqueTopic,
Expand Down

0 comments on commit fab2cc8

Please sign in to comment.