Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Add TrustedReserve to actual XcmConfig (fix)
Browse files Browse the repository at this point in the history
  • Loading branch information
franciscoaguirre committed Jul 2, 2023
1 parent 665e8d2 commit e8774b9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions xcm/pallet-xcm-benchmarks/src/fungible/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ impl xcm_executor::Config for XcmConfig {
type XcmSender = DevNull;
type AssetTransactor = AssetTransactor;
type OriginConverter = ();
type IsReserve = TrustedReserve;
type IsReserve = TrustedReserves;
type IsTeleporter = TrustedTeleporters;
type UniversalLocation = UniversalLocation;
type Barrier = AllowUnpaidExecutionFrom<Everything>;
Expand Down Expand Up @@ -179,7 +179,8 @@ impl crate::Config for Test {
}
}

pub type TrustedTeleporters = (xcm_builder::Case<TeleportConcreteFungible>,);
pub type TrustedTeleporters = xcm_builder::Case<TeleportConcreteFungible>;
pub type TrustedReserves = xcm_builder::Case<ReserveConcreteFungible>;

parameter_types! {
pub const CheckingAccount: Option<(u64, MintLocation)> = Some((100, MintLocation::Local));
Expand Down

0 comments on commit e8774b9

Please sign in to comment.