Skip to content

Commit 3a8e675

Browse files
committed
fix integrations
1 parent 16ef515 commit 3a8e675

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

  • cumulus/parachains/runtimes/assets
  • substrate/bin/node/runtime/src

cumulus/parachains/runtimes/assets/asset-hub-rococo/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -772,6 +772,7 @@ parameter_types! {
772772

773773
impl pallet_asset_conversion_tx_payment::Config for Runtime {
774774
type RuntimeEvent = RuntimeEvent;
775+
type AssetId = xcm::v3::Location;
775776
type OnChargeAssetTransaction = SwapAssetAdapter<
776777
TokenLocationV3,
777778
NativeAndAssets,

cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,7 @@ parameter_types! {
764764

765765
impl pallet_asset_conversion_tx_payment::Config for Runtime {
766766
type RuntimeEvent = RuntimeEvent;
767+
type AssetId = xcm::v3::Location;
767768
type OnChargeAssetTransaction = SwapAssetAdapter<
768769
WestendLocationV3,
769770
NativeAndAssets,

substrate/bin/node/runtime/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,7 @@ impl pallet_transaction_payment::Config for Runtime {
573573

574574
impl pallet_asset_conversion_tx_payment::Config for Runtime {
575575
type RuntimeEvent = RuntimeEvent;
576+
type AssetId = NativeOrWithId<u32>;
576577
type OnChargeAssetTransaction = SwapAssetAdapter<
577578
Native,
578579
NativeAndAssets,

0 commit comments

Comments
 (0)