Skip to content

Commit

Permalink
parachain transfer tested
Browse files Browse the repository at this point in the history
  • Loading branch information
lemunozm committed Jun 11, 2024
1 parent ea08cec commit 8ccf242
Show file tree
Hide file tree
Showing 11 changed files with 215 additions and 1,165 deletions.
4 changes: 2 additions & 2 deletions libs/types/src/tokens.rs
Original file line number Diff line number Diff line change
Expand Up @@ -365,15 +365,15 @@ impl CrossChainTransferability {
matches!(self, Self::LiquidityPools)
}

/// Fees will charged using `FixedRateOfFungible`.
/// Fees will be charged using `FixedRateOfFungible`.
#[cfg(feature = "std")]
pub fn xcm_default() -> Self {
Self::Xcm(XcmMetadata {
fee_per_second: None,
})
}

/// Fees will charged using `AssetRegistryTrader`.
/// Fees will be charged using `AssetRegistryTrader`.
/// If value is 0, no fees will be charged.
#[cfg(feature = "std")]
pub fn xcm_with_fees(value: Balance) -> Self {
Expand Down
2 changes: 1 addition & 1 deletion runtime/integration-tests/src/generic/cases/investments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ mod common {
.add(genesis::balances::<T>(
T::ExistentialDeposit::get() + FOR_FEES,
))
.add(genesis::assets::<T>(vec![&Usd6]))
.add(genesis::assets::<T>(vec![(Usd6.id(), &Usd6.metadata())]))
.add(genesis::tokens::<T>(vec![(Usd6.id(), Usd6.ed())]))
.storage(),
);
Expand Down
Loading

0 comments on commit 8ccf242

Please sign in to comment.