--- a/runtime/quartz/src/xcm_config.rs +++ b/runtime/quartz/src/xcm_config.rs @@ -14,15 +14,11 @@ // 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::{Everything, Get}, -}; +use frame_support::{match_types, parameter_types, traits::Get}; use sp_std::{vec, vec::Vec}; use xcm::v1::{BodyId, Junction::*, Junctions::*, MultiLocation}; use xcm_builder::{ - AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, - AllowUnpaidExecutionFrom, TakeWeightCredit, + AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowUnpaidExecutionFrom, TakeWeightCredit, }; use crate::{ @@ -78,7 +74,6 @@ ), ( TakeWeightCredit, - AllowTopLevelPaidExecutionFrom, // Parent and its exec plurality get free execution AllowUnpaidExecutionFrom, // Expected responses are OK. --- a/runtime/unique/src/xcm_config.rs +++ b/runtime/unique/src/xcm_config.rs @@ -14,15 +14,11 @@ // 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::{Everything, Get}, -}; +use frame_support::{match_types, parameter_types, traits::Get}; use sp_std::{vec, vec::Vec}; use xcm::v1::{BodyId, Junction::*, Junctions::*, MultiLocation}; use xcm_builder::{ - AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, - AllowUnpaidExecutionFrom, TakeWeightCredit, + AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowUnpaidExecutionFrom, TakeWeightCredit, }; use crate::{ @@ -78,7 +74,6 @@ ), ( TakeWeightCredit, - AllowTopLevelPaidExecutionFrom, // Parent and its exec plurality get free execution AllowUnpaidExecutionFrom, // Expected responses are OK.