git.delta.rocks / unique-network / refs/commits / 57fb867d0a8e

difftreelog

Remove currency adapter

Ilja Khabarov2022-08-23parent: #8f3105b.patch.diff
in: master

2 files changed

modifiedruntime/common/config/xcm.rsdiffbeforeafterboth
399 type Call = Call;399 type Call = Call;
400 type XcmSender = XcmRouter;400 type XcmSender = XcmRouter;
401 // How to withdraw and deposit an asset.401 // How to withdraw and deposit an asset.
402 type AssetTransactor = LocalAssetTransactor;402 type AssetTransactor = AssetTransactors;
403 type OriginConverter = XcmOriginToTransactDispatchOrigin;403 type OriginConverter = XcmOriginToTransactDispatchOrigin;
404 type IsReserve = IsReserve;404 type IsReserve = IsReserve;
405 type IsTeleporter = (); // Teleportation is disabled405 type IsTeleporter = (); // Teleportation is disabled
modifiedruntime/opal/src/xcm_config.rsdiffbeforeafterboth
--- a/runtime/opal/src/xcm_config.rs
+++ b/runtime/opal/src/xcm_config.rs
@@ -32,7 +32,7 @@
 	v1::{BodyId, Junction::*, Junctions::*, MultiLocation, NetworkId},
 };
 use xcm_builder::{
-	AccountId32Aliases, AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, CurrencyAdapter,
+	AccountId32Aliases, AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom,
 	EnsureXcmOrigin, FixedWeightBounds, FungiblesAdapter, LocationInverter, ParentAsSuperuser,
 	ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia,
 	SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit,