We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91c0d4a commit c596998Copy full SHA for c596998
pallets/subtensor/src/migrations/migrate_stake_threshold.rs
@@ -36,6 +36,9 @@ pub fn migrate_stake_threshold<T: Config>() -> Weight {
36
37
weight = weight.saturating_add(T::DbWeight::get().reads_writes(1, 1));
38
39
+ HasMigrationRun::<T>::insert(&migration_name, true);
40
+ weight = weight.saturating_add(T::DbWeight::get().writes(1));
41
+
42
log::info!(
43
"Migration '{:?}' completed successfully.",
44
String::from_utf8_lossy(&migration_name)
0 commit comments