Skip to content

Commit

Permalink
added logs
Browse files Browse the repository at this point in the history
  • Loading branch information
asiniscalchi committed Feb 24, 2025
1 parent 24d28ff commit 04cace3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runtime/laos/src/migrations/remove_pallet_sudo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ pub struct Migration;

impl OnRuntimeUpgrade for Migration {
fn on_runtime_upgrade() -> Weight {
let _ = migration::clear_storage_prefix(b"Sudo", b"Key", &[], None, None);
let result = migration::clear_storage_prefix(b"Sudo", b"Key", &[], None, None);
log::info!("remove pallet_sudo migration result: {:?}", result.deconstruct());
<Runtime as frame_system::Config>::DbWeight::get().reads_writes(0, 1)
}
}

0 comments on commit 04cace3

Please # to comment.