Skip to content

fix: drop DefiLlama from dex-network-coverage + fix hub value formatting - #1677

Merged
Flotapponnier merged 7 commits into
devfrom
feat/data-api-hub
Jul 29, 2026
Merged

fix: drop DefiLlama from dex-network-coverage + fix hub value formatting#1677
Flotapponnier merged 7 commits into
devfrom
feat/data-api-hub

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Summary

  • Remove DefiLlama from dex-network-coverage bench: their /chains endpoint counts all DeFi protocols (not DEX-specific), inflating count vs real DEX indexers
  • Delete defillama.go from network-coverage harness + remove from fetchAll loop; VPS container already rebuilt and running without it
  • Fix fmtDataValue in data-api-stats.ts: unit "s" benches store ms in ms.p50 by convention (divide by 1000 before display), matching format.ts behavior

Changes

  • benchmarks/dex-network-coverage.yml — removed defillama provider block, updated seo_intro/abstract/methodology/findings/FAQ
  • harnesses/network-coverage/cmd/script/defillama.go — deleted
  • harnesses/network-coverage/cmd/script/main.go — removed fetchDefiLlama job
  • src/lib/data-api-stats.ts — fixed fmtDataValue for unit "s" (ms stored, divide by 1000) and "sec" (true seconds)

…anel

- Remove panelBlocks restriction: 180D/ALL now clickable even when a panel
  (users/volume/fees) is active, since archive data covers all windows
- pickPanel() falls through to longRangeSeries when panelLazy90d/1y is
  empty (Prom has no 90d panel series), showing archive data instead of
  an empty chart
- hlLongRangeSeries maps the correct archive field (users/vol/fees) based
  on activePanelId so switching panels also updates the long-range chart
- Add validator-yield-hyperliquid bench (115): all 34 HL validators as
  providers, ranked by net yield bps
@Flotapponnier
Flotapponnier merged commit f6dc6ff into dev Jul 29, 2026
1 check failed
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