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

Commit

Permalink
fix fungibles benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
metricaez committed Dec 21, 2023
1 parent 3f651bb commit a18fdca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion runtime/trappist/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@ impl_runtime_apis! {

parameter_types! {
pub ExistentialDepositMultiAsset: Option<MultiAsset> = Some((
RelayLocation::get(),
SelfReserve::get(),
ExistentialDeposit::get()
).into());
}
Expand Down
5 changes: 3 additions & 2 deletions runtime/trappist/src/xcm_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ parameter_types! {
pub const RelayNetwork: NetworkId = NetworkId::Rococo;
pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into();
pub Ancestry: MultiLocation = Parachain(ParachainInfo::parachain_id().into()).into();
pub SelfReserve: MultiLocation = MultiLocation { parents:0, interior: Here };
pub SelfReserve: MultiLocation = MultiLocation::here();
pub AssetsPalletLocation: MultiLocation =
PalletInstance(<Assets as PalletInfoAccess>::index() as u8).into();
// Be mindful with incoming teleports if you implement this
Expand Down Expand Up @@ -184,7 +184,8 @@ pub type XcmOriginToTransactDispatchOrigin = (

parameter_types! {
/// The asset ID for the asset that we use to pay for message delivery fees.
pub FeeAssetId: AssetId = Concrete(RelayLocation::get());
/// TODO: Check if correct, previously was RelayLocation but AssetTransactor couldn't handle it.
pub FeeAssetId: AssetId = Concrete(SelfReserve::get());
/// The base fee for the message delivery fees.
pub const BaseDeliveryFee: u128 = CENTS.saturating_mul(3);
}
Expand Down

0 comments on commit a18fdca

Please sign in to comment.