Skip to content

Commit e35eba3

Browse files
committed
fix
1 parent 3fa6ec1 commit e35eba3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

asset-registry/src/mock/para.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use frame_support::{
1212
use frame_system::{EnsureRoot, EnsureSignedBy};
1313
use orml_traits::{parameter_type_with_key, FixedConversionRateProvider, MultiCurrency};
1414
use orml_xcm_support::{IsNativeConcrete, MultiCurrencyAdapter, MultiNativeAsset};
15-
use orml_xtokens::{AbsoluteReserveProviderMigrationPhase, RelativeReserveProviderMigrationPhase};
15+
use orml_xtokens::{AbsoluteReserveProvider, RelativeReserveProvider};
1616
use pallet_xcm::XcmPassthrough;
1717
use parity_scale_codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen};
1818
use polkadot_parachain_primitives::primitives::Sibling;
@@ -210,7 +210,7 @@ impl Config for XcmConfig {
210210
type XcmSender = XcmRouter;
211211
type AssetTransactor = LocalAssetTransactor;
212212
type OriginConverter = XcmOriginToCallOrigin;
213-
type IsReserve = MultiNativeAsset<AbsoluteReserveProviderMigrationPhase<Runtime>>;
213+
type IsReserve = MultiNativeAsset<AbsoluteReserveProvider>;
214214
type IsTeleporter = ();
215215
type UniversalLocation = UniversalLocation;
216216
type Barrier = Barrier;
@@ -327,10 +327,9 @@ impl orml_xtokens::Config for Runtime {
327327
type BaseXcmWeight = BaseXcmWeight;
328328
type UniversalLocation = UniversalLocation;
329329
type MaxAssetsForTransfer = MaxAssetsForTransfer;
330-
type ReserveProvider = RelativeReserveProviderMigrationPhase<Runtime>;
330+
type ReserveProvider = RelativeReserveProvider;
331331
type RateLimiter = ();
332332
type RateLimiterId = ();
333-
type MigrationPhaseUpdateOrigin = EnsureRoot<AccountId>;
334333
}
335334

336335
impl orml_xcm::Config for Runtime {

0 commit comments

Comments
 (0)