From 6af702e11bc3c6a7a3edacfc1f79008042757f8c Mon Sep 17 00:00:00 2001 From: metricaez Date: Wed, 7 Feb 2024 08:41:33 -0300 Subject: [PATCH] feat: add bridged currency transactor to asset transactors --- runtime/trappist/src/lib.rs | 6 +++--- runtime/trappist/src/xcm_config.rs | 8 ++++++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/runtime/trappist/src/lib.rs b/runtime/trappist/src/lib.rs index 540770f4..9c7c2413 100644 --- a/runtime/trappist/src/lib.rs +++ b/runtime/trappist/src/lib.rs @@ -131,8 +131,8 @@ impl frame_support::traits::OnRuntimeUpgrade for FixStorageVersions { let mut writes = 0; - /// trappist-rococo runtime v.11000 has an incorrect on-chain storage version of 0 for the Uniques pallet - /// Set the Uniques pallet's storage version to 1 as expected. + // trappist-rococo runtime v.11000 has an incorrect on-chain storage version of 0 for the Uniques pallet + // Set the Uniques pallet's storage version to 1 as expected. if Uniques::on_chain_storage_version() == StorageVersion::new(0) { Uniques::current_storage_version().put::(); writes.saturating_inc(); @@ -142,7 +142,7 @@ impl frame_support::traits::OnRuntimeUpgrade for FixStorageVersions { } } -pub type Migrations = (FixStorageVersions); +pub type Migrations = FixStorageVersions; /// Executive: handles dispatch to the various modules. pub type Executive = frame_executive::Executive< diff --git a/runtime/trappist/src/xcm_config.rs b/runtime/trappist/src/xcm_config.rs index 9a206a36..090da9a9 100644 --- a/runtime/trappist/src/xcm_config.rs +++ b/runtime/trappist/src/xcm_config.rs @@ -171,8 +171,12 @@ pub type ReservedFungiblesTransactor = FungiblesAdapter< >; /// Means for transacting assets on this chain. -pub type AssetTransactors = - (LocalAssetTransactor, ReservedFungiblesTransactor, LocalFungiblesTransactor); +pub type AssetTransactors = ( + LocalAssetTransactor, + BridgedLocalAssetTransactor, + ReservedFungiblesTransactor, + LocalFungiblesTransactor, +); /// This is the type we use to convert an (incoming) XCM origin into a local `Origin` instance, /// ready for dispatching a transaction with Xcm's `Transact`. There is an `OriginKind` which can