Commit f97cbfc
Add raw spec for local test and new bins (#1243)
* add spec and new bins
* fix config netuid
* use dot get
* check if config netuid is list
* add start to mockstatus
* add attr to mock neuron
* add info to mock from neurons
* change ordering of neuron dict to namespace
* remove test for wandb for axon
* use regex for looser match
* fix blacklist metagraph mock
* use real mock netuid
* use mock network and netuid in constructor
* fix patch
* patch delegate check
* use mock network and netuid
* remove check for wallet hotkey
* fix tests for subtensor init
* dont set netuid for overview test
* typo in docstring
* add mock status stop
* add low mock tx limit
* oops typo
* use dot get
* add wait for final and incl args
* use args during setup
* update bins and use 100ms blocktime
* pass block arg
* remove bittensor.logging and a old test
* use random port
* backward fix
* fix block time to 1s
* compile no symb on linux
* compile no symb mac
* remove useless init on var
* use dot get for new flags
* update test durations
* update test durations
* use dot get for config
* output error msg
* mock to_default
* remove to defaults in help
* reduce neruons, remove flaky test
* deactivate test
* mvoe key pair tests out of the subtensor interface
---------
Co-authored-by: Eugene <etesting007@gmail.com>1 parent b5e83f6 commit f97cbfc
File tree
20 files changed
+3591
-675
lines changed- bin
- bittensor
- _cli
- commands
- _subtensor
- tests
- integration_tests
- mock_subtensor/specs
- unit_tests/bittensor_tests
- utils
20 files changed
+3591
-675
lines changedLarge diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
523 | 523 | | |
524 | 524 | | |
525 | 525 | | |
526 | | - | |
| 526 | + | |
527 | 527 | | |
528 | 528 | | |
529 | 529 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
336 | | - | |
| 336 | + | |
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
| |||
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
| 345 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
211 | 212 | | |
212 | 213 | | |
213 | 214 | | |
| 215 | + | |
214 | 216 | | |
215 | 217 | | |
216 | 218 | | |
| |||
0 commit comments