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
32 v1::{BodyId, Junction::*, Junctions::*, MultiLocation, NetworkId},32 v1::{BodyId, Junction::*, Junctions::*, MultiLocation, NetworkId},
33};33};
34use xcm_builder::{34use xcm_builder::{
35 AccountId32Aliases, AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, CurrencyAdapter,35 AccountId32Aliases, AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom,
36 EnsureXcmOrigin, FixedWeightBounds, FungiblesAdapter, LocationInverter, ParentAsSuperuser,36 EnsureXcmOrigin, FixedWeightBounds, FungiblesAdapter, LocationInverter, ParentAsSuperuser,
37 ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia,37 ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia,
38 SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit,38 SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit,