git.delta.rocks / unique-network / refs/commits / 2e3d152f5683

difftreelog

fix restrict XCM barrier from trusting parent chain

Ilja Khabarov2022-07-11parent: #788534b.patch.diff
in: master

3 files changed

modifiedruntime/opal/src/lib.rsdiffbeforeafterboth
707pub type Barrier = (707pub type Barrier = (
708 TakeWeightCredit,708 TakeWeightCredit,
709 AllowTopLevelPaidExecutionFrom<Everything>,709 AllowTopLevelPaidExecutionFrom<Everything>,
710 AllowUnpaidExecutionFrom<ParentOrParentsUnitPlurality>,
711 // ^^^ Parent & its unit plurality gets free execution710 // ^^^ Parent & its unit plurality gets free execution
712);711);
713712
modifiedruntime/quartz/src/lib.rsdiffbeforeafterboth
706pub type Barrier = (706pub type Barrier = (
707 TakeWeightCredit,707 TakeWeightCredit,
708 AllowTopLevelPaidExecutionFrom<Everything>,708 AllowTopLevelPaidExecutionFrom<Everything>,
709 AllowUnpaidExecutionFrom<ParentOrParentsUnitPlurality>,
710 // ^^^ Parent & its unit plurality gets free execution709 // ^^^ Parent & its unit plurality gets free execution
711);710);
712711
modifiedruntime/unique/src/lib.rsdiffbeforeafterboth
705pub type Barrier = (705pub type Barrier = (
706 TakeWeightCredit,706 TakeWeightCredit,
707 AllowTopLevelPaidExecutionFrom<Everything>,707 AllowTopLevelPaidExecutionFrom<Everything>,
708 AllowUnpaidExecutionFrom<ParentOrParentsUnitPlurality>,
709 // ^^^ Parent & its unit plurality gets free execution708 // ^^^ Parent & its unit plurality gets free execution
710);709);
711710