Skip to content

Handle Null Neurons #213

@thewhaleking

Description

@thewhaleking

message (12).txt

Discord user ccc_coder reported this error when running btcli wallet overview. I have tested that I get the same error if specifying a netuid in the command running testnet subtensor local chain.

The error stems from the way we receive and decode NeuronInfoLite. I want to change this to how we do it in rao branch, using:

hex_bytes_results = await subtensor.query_runtime_api(
    runtime_api="NeuronInfoRuntimeApi",
    method="get_neurons_lite",
    params=[netuid],
    block_hash=None,
)

However, while this works on rao, when run on testnet branch of subtensor (localchain), I always get None.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions