Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Commit

Permalink
feat: add bridged currency transactor to asset transactors
Browse files Browse the repository at this point in the history
  • Loading branch information
metricaez committed Feb 7, 2024
1 parent 2ed4e95 commit 6af702e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 3 additions & 3 deletions runtime/trappist/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<Uniques>();
writes.saturating_inc();
Expand All @@ -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<
Expand Down
8 changes: 6 additions & 2 deletions runtime/trappist/src/xcm_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6af702e

Please sign in to comment.