difftreelog
wip import barrier from runtime.
in: master
1 file changed
runtime/common/config/xcm.rsdiffbeforeafterboth49};49};50use sp_std::{borrow::Borrow, marker::PhantomData, vec, vec::Vec};50use sp_std::{borrow::Borrow, marker::PhantomData, vec, vec::Vec};51use crate::{51use crate::{52 Runtime, Call, Event, Origin, Balances, ParachainInfo, ParachainSystem, PolkadotXcm, XcmpQueue52 Runtime, Call, Event, Origin, Balances, ParachainInfo, ParachainSystem, PolkadotXcm, XcmpQueue,53 xcm_config::Barrier53};54};54#[cfg(feature = "foreign-assets")]55#[cfg(feature = "foreign-assets")]55use crate::ForeingAssets;56use crate::ForeingAssets;153 };154 };154}155}155156156pub type Barrier = (157/*157 TakeWeightCredit,158pub type Barrier = (158 AllowTopLevelPaidExecutionFrom<Everything>,159 TakeWeightCredit,159 // ^^^ Parent & its unit plurality gets free execution160 AllowTopLevelPaidExecutionFrom<Everything>,160);161 // ^^^ Parent & its unit plurality gets free execution162);163 */161164162pub struct UsingOnlySelfCurrencyComponents<165pub struct UsingOnlySelfCurrencyComponents<163 WeightToFee: WeightToFeePolynomial<Balance = Currency::Balance>,166 WeightToFee: WeightToFeePolynomial<Balance = Currency::Balance>,