diff --git a/runtime/acala/src/lib.rs b/runtime/acala/src/lib.rs index acdd4b4ea..3a2999865 100644 --- a/runtime/acala/src/lib.rs +++ b/runtime/acala/src/lib.rs @@ -2035,25 +2035,8 @@ pub type Executive = frame_executive::Executive< Migrations, >; -pub struct RemoveXTokensMigrationStatus(frame_support::pallet_prelude::PhantomData); - -impl frame_support::traits::OnRuntimeUpgrade for RemoveXTokensMigrationStatus { - fn on_runtime_upgrade() -> Weight { - let key = frame_support::storage::storage_prefix(b"XTokens", b"MigrationStatus"); - log::info!( - "key: {:?}, exists: {:?}", - key, - frame_support::storage::unhashed::exists(&key) - ); - - frame_support::storage::unhashed::kill(&key); - - T::DbWeight::get().writes(1) - } -} - #[allow(unused_parens)] -type Migrations = (RemoveXTokensMigrationStatus); +type Migrations = (); #[cfg(feature = "runtime-benchmarks")] mod benches { diff --git a/runtime/karura/src/lib.rs b/runtime/karura/src/lib.rs index 9e0f52775..8ae97bc48 100644 --- a/runtime/karura/src/lib.rs +++ b/runtime/karura/src/lib.rs @@ -2042,25 +2042,8 @@ pub type Executive = frame_executive::Executive< Migrations, >; -pub struct RemoveXTokensMigrationStatus(frame_support::pallet_prelude::PhantomData); - -impl frame_support::traits::OnRuntimeUpgrade for RemoveXTokensMigrationStatus { - fn on_runtime_upgrade() -> Weight { - let key = frame_support::storage::storage_prefix(b"XTokens", b"MigrationStatus"); - log::info!( - "key: {:?}, exists: {:?}", - key, - frame_support::storage::unhashed::exists(&key) - ); - - frame_support::storage::unhashed::kill(&key); - - T::DbWeight::get().writes(1) - } -} - #[allow(unused_parens)] -type Migrations = (RemoveXTokensMigrationStatus); +type Migrations = (); #[cfg(feature = "runtime-benchmarks")] mod benches {