feat: add Celestia warp routes for SOL, ETH, WBTC, eUSD - #965
feat: add Celestia warp routes for SOL, ETH, WBTC, eUSD#965paulbalaji wants to merge 11 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
5 Skipped Deployments
|
6292cc6 to
1e575d5
Compare
| decimals: 6 | ||
| name: TIA | ||
| standard: CosmosNativeHypCollateral | ||
| symbol: TIA |
There was a problem hiding this comment.
TIA token missing collateralAddressOrDenom on Celestia
High Severity
The TIA/eden route's Celestia-side token uses CosmosNativeHypCollateral standard but is missing the collateralAddressOrDenom field. Every other CosmosNativeHypCollateral entry in this file (SOL/eden at line 26, ETH/eden at line 63, WBTC/eden at line 100) includes this field. For TIA on Celestia, it likely needs to be utia (the native denomination). Without it, the system won't know which Cosmos denomination to lock as collateral, potentially breaking the TIA transfer route.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
| 'WBTC/celestia-ethereum', | ||
| 'WBTC/celestia-eden', | ||
| 'TIA/celestia-eden', | ||
| ]; |
There was a problem hiding this comment.
eUSD routes missing from warp route whitelist
Medium Severity
The PR title states it adds routes for "SOL, ETH, WBTC, eUSD", and 4 eUSD tokens are configured in warpRoutes.yaml, but eUSD/celestia-ethereum and eUSD/celestia-eden are missing from warpRouteWhitelist. Every other YAML route has a corresponding whitelist entry. While YAML tokens bypass the whitelist filter, the registry versions of these routes (from the linked registry PRs) won't be included, meaning eUSD won't appear in the wireDecimalsMap built by buildWireDecimalsMap.
Additional Locations (1)
Add 6 warp routes (3 tokens x 2 routes each): - SOL/celestia: Solana <-> Celestia - SOL/eden: Celestia <-> Eden - ETH/celestia: Ethereum <-> Celestia - ETH/eden: Celestia <-> Eden - WBTC/celestia: Ethereum (LBTC) <-> Celestia - WBTC/eden: Celestia <-> Eden Configs sourced from: - hyperlane-xyz/hyperlane-registry#1388 - hyperlane-xyz/hyperlane-registry#1389 - hyperlane-xyz/hyperlane-registry#1391 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
isMultiChainToken() excludes EvmNative since it's not in TOKEN_HYP_STANDARDS, hiding Eden TIA from Eden→Celestia direction. Include tokens with configured connections regardless of standard. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Update @hyperlane-xyz/sdk, utils, widgets to beta containing getHypAdapter support for EvmNative tokens with warp connections. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
5b269e1 to
111cc84
Compare
|
All alerts resolved. Learn more about Socket for GitHub. This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
core@11.0.0 (transitive via SDK beta) has typechain factories for @Arbitrum and @chainlink that import `utils` from ethers v5 API. Extend the existing tron stub to also alias these barrels to false. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
core@11.0.0 has ethers v5 imports throughout typechain, not just tron. Alias the entire typechain barrel and buildArtifact.js to false. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>


Summary
Registry PRs:
Test plan
🤖 Generated with Claude Code
Note
Medium Risk
Upgrades Hyperlane packages (including
@hyperlane-xyz/coreto v11 and betasdk/utils/widgets), plus webpack alias stubbing, which can affect build/runtime behavior and token/route resolution. Route config additions are mostly data changes but could surface misconfigured addresses/decimals in transfers.Overview
Adds new Celestia Warp Route token configs in
warpRoutes.yaml(SOL, ETH, BTC/LBTC, TIA, eUSD) and switcheswarpRouteWhitelistfromnull(all routes) to an explicit allowlist of Celestia-related routes.Updates token selection to also include tokens that have explicit connections (not only multi-chain tokens), and bumps
@hyperlane-xyz/sdk,@hyperlane-xyz/utils, and@hyperlane-xyz/widgetsto a25.4.0-betabuild (bringing in@hyperlane-xyz/core@11).Adjusts
next.config.jswebpack aliases to stub@hyperlane-xyz/coretypechain/barrel exports (andbuildArtifact.js) to avoid ethers v5/v6 import issues duringwebpackBuildWorkeroptimization.Written by Cursor Bugbot for commit 897dd97. This will update automatically on new commits. Configure here.