Skip to content

read_miner_commitment and read_miner_commitments independently build hotkey_to_uid #169

@atoz96

Description

@atoz96

allways/commitments.py:123 and allways/commitments.py:144 both compute the same {hotkey: uid} map. Extract _metagraph_hotkey_to_uid(metagraph) once so callers cannot accidentally use a stale map.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions