We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
Related: #2466
Sorry, something went wrong.
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: