--- a/runtime/quartz/src/xcm_barrier.rs
+++ b/runtime/quartz/src/xcm_barrier.rs
@@ -14,11 +14,15 @@
// You should have received a copy of the GNU General Public License
// along with Unique Network. If not, see .
-use frame_support::{match_types, parameter_types, traits::Get};
+use frame_support::{
+ match_types, parameter_types,
+ traits::{Get, Everything},
+};
use sp_std::{vec, vec::Vec};
use xcm::v1::{BodyId, Junction::*, Junctions::*, MultiLocation};
use xcm_builder::{
AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowUnpaidExecutionFrom, TakeWeightCredit,
+ AllowTopLevelPaidExecutionFrom,
};
use crate::{
@@ -74,6 +78,7 @@
),
(
TakeWeightCredit,
+ AllowTopLevelPaidExecutionFrom,
// Parent and its exec plurality get free execution
AllowUnpaidExecutionFrom,
// Expected responses are OK.
--- a/runtime/unique/src/xcm_barrier.rs
+++ b/runtime/unique/src/xcm_barrier.rs
@@ -14,11 +14,15 @@
// You should have received a copy of the GNU General Public License
// along with Unique Network. If not, see .
-use frame_support::{match_types, parameter_types, traits::Get};
+use frame_support::{
+ match_types, parameter_types,
+ traits::{Get, Everything},
+};
use sp_std::{vec, vec::Vec};
use xcm::v1::{BodyId, Junction::*, Junctions::*, MultiLocation};
use xcm_builder::{
AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowUnpaidExecutionFrom, TakeWeightCredit,
+ AllowTopLevelPaidExecutionFrom,
};
use crate::{
@@ -74,6 +78,7 @@
),
(
TakeWeightCredit,
+ AllowTopLevelPaidExecutionFrom,
// Parent and its exec plurality get free execution
AllowUnpaidExecutionFrom,
// Expected responses are OK.