git.delta.rocks / unique-network / refs/commits / e6681da97c54

difftreelog

wip import barrier from runtime.

Ilja Khabarov2022-08-19parent: #a6465aa.patch.diff
in: master

1 file changed

modifiedruntime/common/config/xcm.rsdiffbeforeafterboth
49};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::Barrier
53};54};
54#[cfg(feature = "foreign-assets")]55#[cfg(feature = "foreign-assets")]
55use crate::ForeingAssets;56use crate::ForeingAssets;
153 };154 };
154}155}
155156
156pub 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 execution
162);
163 */
161164
162pub struct UsingOnlySelfCurrencyComponents<165pub struct UsingOnlySelfCurrencyComponents<
163 WeightToFee: WeightToFeePolynomial<Balance = Currency::Balance>,166 WeightToFee: WeightToFeePolynomial<Balance = Currency::Balance>,