subtensor icon indicating copy to clipboard operation
subtensor copied to clipboard

Migrate delegate data from GitHub onchain

Open gztensor opened this issue 1 year ago • 0 comments

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

gztensor avatar Jun 26 '24 14:06 gztensor