Skip to content

Take the CoinGecko subnet logo as is, without the name guard - #4438

Merged
stepanLav merged 2 commits into
masterfrom
update-bittensor-subnets
Oct 19, 2026
Merged

stepanLav merged 2 commits into
masterfrom
update-bittensor-subnets

Conversation

@novasama-bot

@novasama-bot novasama-bot Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Why

PR #4430 added the CoinGecko coin image as the last logo source but accepted only the generic TAO placeholder from a listing whose coin name did not resemble the on-chain subnet name, so a re-registered netuid would not show its previous owner's logo. Today's bot run refused a real logo for 12 named subnets because of it: SN5, 16, 29, 31, 35, 42, 57, 59, 70, 84, 86, 99 and 103. SN99 Thirty Spokes is the visible case: no icon in Nova

What changes

Generator

  • scripts/bittensor/update_subnets.py: the CoinGecko candidate is used whatever the coin is called. names_match, the perceptual-hash placeholder detection (dhash, is_tao_placeholder) and the placeholder_only candidate flag are removed. Source order is unchanged: logo-overrides.json, on-chain logo_url, CoinGecko image; a failing source still keeps the previous logo.
  • scripts/bittensor/price_source.py: logos_from_coins maps netuid to the image URL directly, the coin name was only carried for the guard.
  • CLAUDE.md and the module docstring describe the new rule. A stale listing is corrected per subnet in bittensor/v1/logo-overrides.json.

Data (second commit, generated by a manual dispatch of the daily workflow on the generator branch)

  • 124 of 129 subnets have a logo now, up from 106. 18 logos written, 0 deleted.
  • Still without one: SN0 root, SN82, SN83, SN101 (no source anywhere) and SN104 (on-chain URL is an X profile page, no CoinGecko listing).
  • Three of the new ones are the previous owner's listing, as Bittensor subnet logos: CoinGecko fallback, URL repairs, stable file names #4430 noted: SN5 Hone shows OpenKaito, SN16 kenju shows BitAds, SN109 Finsight shows Taoillium. Override them in logo-overrides.json when the teams provide their own mark.

Tests

make test-bittensor: 73 passed. The two guard tests now assert the CoinGecko candidate is used for a differently named or unnamed subnet; the name-matching and placeholder-detection tests are removed, one test keeps the placeholder fixture to show it still passes through.

PR #4430 accepted only the TAO placeholder from a CoinGecko listing whose
coin name did not resemble the on-chain subnet name, to keep a previous
owner's logo off a re-registered netuid. That left 12 named subnets
without any icon, SN99 Thirty Spokes among them, while Talisman shows the
CoinGecko image for the same subnets by coingeckoId alone.

Do the same: the CoinGecko image is the third source after the override
file and the on-chain logo_url, taken whatever the coin is called. A
stale listing is corrected per subnet in bittensor/v1/logo-overrides.json.

Removes names_match, the perceptual-hash placeholder detection and the
placeholder_only candidate flag; logos_from_coins maps netuid to the
image URL directly.
@novasama-bot
novasama-bot Bot requested a review from stepanLav October 19, 2026 09:52
(cherry picked from commit c734630)
@stepanLav

Copy link
Copy Markdown
Member

Generated by a manual dispatch on feat/bittensor-coingecko-logo-without-name-guard to produce the data for #4437; the commit is cherry-picked there.

@stepanLav stepanLav closed this Oct 19, 2026
@stepanLav
stepanLav deleted the update-bittensor-subnets branch October 19, 2026 09:53
@stepanLav stepanLav reopened this Oct 19, 2026
@stepanLav
stepanLav force-pushed the update-bittensor-subnets branch from c734630 to 28af536 Compare October 19, 2026 09:56
@stepanLav stepanLav changed the title 🆙 Update Bittensor subnet metadata Take the CoinGecko subnet logo as is, without the name guard Oct 19, 2026
@stepanLav
stepanLav merged commit 4c8e5d9 into master Oct 19, 2026
2 checks passed
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

Successfully merging this pull request may close these issues.

1 participant