Skip to content

Staging Stableswap Deploy#1404

Open
nambrot wants to merge 6 commits intomainfrom
nambrot/multi-collateral-deploy
Open

Staging Stableswap Deploy#1404
nambrot wants to merge 6 commits intomainfrom
nambrot/multi-collateral-deploy

Conversation

@nambrot
Copy link
Copy Markdown
Contributor

@nambrot nambrot commented Mar 3, 2026

Description

Backward compatibility

Testing

Summary by CodeRabbit

  • New Features
    • Added cross-chain support for multiple stablecoins including USDC, USDT, PYUSD, USDH, and mantraUSD
    • Enabled multi-chain token bridging across networks such as Arbitrum, Base, Ethereum, Polygon, and others
    • Expanded token configuration for enhanced cross-chain interoperability and asset connectivity

nambrot and others added 3 commits February 22, 2026 15:55
Individual route configs and deploy artifacts:
- USDC: arbitrum, base
- USDT: arbitrum, base
- mantraUSD: mantra
- USDH: hyperevm

Combined MULTI config with full cross-enrollment across all routes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Mar 3, 2026

📝 Walkthrough

Walkthrough

This PR adds warp route configuration and deployment YAML files for multiple stablecoin tokens (USDC, USDT, USDH, PYUSD, mantraUSD, and MULTI) across various blockchain networks. The changes define token metadata, chain-specific addresses, collateral mappings, and cross-chain connection configurations using standards like EvmHypMultiCollateral. No code logic modifications are introduced.

Changes

Cohort / File(s) Summary
USDC Configuration
deployments/warp_routes/USDC/stableswap-config.yaml, deployments/warp_routes/USDC/stableswap-deploy.yaml
Defines three USDC tokens (Arbitrum, Base, Ethereum) with cross-chain connections and deploys multiCollateral setup with rebalancer/bridge configs per network.
USDT Configuration
deployments/warp_routes/USDT/stableswap-config.yaml, deployments/warp_routes/USDT/stableswap-deploy.yaml
Adds three USDT tokens (Arbitrum, Base, Ethereum) with cross-chain mappings and multiCollateral deployment across networks with enrolled routers per chain ID.
USDH Configuration
deployments/warp_routes/USDH/stableswap-config.yaml, deployments/warp_routes/USDH/stableswap-deploy.yaml
Introduces single USDH token on Hyperevm with multiCollateral standard and deployment config with routers across chain IDs (1, 42161, 5888, 8453).
PYUSD Configuration
deployments/warp_routes/PYUSD/stableswap-config.yaml, deployments/warp_routes/PYUSD/stableswap-deploy.yaml
Defines two PayPal USD tokens (Arbitrum, Ethereum) with bidirectional cross-chain connections and multiCollateral deployment setup.
mantraUSD Configuration
deployments/warp_routes/mantraUSD/stableswap-config.yaml, deployments/warp_routes/mantraUSD/stableswap-deploy.yaml
Adds single MANTRA USD token on Mantra chain with multiCollateral standard and deployment with routers across multiple chain IDs.
MULTI Token Configuration
deployments/warp_routes/MULTI/stableswap-config.yaml
Defines multiple token entries (USDC, USDT, PYUSD, USDH, mantraUSD) across five chains with diverse collateral mappings and cross-network connections.
Main Registry Update
deployments/warp_routes/warpRouteConfigs.yaml
Extends primary configuration with new token entries under stableswap, stHYPER, and stTIA sections, adding cross-chain mappings and connections across arbitrum, base, ethereum, optimism, polygon, and solanamainnet.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

Suggested reviewers

  • ltyu
  • xeno097

Poem

