From e8774b91e08df51e1034e6ea224d250cbe54285d Mon Sep 17 00:00:00 2001 From: Francisco Aguirre Date: Sun, 2 Jul 2023 08:11:45 -0300 Subject: [PATCH] Add TrustedReserve to actual XcmConfig (fix) --- xcm/pallet-xcm-benchmarks/src/fungible/mock.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xcm/pallet-xcm-benchmarks/src/fungible/mock.rs b/xcm/pallet-xcm-benchmarks/src/fungible/mock.rs index e17508e43551..1e1161cdd3e0 100644 --- a/xcm/pallet-xcm-benchmarks/src/fungible/mock.rs +++ b/xcm/pallet-xcm-benchmarks/src/fungible/mock.rs @@ -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; @@ -179,7 +179,8 @@ impl crate::Config for Test { } } -pub type TrustedTeleporters = (xcm_builder::Case,); +pub type TrustedTeleporters = xcm_builder::Case; +pub type TrustedReserves = xcm_builder::Case; parameter_types! { pub const CheckingAccount: Option<(u64, MintLocation)> = Some((100, MintLocation::Local));