difftreelog
fix(xcm) remove AllowTopLevelPaidExecutionFrom
in: master
2 files changed
runtime/quartz/src/xcm_config.rsdiffbeforeafterboth161617use frame_support::{17use frame_support::{match_types, parameter_types, traits::Get};18 match_types, parameter_types,19 traits::{Everything, Get},20};21use sp_std::{vec, vec::Vec};18use sp_std::{vec, vec::Vec};22use xcm::v1::{BodyId, Junction::*, Junctions::*, MultiLocation};19use xcm::v1::{BodyId, Junction::*, Junctions::*, MultiLocation};23use xcm_builder::{20use xcm_builder::{24 AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom,21 AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowUnpaidExecutionFrom, TakeWeightCredit,25 AllowUnpaidExecutionFrom, TakeWeightCredit,26};22};272378 ),74 ),79 (75 (80 TakeWeightCredit,76 TakeWeightCredit,81 AllowTopLevelPaidExecutionFrom<Everything>,82 // Parent and its exec plurality get free execution77 // Parent and its exec plurality get free execution83 AllowUnpaidExecutionFrom<ParentOrParentsExecutivePlurality>,78 AllowUnpaidExecutionFrom<ParentOrParentsExecutivePlurality>,84 // Expected responses are OK.79 // Expected responses are OK.runtime/unique/src/xcm_config.rsdiffbeforeafterboth--- 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 <http://www.gnu.org/licenses/>.
-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<Everything>,
// Parent and its exec plurality get free execution
AllowUnpaidExecutionFrom<ParentOrParentsExecutivePlurality>,
// Expected responses are OK.