Fix AxonInfo initialization in get_mock_neuron function#2803
Fix AxonInfo initialization in get_mock_neuron function#2803thewhaleking merged 10 commits intoopentensor:stagingfrom
Conversation
|
@VolodymyrBg, please rebase this PR to |
did I do it correctly? |
no worries. I did it. |
Thanks)) |
tests/helpers/helpers.py
Outdated
| hotkey="some_hotkey", | ||
| coldkey="some_coldkey", |
There was a problem hiding this comment.
I'd use here get_mock_hotkey and get_mock_coldkey methods instead of some_hotkey and some_coldkey strings.
There was a problem hiding this comment.
corrected
Sorry for confusing you. I ment get_mock_hotkey and get_mock_coldkey methods such we have in that module. Not just a string.
Updated the AxonInfo initialization in the get_mock_neuron function to use the correct parameters according to the AxonInfo class definition. Specifically:
This fixes the TODO comment that indicated the AxonInfo implementation wasn't working correctly.