Replace Pyth price feeds with API3 - #297
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (9)
💤 Files with no reviewable changes (1)
📝 WalkthroughWalkthroughThis PR migrates the PRICE v1.2 oracle system from Pyth price feeds to API3-backed Chainlink-compatible feeds. Changes remove all Pyth integrations across documentation, deployment configuration, script wiring, oracle mocking, and test setup, replacing them with API3 feeds for ETH/USD and USDS/USD, updating fork blocks, and adjusting validation bounds accordingly. ChangesPyth to API3 Oracle Feed Migration
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Summary
Rationale
Pyth is no longer viable for this configuration because reliable updates require paid Hermes access. API3 provides Chainlink-interface compatible reader proxies for ETH/USD and USDS/USD, with 25-hour staleness thresholds to allow one hour of grace over a 24-hour heartbeat.
Validation
forge test --match-contract OlympusPricev1_2ForkTestgit diff --checkpnpm exec prettier --check snapshots/OlympusPricev1_2ForkTest.jsonSummary by CodeRabbit
Release Notes
Documentation
Configuration
Tests