Add CEG, TSM feeds#21
Conversation
|
Caution Review failedFailed to post review comments WalkthroughThis PR adds support for six new equity price feeds (SGOV/USD, QQQM/USD, VWO/USD, ARKK/USD, CEG/USD, TSM/USD including TSM PRE/POST variants) to LibPyth, refactors deployment configuration by hardcoding MetaBoard address, updates CI workflow with network choices and cleaned environment variables, and applies formatting improvements to function-pointer declarations. ChangesEquity feeds and deployment updates
🎯 2 (Simple) | ⏱️ ~12 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Motivation
Extend equity feed coverage in
rain.pythby adding CEG and TSM (including pre/post market) mappings so downstream consumers can resolve and read these symbols through the existing Pyth integration.This PR stacks on #20 (
2026-04-19-sgov).What Changed
src/lib/pyth/LibPyth.solfor:EQUITY.US.CEG/USDEQUITY.US.TSM/USDEQUITY.US.TSM/USD.PREEQUITY.US.TSM/USD.POSTgetPriceFeedId()resolution for the new symbols.test/lib/LibFork.solfor CEG and TSM price checks.getPriceNoOlderThanbehavior.Validation
test/src/lib/pyth/LibPyth.constants.t.soltest/src/lib/pyth/LibPyth.getPriceFeedId.t.soltest/src/lib/pyth/LibPyth.getPriceNoOlderThan.t.solChecks
By submitting this for review, I'm confirming I've done the following:
Summary by CodeRabbit
Release Notes
New Features
Tests
Chores