diff --git a/pallets/subtensor/src/registration.rs b/pallets/subtensor/src/registration.rs index 8b44b3e5f..3ff37424d 100644 --- a/pallets/subtensor/src/registration.rs +++ b/pallets/subtensor/src/registration.rs @@ -327,6 +327,9 @@ impl Pallet { Self::append_neuron(netuid, &hotkey, current_block_number); log::info!("add new neuron account"); } else { + + // HEREEE + // --- 11.1.1 Replacement required. // We take the neuron with the lowest pruning score here. subnetwork_uid = Self::get_neuron_to_prune(netuid); diff --git a/pallets/subtensor/src/uids.rs b/pallets/subtensor/src/uids.rs index d0628a044..0886dd76b 100644 --- a/pallets/subtensor/src/uids.rs +++ b/pallets/subtensor/src/uids.rs @@ -46,6 +46,14 @@ impl Pallet { Uids::::insert(netuid, new_hotkey.clone(), uid_to_replace); // Make uid - hotkey association. BlockAtRegistration::::insert(netuid, uid_to_replace, block_number); // Fill block at registration. IsNetworkMember::::insert(new_hotkey.clone(), netuid, true); // Fill network is member. + + // HEREEE + Trust::::insert(netuid, 0); + Emission::::insert(netuid, 0); + Consensus::::insert(netuid, 0); + Incentive::::insert(netuid, 0); + Dividends::::insert(netuid, 0); + } // Appends the uid to the network.