test: harden Morpho Pendle PT oracle assertions - #181
Conversation
Allow spell tests to register on-chain payload addresses before setUp and skip redeploying them. Fixes sparkdotfi#90
Handle loan tokens with fewer decimals than PT and add additional warp-based price decay checks. Fixes sparkdotfi#93
Summary by OctaneNew ContractsNo new contracts were added. Updated Contracts
🔗 Commit Hash: 3b44f87 |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
WalkthroughSpellRunner now supports pre-registered payload addresses and avoids redeploying them. Three spell test constructors register Ethereum, Robinhood, and XLayer payload addresses during construction instead of setup. ChangesPayload registration flow
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Overview
🔗 Commit Hash: 3b44f87 |
Summary
_testMorphoPendlePTOracleConfigwhen PT decimals exceed loan token decimalsTest plan
forge buildSummary by CodeRabbit