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 6f9a559938cb1d675ec762e9c858b89a6e5249ed..094990beb8da2a6b787124219d58c6ebdd37c195 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 a08651efc2b8f124e4c351298fd634bdc562ce55..37c75465e4fb9035925f8ffa5607b285427e192a 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 f61cab3bd96ef76c066f36d07b09c1e29fb57ab1..05ed997b2246d28369ba3ac13718fea1ca464cce 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,