Skip to content

docs(developer-hub): add upgraded Solana account column to price feed IDs table - #3911

Open
aditya520 wants to merge 1 commit into
mainfrom
hydra/i-quzjpjfo/head
Open

docs(developer-hub): add upgraded Solana account column to price feed IDs table#3911
aditya520 wants to merge 1 commit into
mainfrom
hydra/i-quzjpjfo/head

Conversation

@aditya520

@aditya520 aditya520 commented Jul 20, 2026

Copy link
Copy Markdown
Member

Extend PriceFeedIdsCoreTable on the Price Feed IDs page with a second Solana column that lists each feed's shard-0 push account derived under PRO_COMPATIBLE_PUSH_ORACLE_PROGRAM_ID — the Pyth Core (upgraded) program that goes live on August 18, 2026. Rename the existing column to "Current Solana Price Feed Account" so the two are unambiguous side by side. Add the new field to the matchSorter keys, so pasting a known upgraded address filters to the matching feed.

Add a one-sentence intro note on price-feed-ids.mdx explaining the two Solana columns and linking to the upgrade contracts page, and a short pointer paragraph under ### Push Feed Accounts (Mainnet) on upgrade/contracts.mdx sending readers to the Price Feed IDs page for non-sponsored feed lookups.

Regression check (BTC/USD, shard 0): current 4cSM2e6rvbGQUFiJbqytoVMi5GgghSMr8LwVrT9VPSPo, upgraded APgzQGGdv2qCgBkX6aHVkrGePtBVDDg68GiqaM7rmtf5 — the two columns render different base58 values for the same row.

The rest of the diff on PriceFeedIdsCoreTable/index.tsx is Biome's useSortedKeys / useSortedAttributes auto-fix (required by ./scripts/biome-ci on any file it touches).

… IDs table

Extend PriceFeedIdsCoreTable with a second Solana column showing each
feed's shard-0 push account derived under PRO_COMPATIBLE_PUSH_ORACLE_PROGRAM_ID
(the post-August 18 program). Rename the existing column to
"Current Solana Price Feed Account" so the two are unambiguous side by
side. Wire the new field through the matchSorter keys so pasting an
upgraded address filters to the matching feed.

Add a short intro note to price-feed-ids.mdx describing the two columns
and linking to the upgrade contracts page, and a paragraph on
upgrade/contracts.mdx pointing to the Price Feed IDs page for non-sponsored
feed lookups.
@vercel
vercel Bot temporarily deployed to Preview – staking July 20, 2026 16:10 Inactive
@vercel

vercel Bot commented Jul 20, 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 20, 2026 4:13pm
developer-hub Ready Ready Preview, Comment Jul 20, 2026 4:13pm
5 Skipped Deployments
Project Deployment Actions Updated (UTC)
api-reference Skipped Skipped Jul 20, 2026 4:13pm
entropy-explorer Skipped Skipped Jul 20, 2026 4:13pm
insights Skipped Skipped Jul 20, 2026 4:13pm
proposals Skipped Skipped Jul 20, 2026 4:13pm
staking Skipped Skipped Jul 20, 2026 4:13pm

Request Review

@vercel
vercel Bot temporarily deployed to Preview – api-reference July 20, 2026 16:10 Inactive
@vercel
vercel Bot temporarily deployed to Preview – insights July 20, 2026 16:10 Inactive
@vercel
vercel Bot temporarily deployed to Preview – proposals July 20, 2026 16:10 Inactive
@vercel
vercel Bot temporarily deployed to Preview – entropy-explorer July 20, 2026 16:10 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: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@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: 6b134a7e4b

ℹ️ 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 on lines +197 to 201
upgradedSolanaPriceFeedAccount: getPriceFeedAccountForProgram(
0,
feedIdBuffer,
PRO_COMPATIBLE_PUSH_ORACLE_PROGRAM_ID,
).toBase58(),

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 Gate upgraded addresses on migrated feeds

When a current feed is not served by upgraded Hermes, this loop still fills upgradedSolanaPriceFeedAccount for every standard-Hermes feed by deriving a PDA under the upgraded program. The existing upgrade UI computes pro_compatible_status from https://pyth.dourolabs.app/hermes/v2/price_feeds and explicitly says coming_soon feeds are not guaranteed to migrate (SponsoredFeedsTable/index.tsx:23-26, :290-295; the Solana data includes such feeds like SAMO/USD), so the new column can make unsupported feeds look usable. Please populate or label this column from the upgraded-Hermes availability data before presenting it as an upgraded account address.

Useful? React with 👍 / 👎.

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