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