diff --git a/runtime/calamari/src/weights/mod.rs b/runtime/calamari/src/weights/mod.rs index 8a6d7704b..908bd831e 100644 --- a/runtime/calamari/src/weights/mod.rs +++ b/runtime/calamari/src/weights/mod.rs @@ -17,6 +17,7 @@ //! A list of the different weight modules for our runtime. pub mod calamari_vesting; +pub mod cumulus_pallet_xcmp_queue; pub mod frame_system; pub mod manta_collator_selection; pub mod pallet_asset_manager; diff --git a/runtime/calamari/src/xcm_config.rs b/runtime/calamari/src/xcm_config.rs index 0fb5d6a3f..56366d299 100644 --- a/runtime/calamari/src/xcm_config.rs +++ b/runtime/calamari/src/xcm_config.rs @@ -287,7 +287,7 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type ExecuteOverweightOrigin = EnsureRoot; type ControllerOrigin = EnsureRootOrMoreThanHalfCouncil; type ControllerOriginConverter = XcmOriginToCallOrigin; - type WeightInfo = (); + type WeightInfo = crate::weights::cumulus_pallet_xcmp_queue::SubstrateWeight; } impl cumulus_pallet_dmp_queue::Config for Runtime { diff --git a/runtime/dolphin/src/weights/mod.rs b/runtime/dolphin/src/weights/mod.rs index ba77b2069..d9fa6758e 100644 --- a/runtime/dolphin/src/weights/mod.rs +++ b/runtime/dolphin/src/weights/mod.rs @@ -16,6 +16,7 @@ //! A list of the different weight modules for our runtime. +pub mod cumulus_pallet_xcmp_queue; pub mod frame_system; pub mod manta_collator_selection; pub mod pallet_asset_manager; diff --git a/runtime/dolphin/src/xcm_config.rs b/runtime/dolphin/src/xcm_config.rs index 4db7eb4e1..9afcd89bb 100644 --- a/runtime/dolphin/src/xcm_config.rs +++ b/runtime/dolphin/src/xcm_config.rs @@ -286,7 +286,7 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type ExecuteOverweightOrigin = EnsureRoot; type ControllerOrigin = EnsureRootOrMoreThanHalfCouncil; type ControllerOriginConverter = XcmOriginToCallOrigin; - type WeightInfo = (); + type WeightInfo = crate::weights::cumulus_pallet_xcmp_queue::SubstrateWeight; } impl cumulus_pallet_dmp_queue::Config for Runtime {