curve: exclude blacklisted pools - #3011
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan provides up to 2 included reviews per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe Curve adaptor now retrieves chain-specific pool blacklist data, passes it through the blockchain processing flow, and skips matching pools. Static exclusions add 11 blacklisted Curve pools across Ethereum, Fantom, and Arbitrum. ChangesCurve pool blacklist filtering
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~15 minutes Change: Bug fix Sequence Diagram(s)sequenceDiagram
participant Main
participant getBlacklistedPools
participant CurvePoolFiltersAPI
participant feedLlama
Main->>getBlacklistedPools: Request blacklist
getBlacklistedPools->>CurvePoolFiltersAPI: Fetch pool filters
CurvePoolFiltersAPI-->>getBlacklistedPools: Return chain pool addresses
getBlacklistedPools-->>Main: Return lowercase address Sets
Main->>feedLlama: Pass blacklist with blockchain data
feedLlama-->>Main: Return pools excluding blacklisted addresses
Suggested reviewers: Merge Risk: ⚪ Minimal · up to The change filters blacklisted Curve pools using remote and static data, with no evidenced correctness, availability, or deployment risk remaining; it is ready to merge. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 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 |
|
The curve-dex adapter exports pools: Test Suites: 1 passed, 1 total |
Summary by CodeRabbit