We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71b05c1 commit c542916Copy full SHA for c542916
pallets/subtensor/src/migrations/migrate_rao.rs
@@ -31,7 +31,7 @@ pub fn migrate_rao<T: Config>() -> Weight {
31
weight = weight.saturating_add(T::DbWeight::get().reads_writes(netuids.len() as u64, 0));
32
33
// Set the Dynamic block.
34
- DynamicBlock::<T>::insert(netuid, Pallet::<T>::get_current_block_as_u64() );
+ DynamicBlock::<T>::set( Pallet::<T>::get_current_block_as_u64() );
35
36
// Migrate all TAO to root.
37
Stake::<T>::iter().for_each(|(hotkey, coldkey, stake)| {
0 commit comments