Skip to content

Commit 4129c8a

Browse files
committed
fix one comment
1 parent 8d3f182 commit 4129c8a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pallets/subtensor/src/errors.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ mod errors {
4242
NeuronNoValidatorPermit,
4343
/// The caller is attempting to set the weight keys and values but these vectors have different size.
4444
WeightVecNotEqualSize,
45-
/// The caller is attempting to set weights with duplicate uids in the weight matrix.
45+
/// The caller is attempting to set weights with duplicate UIDs in the weight matrix.
4646
DuplicateUids,
47-
/// The caller is attempting to set weight to at least one uid that does not exist in the metagraph.
47+
/// The caller is attempting to set weight to at least one UID that does not exist in the metagraph.
4848
UidVecContainInvalidOne,
4949
/// The dispatch is attempting to set weights on chain with fewer elements than are allowed.
5050
WeightVecLengthIsLow,
@@ -68,7 +68,7 @@ mod errors {
6868
SettingWeightsTooFast,
6969
/// A validator is attempting to set weights from a validator with incorrect weight version.
7070
IncorrectWeightVersionKey,
71-
/// An axon or prometheus serving exceeds the rate limit for a registered neuron.
71+
/// An axon or prometheus serving exceeded the rate limit for a registered neuron.
7272
ServingRateLimitExceeded,
7373
/// The caller is attempting to set weights with more UIDs than allowed.
7474
UidsLengthExceedUidsInSubNet,

0 commit comments

Comments
 (0)