opentensor / subtensor

Bittensor Blockchain Layer
The Unlicense
117 stars 107 forks source link

Migrate delegate data from GitHub onchain #588

Open gztensor opened 6 days ago

gztensor commented 6 days ago

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: https://github.com/opentensor/subtensor/blob/8267e604ddc5a030fd300ba9e0d882c23fdd35bf/pallets/registry/src/migration.rs#L37

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