1234567891011121314151617use frame_support::{weights::Weight, parameter_types};18use crate::{Runtime, RuntimeEvent, XcmpQueue, DmpQueue};19use up_common::constants::*;2021parameter_types! {22 pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);23 pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);24}2526impl cumulus_pallet_parachain_system::Config for Runtime {27 type RuntimeEvent = RuntimeEvent;28 type SelfParaId = parachain_info::Pallet<Self>;29 type OnSystemEvent = ();30 31 32 33 34 35 type OutboundXcmpMessageSource = XcmpQueue;36 type DmpMessageHandler = DmpQueue;37 type ReservedDmpWeight = ReservedDmpWeight;38 type ReservedXcmpWeight = ReservedXcmpWeight;39 type XcmpMessageHandler = XcmpQueue;40 type CheckAssociatedRelayNumber = cumulus_pallet_parachain_system::RelayNumberStrictlyIncreases;41}4243impl parachain_info::Config for Runtime {}4445impl cumulus_pallet_aura_ext::Config for Runtime {}