diff --git a/substrate/frame/salary/src/migration.rs b/substrate/frame/salary/src/migration.rs index a27cecd869b4..a897e874b3b1 100644 --- a/substrate/frame/salary/src/migration.rs +++ b/substrate/frame/salary/src/migration.rs @@ -80,19 +80,6 @@ pub mod v1 { where BC: ConvertBlockNumber, NewBlockNumberFor>, { - #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, TryRuntimeError> { - if let Some(old_status) = v0::Status::::get() { - log::info!("\n Old status - {:?}\n", old_status); - } - - let _ = v0::Claimant::::iter().for_each(|(key, value)| { - log::info!("\n Old claimant - {:?} -> {:?}\n", key, value); - }); - - Ok(Default::default()) - } - fn on_runtime_upgrade() -> frame_support::weights::Weight { let mut transactions = 0; @@ -122,19 +109,6 @@ pub mod v1 { T::DbWeight::get().reads_writes(transactions, transactions) } - - #[cfg(feature = "try-runtime")] - fn post_upgrade(_state: Vec) -> Result<(), TryRuntimeError> { - if let Some(new_status) = crate::Status::::get() { - log::info!("\n New status - {:?}\n", new_status); - } - - let _ = crate::Claimant::::iter().for_each(|(key, value)| { - log::info!("\n New claimant - {:?} -> {:?}\n", key, value); - }); - - Ok(()) - } } }