Skip to content
New issue

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

Migrate delegate data from GitHub onchain #588

Closed
gztensor opened this issue Jun 26, 2024 · 0 comments
Closed

Migrate delegate data from GitHub onchain #588

gztensor opened this issue Jun 26, 2024 · 0 comments
Assignees

Comments

@gztensor
Copy link
Contributor

gztensor commented Jun 26, 2024

Delegate data (same as in GitHub, but already formatted to be consumed in subtensor code):
https://github.com/opentensor/subtensor/blob/dynamic/docs/delegate-info.json

This is the migration code that puts this data onchain:

pub fn migrate_set_hotkey_identities<T: Config>() -> Weight {

What's left:

  1. Implement RPC endpoint to return all delegates' identity info
  2. Remove delegates_details_url and all uses of it
  3. Use on-chain data instead of loading from GitHub - bittensor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants