We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8b5ea0 commit dc96aadCopy full SHA for dc96aad
pallets/subtensor/src/root.rs
@@ -577,7 +577,11 @@ impl<T: Config> Pallet<T> {
577
}
578
579
// --- 15. Update the registration counters for both the block and interval.
580
+ #[allow(clippy::arithmetic_side_effects)]
581
+ // note this RA + clippy false positive is a known substrate issue
582
RegistrationsThisInterval::<T>::mutate(root_netuid, |val| *val += 1);
583
584
585
RegistrationsThisBlock::<T>::mutate(root_netuid, |val| *val += 1);
586
587
// --- 16. Log and announce the successful registration.
0 commit comments