difftreelog
fix(xcm) restore AllowTopLevelPaidExecutionFrom
in: master
2 files changed
runtime/quartz/src/xcm_barrier.rsdiffbeforeafterboth161617use frame_support::{match_types, parameter_types, traits::Get};17use frame_support::{18 match_types, parameter_types,19 traits::{Get, Everything},20};18use sp_std::{vec, vec::Vec};21use sp_std::{vec, vec::Vec};19use xcm::v1::{BodyId, Junction::*, Junctions::*, MultiLocation};22use xcm::v1::{BodyId, Junction::*, Junctions::*, MultiLocation};20use xcm_builder::{23use xcm_builder::{21 AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowUnpaidExecutionFrom, TakeWeightCredit,24 AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowUnpaidExecutionFrom, TakeWeightCredit,25 AllowTopLevelPaidExecutionFrom,22};26};232724use crate::{28use crate::{74 ),78 ),75 (79 (76 TakeWeightCredit,80 TakeWeightCredit,81 AllowTopLevelPaidExecutionFrom<Everything>,77 // Parent and its exec plurality get free execution82 // Parent and its exec plurality get free execution78 AllowUnpaidExecutionFrom<ParentOrParentsExecutivePlurality>,83 AllowUnpaidExecutionFrom<ParentOrParentsExecutivePlurality>,79 // Expected responses are OK.84 // Expected responses are OK.runtime/unique/src/xcm_barrier.rsdiffbeforeafterboth161617use frame_support::{match_types, parameter_types, traits::Get};17use frame_support::{18 match_types, parameter_types,19 traits::{Get, Everything},20};18use sp_std::{vec, vec::Vec};21use sp_std::{vec, vec::Vec};19use xcm::v1::{BodyId, Junction::*, Junctions::*, MultiLocation};22use xcm::v1::{BodyId, Junction::*, Junctions::*, MultiLocation};20use xcm_builder::{23use xcm_builder::{21 AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowUnpaidExecutionFrom, TakeWeightCredit,24 AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowUnpaidExecutionFrom, TakeWeightCredit,25 AllowTopLevelPaidExecutionFrom,22};26};232724use crate::{28use crate::{74 ),78 ),75 (79 (76 TakeWeightCredit,80 TakeWeightCredit,81 AllowTopLevelPaidExecutionFrom<Everything>,77 // Parent and its exec plurality get free execution82 // Parent and its exec plurality get free execution78 AllowUnpaidExecutionFrom<ParentOrParentsExecutivePlurality>,83 AllowUnpaidExecutionFrom<ParentOrParentsExecutivePlurality>,79 // Expected responses are OK.84 // Expected responses are OK.