diff --git a/runtime/laos/src/migrations.rs b/runtime/laos/src/migrations.rs index 82e8ff1a..606c0306 100644 --- a/runtime/laos/src/migrations.rs +++ b/runtime/laos/src/migrations.rs @@ -15,5 +15,22 @@ // along with LAOS. If not, see . use crate::Runtime; +use cumulus_primitives_core::{ChannelInfo, ListChannelInfos, ParaId}; +use sp_std::vec::Vec; -pub type Migrations = (cumulus_pallet_xcmp_queue::migration::v4::MigrationToV4,); +pub type Migrations = ( + cumulus_pallet_xcmp_queue::migration::v4::MigrationToV4, + cumulus_pallet_xcmp_queue::migration::v5::MigrateV4ToV5, +); + +impl cumulus_pallet_xcmp_queue::migration::v5::V5Config for Runtime { + type ChannelList = EmptyChannelList; +} + +pub struct EmptyChannelList; +impl ListChannelInfos for EmptyChannelList { + fn outgoing_channels() -> Vec { + // No outgoing channels + Vec::new() + } +}