Skip to content

docs(push-feeds): refresh pro_compatible_status and drop Avalanche carve-out - #3875

Merged
aditya520 merged 1 commit into
mainfrom
hydra/i-ttsthjrp/refresh-push-feeds
Jul 10, 2026
Merged

docs(push-feeds): refresh pro_compatible_status and drop Avalanche carve-out#3875
aditya520 merged 1 commit into
mainfrom
hydra/i-ttsthjrp/refresh-push-feeds

Conversation

@aditya520

@aditya520 aditya520 commented Jul 3, 2026

Copy link
Copy Markdown
Member

Summary

Refresh pro_compatible_status across the Pro-compatible push-feed docs JSONs by re-deriving each entry against a single fresh Hermes fetch, and drop the Avalanche pinned-to-coming_soon carve-out so Avalanche is data-driven like every other chain.

Related: [[i-ttsthjrp]], [[i-gcyfpicb]].

Hermes fetch summary

  • Endpoint: https://pyth.dourolabs.app/hermes/v2/price_feeds
  • Fetched at: 2026-07-03T13:05:48Z
  • Feed ids returned: 1300 entries → 1298 unique 32-byte lowercase hex ids (used as the truth set for the whole PR — endpoint not re-fetched mid-run)

Scope note

pro_compatible_status today lives on the evm/*.json, sui/sui-mainnet.json, and svm/solana-mainnet.json files (the ones whose MDX pages render <SponsoredFeedsTable ... showProCompatibleStatus />). aptos/aptos-mainnet.json, movement/movement-mainnet.json, and svm/fogo-{main,test}net.json do NOT currently carry the field — their MDX pages render without the Pro-compatible column. This PR touches only files that already opt in, and the SponsoredFeedsTable JSDoc still enumerates {evm,sui,svm} for that reason. Adding the field to the other chains' data files would be a schema-scope change beyond this drift refresh and is not attempted here.

Before / after status counts (available / coming_soon)

file before after
evm/abstract-mainnet.json 4 / 0 4 / 0
evm/arbitrum-mainnet.json 0 / 1 0 / 1
evm/avalanche-mainnet.json 0 / 1 0 / 1
evm/base-mainnet.json 6 / 1 6 / 1
evm/berachain-mainnet.json 6 / 3 7 / 2
evm/ethereum-mainnet.json 3 / 1 3 / 1
evm/hyperevm-mainnet.json 14 / 29 16 / 27
evm/linea-mainnet.json 1 / 0 1 / 0
evm/monad-mainnet.json 45 / 15 48 / 12
evm/optimism-mainnet.json 5 / 0 5 / 0
evm/soneium-mainnet.json 7 / 0 7 / 0
evm/sonic-mainnet.json 7 / 4 7 / 4
sui/sui-mainnet.json 17 / 19 18 / 18
svm/solana-mainnet.json 30 / 17 33 / 14
TOTAL 145 / 91 155 / 81

Flip list

All 10 flips are coming_soon -> available, matching the parent-issue drift report exactly. No additional drift was surfaced by the fresh fetch.

file alias id-short old -> new
evm/berachain-mainnet.json SUSDE/USDE.RR 271c64ce… coming_soon -> available
evm/hyperevm-mainnet.json WSTETH/STETH.RR f59ead01… coming_soon -> available
evm/hyperevm-mainnet.json SUSDE/USDE.RR 271c64ce… coming_soon -> available
evm/monad-mainnet.json WSTETH/STETH.RR f59ead01… coming_soon -> available
evm/monad-mainnet.json SUSDE/USDE.RR 271c64ce… coming_soon -> available
evm/monad-mainnet.json SUSDS/USDS.RR 6968a864… coming_soon -> available
sui/sui-mainnet.json CETUS/USD e5b274b2… coming_soon -> available
svm/solana-mainnet.json SSOL/SOL add6499a… coming_soon -> available
svm/solana-mainnet.json JUPSOL/SOL.RR f8d8d6b6… coming_soon -> available
svm/solana-mainnet.json PST/USDC.RR 675e36f8… coming_soon -> available

Additional drift found beyond the parent-issue report: none. The parent's 10-flip list is complete.

Avalanche carve-out removal

  • Deleted the top-level _comment field from data/evm/avalanche-mainnet.json (per issue scope).
  • Removed step 3 (Avalanche carve-out) from the JSDoc on ProCompatibleStatus in apps/developer-hub/src/components/SponsoredFeedsTable/index.tsx; the general refresh rule (steps 1–2) remains.
  • Bumped the JSDoc Last refreshed line to 2026-07-03.
  • Avalanche's single feed HLP0/USDC.RR (aa388e24…) is not present in the current Hermes listing, so under the data-driven rule it stays coming_soon — the visible status is unchanged, but the mechanism producing it is now uniform with every other chain.

Verification

  • Fresh Hermes fetch → id set built exactly once at the start of the run.
  • Every feed id in every touched JSON is validated as 64-char lowercase hex before rewriting.
  • Post-write sanity sweep confirms zero divergences between each pro_compatible_status and the expected value derived from the Hermes set (in-set ⇒ available, out-of-set ⇒ coming_soon).
  • pnpm turbo run test:format test:lint test:types --filter @pythnetwork/developer-hub — all 46 tasks green (includes build via the task graph → next build compiled and pre-rendered 196 pages successfully).

Out of scope (not touched)

  • Any changes to SponsoredFeedsTable rendering / column logic.
  • Feed additions, alias renames, and time_difference / price_deviation / confidence_ratio / id edits.
  • Ordering of feed entries.
  • MDX/prose anywhere outside the JSDoc header.
  • Other push-feed docs (.mdx pages, llms-price-feeds-core.txt, BinaryFormatCards, etc.).

…rve-out

Re-derives pro_compatible_status against a single fresh fetch of
https://pyth.dourolabs.app/hermes/v2/price_feeds (1298 feed ids,
fetched 2026-07-03T13:05:48Z). Avalanche is now data-driven along
with every other chain — carve-out removed from the SponsoredFeedsTable
JSDoc and from data/evm/avalanche-mainnet.json's _comment.
@vercel
vercel Bot temporarily deployed to Preview – insights July 3, 2026 13:13 Inactive
@vercel
vercel Bot temporarily deployed to Preview – staking July 3, 2026 13:13 Inactive
@vercel

vercel Bot commented Jul 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
component-library Ready Ready Preview, Comment Jul 3, 2026 1:15pm
developer-hub Ready Ready Preview, Comment Jul 3, 2026 1:15pm
5 Skipped Deployments
Project Deployment Actions Updated (UTC)
api-reference Skipped Skipped Jul 3, 2026 1:15pm
entropy-explorer Skipped Skipped Jul 3, 2026 1:15pm
insights Skipped Skipped Jul 3, 2026 1:15pm
proposals Skipped Skipped Jul 3, 2026 1:15pm
staking Skipped Skipped Jul 3, 2026 1:15pm

Request Review

@vercel
vercel Bot temporarily deployed to Preview – api-reference July 3, 2026 13:13 Inactive
@vercel
vercel Bot temporarily deployed to Preview – entropy-explorer July 3, 2026 13:13 Inactive
@vercel
vercel Bot temporarily deployed to Preview – proposals July 3, 2026 13:13 Inactive

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

Open in Devin Review

Comment on lines 1 to 4
{
"_comment": "Avalanche feeds are intentionally pinned to pro_compatible_status \"coming_soon\": Pro-compatible push feeds are not deployed for this chain (no deployment-pro-compatible.yaml). Do NOT auto-derive this field from the Hermes listing for this file. See the JSDoc on ProCompatibleStatus in src/components/SponsoredFeedsTable/index.tsx.",
"feeds": [
{
"alias": "HLP0/USDC.RR",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚩 Avalanche guard rail removed without replacement

The old _comment in avalanche-mainnet.json and step 3 in the JSDoc (SponsoredFeedsTable/index.tsx:27-31 before this PR) served as an explicit warning to future maintainers: "Do NOT auto-derive this field from the Hermes listing for this file." This guard rail existed because Pro-compatible push feeds are reportedly not deployed for Avalanche (no deployment-pro-compatible.yaml). The PR removes both the JSON comment and the JSDoc step, but the Avalanche feed still has "coming_soon". Without the guard rail, a future data refresh could accidentally flip Avalanche to "available" if the feed ID appears in the Hermes listing, even though the chain doesn't support Pro-compatible push feeds. If the underlying deployment situation for Avalanche hasn't changed, consider preserving some form of documentation (e.g. a simpler comment in the JSON or the JSDoc) to prevent accidental promotion.

(Refers to lines 1-12)

Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f28a55375b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

* `_comment` in data/evm/avalanche-mainnet.json.
*
* Last refreshed 2026-06-23. To refresh, re-run the steps above.
* Last refreshed 2026-07-03. To refresh, re-run the steps above.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve Avalanche's non-upgraded carve-out

This refresh note now leaves only the generic Hermes-ID derivation, but Avalanche still has no pro-compatible-production EVM deployment in the repo: the current Avalanche contracts are the legacy entries in contract_manager/src/store/contracts/EvmPriceFeedContracts.json and EvmWormholeContracts.json, while the pro-compatible list starts later without an Avalanche entry. Since evm.mdx renders showProCompatibleStatus for Avalanche, the next refresh that sees HLP0/USDC.RR in Hermes would mark the Avalanche push feed Available even though users have no upgraded Avalanche contract to use; keep the chain-specific carve-out until the deployment exists.

Useful? React with 👍 / 👎.

@aditya520
aditya520 merged commit 26c30aa into main Jul 10, 2026
17 checks passed
@aditya520
aditya520 deleted the hydra/i-ttsthjrp/refresh-push-feeds branch July 10, 2026 13:24
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.

2 participants