From 3a8e675e9f6f283514c00c14d3d1d90ed5bf59c0 Mon Sep 17 00:00:00 2001 From: muharem <ismailov.m.h@gmail.com> Date: Fri, 24 May 2024 11:36:58 +0200 Subject: [PATCH] fix integrations --- cumulus/parachains/runtimes/assets/asset-hub-rococo/src/lib.rs | 1 + cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs | 1 + substrate/bin/node/runtime/src/lib.rs | 1 + 3 files changed, 3 insertions(+) diff --git a/cumulus/parachains/runtimes/assets/asset-hub-rococo/src/lib.rs b/cumulus/parachains/runtimes/assets/asset-hub-rococo/src/lib.rs index 6f9a559938c..094990beb8d 100644 --- a/cumulus/parachains/runtimes/assets/asset-hub-rococo/src/lib.rs +++ b/cumulus/parachains/runtimes/assets/asset-hub-rococo/src/lib.rs @@ -772,6 +772,7 @@ parameter_types! { impl pallet_asset_conversion_tx_payment::Config for Runtime { type RuntimeEvent = RuntimeEvent; + type AssetId = xcm::v3::Location; type OnChargeAssetTransaction = SwapAssetAdapter< TokenLocationV3, NativeAndAssets, diff --git a/cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs b/cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs index a08651efc2b..37c75465e4f 100644 --- a/cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs +++ b/cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs @@ -764,6 +764,7 @@ parameter_types! { impl pallet_asset_conversion_tx_payment::Config for Runtime { type RuntimeEvent = RuntimeEvent; + type AssetId = xcm::v3::Location; type OnChargeAssetTransaction = SwapAssetAdapter< WestendLocationV3, NativeAndAssets, diff --git a/substrate/bin/node/runtime/src/lib.rs b/substrate/bin/node/runtime/src/lib.rs index f61cab3bd96..05ed997b224 100644 --- a/substrate/bin/node/runtime/src/lib.rs +++ b/substrate/bin/node/runtime/src/lib.rs @@ -573,6 +573,7 @@ impl pallet_transaction_payment::Config for Runtime { impl pallet_asset_conversion_tx_payment::Config for Runtime { type RuntimeEvent = RuntimeEvent; + type AssetId = NativeOrWithId<u32>; type OnChargeAssetTransaction = SwapAssetAdapter< Native, NativeAndAssets, -- GitLab