Repository navigation
feat: support Hyperliquid USDC deposits through Relay - #4137
ChiTimesChi wants to merge 6 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
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: Repository: synapsecns/sanguine/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe SDK router now supports Relay quotes for HyperCore USDC. The interface advertises the destination for Relay-supported origins and uses the standard bridge flow. It removes the former Arbitrum deposit flow and migrates matching legacy transactions from persisted state. ChangesHyperCore USDC Relay bridging
Estimated code review effort: 3 (Moderate) | ~25 minutes Sequence Diagram(s)sequenceDiagram
participant bridgeV2
participant RelayModuleSet
participant relayApi
bridgeV2->>RelayModuleSet: Request a HyperCore USDC route
RelayModuleSet->>relayApi: Request a quote with the destination currency and recipient
relayApi-->>RelayModuleSet: Return quote and deposit transaction step
RelayModuleSet-->>bridgeV2: Return route amounts and deposit calldata
Merge Risk: ⚪ Minimal · up to No actionable issue remains in the inspected HyperCore USDC deposit flow or transaction migration. The PR is mergeable after normal checks. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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 |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4137 +/- ##
===================================================
+ Coverage 57.57648% 58.08893% +0.51245%
===================================================
Files 147 147
Lines 4217 4228 +11
Branches 809 815 +6
===================================================
+ Hits 2428 2456 +28
+ Misses 1699 1674 -25
- Partials 90 98 +8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Deploying sanguine-fe with
|
| Latest commit: |
44b0f25
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://3d19cc04.sanguine-fe.pages.dev |
| Branch Preview URL: | https://codex-hyperliquid-relay-depo.sanguine-fe.pages.dev |
Bundle ReportChanges will decrease total bundle size by 14.11kB (-0.04%) ⬇️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: sdk-router-@synapsecns/sdk-router-cjsAssets Changed:
Files in
view changes for bundle: synapse-interface-client-array-pushAssets Changed:
Files in
Files in
view changes for bundle: synapse-interface-server-cjsAssets Changed:
Files in
Files in
Files in
view changes for bundle: sdk-router-@synapsecns/sdk-router-esmAssets Changed:
Files in
|
Description
Validation
Additional context
eslint-plugin-prettier/ ESLint API mismatch (context.getPhysicalFilename is not a function).Summary by CodeRabbit
New Features
Improvements
f43c8ad: synapse-interface preview link
01d5bd3: synapse-interface preview link
a013bca: synapse-interface preview link