git.delta.rocks / unique-network / refs/commits / 1a6fe8be0e1f

difftreelog

fix(xcm) restore AllowTopLevelPaidExecutionFrom

Daniel Shiposha2022-09-06parent: #afdd4f3.patch.diff
in: master

2 files changed

modifiedruntime/quartz/src/xcm_barrier.rsdiffbeforeafterboth
1616
17use 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};
2327
24use 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 execution
78 AllowUnpaidExecutionFrom<ParentOrParentsExecutivePlurality>,83 AllowUnpaidExecutionFrom<ParentOrParentsExecutivePlurality>,
79 // Expected responses are OK.84 // Expected responses are OK.
modifiedruntime/unique/src/xcm_barrier.rsdiffbeforeafterboth
1616
17use 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};
2327
24use 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 execution
78 AllowUnpaidExecutionFrom<ParentOrParentsExecutivePlurality>,83 AllowUnpaidExecutionFrom<ParentOrParentsExecutivePlurality>,
79 // Expected responses are OK.84 // Expected responses are OK.