Skip to content

Commit

Permalink
Update weights for xcmp-queue
Browse files Browse the repository at this point in the history
Signed-off-by: Dengjianping <djptux@gmail.com>
  • Loading branch information
Dengjianping committed Jun 6, 2022
1 parent 47bba99 commit 23aa92b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions runtime/calamari/src/weights/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion runtime/calamari/src/xcm_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime {
type ExecuteOverweightOrigin = EnsureRoot<AccountId>;
type ControllerOrigin = EnsureRootOrMoreThanHalfCouncil;
type ControllerOriginConverter = XcmOriginToCallOrigin;
type WeightInfo = ();
type WeightInfo = crate::weights::cumulus_pallet_xcmp_queue::SubstrateWeight<Runtime>;
}

impl cumulus_pallet_dmp_queue::Config for Runtime {
Expand Down
1 change: 1 addition & 0 deletions runtime/dolphin/src/weights/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion runtime/dolphin/src/xcm_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime {
type ExecuteOverweightOrigin = EnsureRoot<AccountId>;
type ControllerOrigin = EnsureRootOrMoreThanHalfCouncil;
type ControllerOriginConverter = XcmOriginToCallOrigin;
type WeightInfo = ();
type WeightInfo = crate::weights::cumulus_pallet_xcmp_queue::SubstrateWeight<Runtime>;
}

impl cumulus_pallet_dmp_queue::Config for Runtime {
Expand Down

0 comments on commit 23aa92b

Please sign in to comment.