🌍 Layers upon layers, like an onion in the swamp,
Chains connect to chains with a structured stomp,
USDC, USDT, and friends all aligned,
Cross-chain configurations perfectly designed,
No code to break, just configurations so neat! 🏰

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The pull request description contains only an empty template with no substantive content filled in for any of the required sections. Please fill in the Description section with a summary of changes, confirm backward compatibility status, and describe any testing performed with Hyperlane tooling.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Staging Stableswap Deploy' accurately reflects the main change—adding stableswap deployment configurations across multiple YAML files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch nambrot/multi-collateral-deploy

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@hyper-gonk
Copy link
Copy Markdown
Contributor

hyper-gonk Bot commented Mar 3, 2026

Check Warp Deploy Summary

Warp Route ID On-Chain Config Sync
MULTI/stableswap N/A
PYUSD/stableswap
USDC/stableswap
USDH/stableswap
USDT/stableswap
mantraUSD/stableswap

Last updated: 2026-03-05 02:56:14 UTC

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
deployments/warp_routes/USDC/stableswap-deploy.yaml (1)

2-84: Add a schema-validation guard for deploy YAMLs.

Given the nested shape added on Line 2 through Line 84, it’d be safer to validate these files in CI (or load path) instead of plain parse-only. Right now, a typo in allowedRebalancingBridges / enrolledRouters can slip through quietly and only bite later.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@deployments/warp_routes/USDC/stableswap-deploy.yaml` around lines 2 - 84, Add
a strict schema validation step for deploy YAMLs so typos in keys like
allowedRebalancingBridges, enrolledRouters, mailbox, owner, token, scale, and
type are caught early: create a JSON/YAML schema that enforces required
top-level sections (base, ethereum, etc.), allowedRebalancers array,
allowedRebalancingBridges object with per-chain bridge entries, enrolledRouters
map, and field types/constraints, then wire it into the deployment loader by
adding a validateDeployYaml(config) call in the code path that parses these
files (and/or add a CI job that runs the same validateDeployYaml against
committed YAMLs); fail fast with clear error messages when validation fails.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@deployments/warp_routes/USDC/stableswap-deploy.yaml`:
- Around line 2-84: Add a strict schema validation step for deploy YAMLs so
typos in keys like allowedRebalancingBridges, enrolledRouters, mailbox, owner,
token, scale, and type are caught early: create a JSON/YAML schema that enforces
required top-level sections (base, ethereum, etc.), allowedRebalancers array,
allowedRebalancingBridges object with per-chain bridge entries, enrolledRouters
map, and field types/constraints, then wire it into the deployment loader by
adding a validateDeployYaml(config) call in the code path that parses these
files (and/or add a CI job that runs the same validateDeployYaml against
committed YAMLs); fail fast with clear error messages when validation fails.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 40aabc79-b8c3-429b-9d42-3e8eaf0309b2

📥 Commits

Reviewing files that changed from the base of the PR and between 7c57688 and c499233.

📒 Files selected for processing (11)
  • deployments/warp_routes/PYUSD/stableswap-config.yaml
  • deployments/warp_routes/PYUSD/stableswap-deploy.yaml
  • deployments/warp_routes/USDC/stableswap-config.yaml
  • deployments/warp_routes/USDC/stableswap-deploy.yaml
  • deployments/warp_routes/USDH/stableswap-config.yaml
  • deployments/warp_routes/USDH/stableswap-deploy.yaml
  • deployments/warp_routes/USDT/stableswap-config.yaml
  • deployments/warp_routes/USDT/stableswap-deploy.yaml
  • deployments/warp_routes/mantraUSD/stableswap-config.yaml
  • deployments/warp_routes/mantraUSD/stableswap-deploy.yaml
  • deployments/warp_routes/warpRouteConfigs.yaml
✅ Files skipped from review due to trivial changes (2)
  • deployments/warp_routes/USDT/stableswap-config.yaml
  • deployments/warp_routes/mantraUSD/stableswap-deploy.yaml
👮 Files not reviewed due to content moderation or server errors (1)
  • deployments/warp_routes/warpRouteConfigs.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant