From 1810cfe52cd145efe1d333170e33c410c8eadf92 Mon Sep 17 00:00:00 2001 From: YourUsername Date: Fri, 5 Apr 2024 11:32:45 +0000 Subject: [PATCH] fix: storage version --- pallets/subspace/src/migrations.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pallets/subspace/src/migrations.rs b/pallets/subspace/src/migrations.rs index 6ee4d9146..0732189be 100644 --- a/pallets/subspace/src/migrations.rs +++ b/pallets/subspace/src/migrations.rs @@ -89,7 +89,7 @@ pub mod v2 { ValidatorTrust::::mutate(netuid, |v| v.push(0)); } - StorageVersion::new(6).put::>(); + StorageVersion::new(2).put::>(); log::info!("Migrated subnets to v2"); T::DbWeight::get().writes(largest_netuid as u64) } else {