Skip to content

Commit

Permalink
fix: storage version
Browse files Browse the repository at this point in the history
  • Loading branch information
Supremesource committed Apr 5, 2024
1 parent b94ffb7 commit 1810cfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/subspace/src/migrations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ pub mod v2 {
ValidatorTrust::<T>::mutate(netuid, |v| v.push(0));
}

StorageVersion::new(6).put::<Pallet<T>>();
StorageVersion::new(2).put::<Pallet<T>>();
log::info!("Migrated subnets to v2");
T::DbWeight::get().writes(largest_netuid as u64)
} else {
Expand Down

0 comments on commit 1810cfe

Please sign in to comment.