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
--- a/runtime/quartz/src/lib.rs
+++ b/runtime/quartz/src/lib.rs
@@ -706,7 +706,6 @@
 pub type Barrier = (
 	TakeWeightCredit,
 	AllowTopLevelPaidExecutionFrom<Everything>,
-	AllowUnpaidExecutionFrom<ParentOrParentsUnitPlurality>,
 	// ^^^ Parent & its unit plurality gets free execution
 );
 
modifiedruntime/unique/src/lib.rsdiffbeforeafterboth
--- a/runtime/unique/src/lib.rs
+++ b/runtime/unique/src/lib.rs
@@ -705,7 +705,6 @@
 pub type Barrier = (
 	TakeWeightCredit,
 	AllowTopLevelPaidExecutionFrom<Everything>,
-	AllowUnpaidExecutionFrom<ParentOrParentsUnitPlurality>,
 	// ^^^ Parent & its unit plurality gets free execution
 );