Skip to content

feat: add Celestia warp routes for SOL, ETH, WBTC, eUSD - #965

Draft
paulbalaji wants to merge 11 commits into
mainfrom
feat/celestia-warp-routes
Draft

feat: add Celestia warp routes for SOL, ETH, WBTC, eUSD#965
paulbalaji wants to merge 11 commits into
mainfrom
feat/celestia-warp-routes

Conversation

@paulbalaji

@paulbalaji paulbalaji commented Feb 20, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add 6 Celestia warp route configs (3 tokens x 2 routes each)
  • SOL: Solana <-> Celestia, Celestia <-> Eden
  • ETH: Ethereum <-> Celestia, Celestia <-> Eden
  • WBTC (LBTC): Ethereum <-> Celestia, Celestia <-> Eden

Registry PRs:

Test plan

  • Verify warp routes load correctly in the UI
  • Test SOL transfer Solana <-> Celestia
  • Test ETH transfer Ethereum <-> Celestia
  • Test LBTC/BTC transfer Ethereum <-> Celestia
  • Test SOL/ETH/BTC transfers Celestia <-> Eden

🤖 Generated with Claude Code


Note

Medium Risk
Upgrades Hyperlane packages (including @hyperlane-xyz/core to v11 and beta sdk/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 switches warpRouteWhitelist from null (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/widgets to a 25.4.0-beta build (bringing in @hyperlane-xyz/core@11).

Adjusts next.config.js webpack aliases to stub @hyperlane-xyz/core typechain/barrel exports (and buildArtifact.js) to avoid ethers v5/v6 import issues during webpackBuildWorker optimization.

Written by Cursor Bugbot for commit 897dd97. This will update automatically on new commits. Configure here.

@vercel

vercel Bot commented Feb 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hyperlane-warp-template Ready Ready Preview, Comment Feb 27, 2026 5:23pm
5 Skipped Deployments
Project Deployment Actions Updated (UTC)
analytics-test Ignored Ignored Feb 27, 2026 5:23pm
injective-bridge Ignored Ignored Feb 27, 2026 5:23pm
nexus-bridge Ignored Ignored Feb 27, 2026 5:23pm
ousdt-bridge Ignored Ignored Feb 27, 2026 5:23pm
trump-bridge Ignored Ignored Feb 27, 2026 5:23pm

Request Review

Comment thread src/consts/warpRoutes.yaml
Comment thread src/consts/warpRouteWhitelist.ts
Comment thread src/consts/warpRoutes.yaml
decimals: 6
name: TIA
standard: CosmosNativeHypCollateral
symbol: TIA

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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.

Fix in Cursor Fix in Web

@Xaroz Xaroz changed the title feat: add Celestia warp routes for SOL, ETH, WBTC feat: add Celestia warp routes for SOL, ETH, WBTC, eUSD Feb 25, 2026
Comment thread src/consts/warpRoutes.yaml Outdated

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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',
];

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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)

Fix in Cursor Fix in Web

paulbalaji and others added 8 commits February 27, 2026 16:54
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>
@socket-security

socket-security Bot commented Feb 27, 2026

Copy link
Copy Markdown

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.

View full report

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>
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.

2 participants