@@ -6,12 +6,12 @@ title: "Subtensor Standard Errors"
6
6
7
7
This page documents the standard errors that can arise from Subtensor, the blockchain underlying the Bittensor network.
8
8
9
- Related:
9
+ Related:
10
+
10
11
- [ Source code in GitHub] ( https://github.com/opentensor/subtensor/blob/main/pallets/subtensor/src/macros/errors.rs )
11
12
- [ Subtensor Custom Errors] ( ./custom.md )
12
- - [ Substrate Errors] ( https://polkadot.js.org/docs/substrate/errors/ ) - Errors from the underlying Substrate framework
13
+ - [ Substrate Errors] ( https://polkadot.js.org/docs/substrate/errors/ ) - Errors from the underlying Substrate framework
13
14
14
-
15
15
## Network and Subnet Errors
16
16
17
17
### ` SubNetworkDoesNotExist `
@@ -21,6 +21,7 @@ The specified subnet does not exist.
21
21
### ` RootNetworkDoesNotExist `
22
22
23
23
The root network does not exist.
24
+
24
25
<!-- Why would this ever happen? only local build? -->
25
26
26
27
### ` SubnetNotExists `
@@ -42,11 +43,13 @@ Operation is not permitted on the root subnet.
42
43
### ` AllNetworksInImmunity `
43
44
44
45
All subnets are in the immunity period.
46
+
45
47
<!-- umm why? -->
46
48
47
49
### ` MechanismDoesNotExist `
48
50
49
51
Trying to register a subnet into a mechanism that does not exist.
52
+
50
53
<!-- wth does this mean? -->
51
54
52
55
### ` SubNetRegistrationDisabled `
@@ -111,6 +114,10 @@ Public key cannot be recovered.
111
114
112
115
Recovered public key is invalid.
113
116
117
+ ### ` HotKeySwapOnSubnetIntervalNotPassed `
118
+
119
+ Attempting a hotkey swap on subnet too frequently.
120
+
114
121
## Stake and Balance Errors
115
122
116
123
### ` NotEnoughStake `
@@ -185,6 +192,10 @@ Transaction slippage is above your limit.
185
192
186
193
Transfers are disallowed on this subnet.
187
194
195
+ ### ` InsufficientBalance `
196
+
197
+ The caller does not have enough balance for the operation.
198
+
188
199
## Weight Setting Errors
189
200
190
201
### ` NeuronNoValidatorPermit `
@@ -271,6 +282,18 @@ Alpha high value is too low (> 0.8 required).
271
282
272
283
Alpha low value is out of allowed range (0 < alpha_low < 0.8).
273
284
285
+ ### ` IncorrectCommitRevealVersion `
286
+
287
+ Incorrect commit-reveal version.
288
+
289
+ ### ` RevealPeriodTooLarge `
290
+
291
+ Reveal period is too large.
292
+
293
+ ### ` RevealPeriodTooSmall `
294
+
295
+ Reveal period is too small.
296
+
274
297
## Rate Limiting Errors
275
298
276
299
### ` ServingRateLimitExceeded `
@@ -301,6 +324,10 @@ Default transaction rate limit exceeded.
301
324
302
325
Childkey take rate limit exceeded.
303
326
327
+ ### ` StakingOperationRateLimitExceeded `
328
+
329
+ Attempting staking operations too frequently.
330
+
304
331
## Registration and Network Management
305
332
306
333
### ` TooManyRegistrationsThisBlock `
@@ -355,12 +382,50 @@ Proportion overflow when setting children.
355
382
356
383
### ` TooManyChildren `
357
384
358
- Too many children.
385
+ Too many children.
359
386
360
387
### ` InvalidChildkeyTake `
361
388
362
389
Childkey take is invalid.
363
390
391
+ ## Subnet Leasing Errors
392
+
393
+ ### ` InvalidLeaseBeneficiary `
394
+
395
+ Invalid lease beneficiary to register the leased network.
396
+
397
+ ### ` LeaseCannotEndInThePast `
398
+
399
+ Lease cannot end in the past.
400
+
401
+ ### ` LeaseNetuidNotFound `
402
+
403
+ Couldn't find the lease netuid.
404
+
405
+ ### ` LeaseDoesNotExist `
406
+
407
+ Lease does not exist.
408
+
409
+ ### ` LeaseHasNoEndBlock `
410
+
411
+ Lease has no end block.
412
+
413
+ ### ` LeaseHasNotEnded `
414
+
415
+ Lease has not ended.
416
+
417
+ ### ` Overflow `
418
+
419
+ An overflow occurred.
420
+
421
+ ### ` BeneficiaryDoesNotOwnHotkey `
422
+
423
+ Beneficiary does not own hotkey.
424
+
425
+ ### ` ExpectedBeneficiaryOrigin `
426
+
427
+ Expected beneficiary origin.
428
+
364
429
## Other Errors
365
430
366
431
### ` InvalidIpType `
@@ -419,3 +484,14 @@ SubToken disabled.
419
484
420
485
Invalid netuid duplication.
421
486
487
+ ### ` SymbolDoesNotExist `
488
+
489
+ Symbol does not exist.
490
+
491
+ ### ` SymbolAlreadyInUse `
492
+
493
+ Symbol already in use.
494
+
495
+ ### ` InvalidValue `
496
+
497
+ Generic error for out-of-range parameter value
0 commit comments