Skip to content

Commit f1cc214

Browse files
authored
add MigrateToLatestXcmVersion (#2877)
1 parent e3276df commit f1cc214

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

runtime/acala/src/lib.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1992,7 +1992,10 @@ parameter_types! {
19921992
}
19931993

19941994
#[allow(unused_parens)]
1995-
type Migrations = (frame_support::migrations::RemovePallet<StateTrieMigrationName, RocksDbWeight>);
1995+
type Migrations = (
1996+
frame_support::migrations::RemovePallet<StateTrieMigrationName, RocksDbWeight>,
1997+
pallet_xcm::migration::MigrateToLatestXcmVersion<Runtime>,
1998+
);
19961999

19972000
#[cfg(feature = "runtime-benchmarks")]
19982001
#[macro_use]

runtime/karura/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1996,7 +1996,7 @@ pub type Executive = frame_executive::Executive<
19961996
>;
19971997

19981998
#[allow(unused_parens)]
1999-
type Migrations = ();
1999+
type Migrations = (pallet_xcm::migration::MigrateToLatestXcmVersion<Runtime>);
20002000

20012001
#[cfg(feature = "runtime-benchmarks")]
20022002
#[macro_use]

0 commit comments

Comments
 (0)