Open wjurkowlaniec opened 1 month ago
In template, there is force_register_neuron in MockSubtensor which is not available in new bittensor library
force_register_neuron
MockSubtensor
│ /Users/wojtasy/dev/_cancer_ai/cancerai/cancer_ai/mock.py:29 in __init__ │ │ │ │ 26 │ │ │ │ 27 │ │ # Register n mock neurons who will be miners │ │ 28 │ │ for i in range(1, n + 1): │ │ ❱ 29 │ │ │ self.force_register_neuron( │ │ 30 │ │ │ │ netuid=netuid, │ │ 31 │ │ │ │ hotkey=f"miner-hotkey-{i}", │ │ 32 │ │ │ │ coldkey="mock-coldkey", │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ AttributeError: 'MockSubtensor' object has no attribute 'force_register_neuron'
should work out of the box
No response
OSX / Ubuntu
Describe the bug
In template, there is
force_register_neuron
inMockSubtensor
which is not available in new bittensor libraryTo Reproduce
Expected behavior
should work out of the box
Screenshots
No response
Environment
OSX / Ubuntu
Additional context
No response