You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but both check using check_weights_min_stake, which uses TotalColdkeyStake. We need to modify check_weights_min_stake so that it considers parent/child stake.
Acceptance criteria:
Update check_weights_min_stake
Unit test or e2e test for each path that sets weights
The text was updated successfully, but these errors were encountered:
The
set_weights
extrinsic, as well ascommit_weights
are checking if the weight setting hotkey has enough stake.commit_weights
does it here:subtensor/pallets/subtensor/src/lib.rs
Line 1446 in dfbed6b
set_weights
does it here:subtensor/pallets/subtensor/src/subnets/weights.rs
Line 231 in aa521f4
but both check using
check_weights_min_stake
, which usesTotalColdkeyStake
. We need to modifycheck_weights_min_stake
so that it considers parent/child stake.Acceptance criteria:
check_weights_min_stake
The text was updated successfully, but these errors were encountered: