feat: enable Across and deBridge swappers - #12208
Conversation
Enable VITE_FEATURE_ACROSS_SWAP and VITE_FEATURE_DEBRIDGE_SWAP feature flags. Both swappers are fully implemented and wired to multiple chains: - Across: supports 20+ EVM chains including MegaETH, Scroll, Base, Arbitrum - deBridge: supports 12+ EVM chains including MegaETH, Berachain, Sonic These swappers have been in the codebase since PR shapeshift#11941 (deBridge) and earlier (Across), with chain wiring expanded in PRs shapeshift#12143 and shapeshift#12144. Enabling them adds competitive route options alongside Relay, THORChain, and Chainflip for best-price routing.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
💤 Files with no reviewable changes (1)
📝 WalkthroughWalkthroughTwo Vite feature flags were toggled: in Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.env:
- Line 367: Remove the redundant mode-specific environment variable entries for
VITE_FEATURE_ACROSS_SWAP and VITE_FEATURE_DEBRIDGE_SWAP: since these flags are
already defined globally (VITE_FEATURE_ACROSS_SWAP and
VITE_FEATURE_DEBRIDGE_SWAP present in the main .env), open the environment files
for specific modes and delete any lines that set VITE_FEATURE_ACROSS_SWAP or
VITE_FEATURE_DEBRIDGE_SWAP so the global values are authoritative and no
mode-specific overrides remain.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
Enable VITE_FEATURE_ACROSS_SWAP and VITE_FEATURE_DEBRIDGE_SWAP feature flags. Both swappers are fully implemented and wired to multiple chains: - Across: supports 20+ EVM chains including MegaETH, Scroll, Base, Arbitrum - deBridge: supports 12+ EVM chains including MegaETH, Berachain, Sonic These swappers have been in the codebase since PR #11941 (deBridge) and earlier (Across), with chain wiring expanded in PRs #12143 and #12144. Enabling them adds competitive route options alongside Relay, THORChain, and Chainflip for best-price routing. Co-authored-by: kaladinlight <35275952+kaladinlight@users.noreply.github.com>
* feat: regenerate asset data 04/01/2026 (#12234) Co-authored-by: asset-generation-bot <action@github.com> * feat: enable Across and deBridge swappers (#12208) Enable VITE_FEATURE_ACROSS_SWAP and VITE_FEATURE_DEBRIDGE_SWAP feature flags. Both swappers are fully implemented and wired to multiple chains: - Across: supports 20+ EVM chains including MegaETH, Scroll, Base, Arbitrum - deBridge: supports 12+ EVM chains including MegaETH, Berachain, Sonic These swappers have been in the codebase since PR #11941 (deBridge) and earlier (Across), with chain wiring expanded in PRs #12143 and #12144. Enabling them adds competitive route options alongside Relay, THORChain, and Chainflip for best-price routing. Co-authored-by: kaladinlight <35275952+kaladinlight@users.noreply.github.com> * feat: enable MegaETH chain support (#12207) * feat: regenerate asset data 04/02/2026 (#12237) Co-authored-by: asset-generation-bot <action@github.com> * fix: fix Relay non-EVM transaction notification and Tron calldata handling (#12015) * feat: update RFOX current epoch IPFS hash (#12251) Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> * feat: regenerate asset data 04/03/2026 (#12246) * fix: display requiresBalance protocol fees in network fee UI Protocol fees with requiresBalance (e.g. deBridge fixFee, Jupiter account creation) were only validated for sufficient balance but never displayed. This misrepresented the true cost of routes like deBridge which charges ~0.005 BNB on BSC. - Include requiresBalance protocol fees in network fee selectors (crypto + fiat) - Fix TradeConfirmFooter (Sign & Swap screen) to include protocol fees - Account for requiresBalance fees in quote sorting even when network fee is unknown - Fix deBridge to use fixFee directly instead of prepended operating expenses Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: asset-generation-bot <action@github.com> Co-authored-by: stuuagentclaw <stuagentclaw@gmail.com> Co-authored-by: Apotheosis <0xapotheosis@gmail.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

Description
Enable Across Protocol and deBridge DLN as active swap routes by setting their feature flags to
true.Both swappers are fully implemented and have been in the codebase for weeks:
AcrossSwapper): Integrated in earlier PRs, chain wiring expanded in feat: wire across to scroll and megaeth #12144. Supports 20+ chains with fast fill times.DebridgeSwapper): Integrated in feat: integrate sei evm chain and debridge swapper (cross-chain + same-chain) #11941, expanded to 9 additional chains in feat: wire debridge to 9 additional evm chains #12143. Solver-based cross-chain bridge + same-chain DEX aggregation.Impact
Enabling these swappers adds 2 new route providers to ShapeShift's quote comparison engine, competing alongside Relay, THORChain, Chainflip, and other active swappers for best execution.
Key chains that gain additional routes:
Across supported chains (verified via API)
Ethereum, Optimism, BNB, Polygon, Arbitrum, zkSync, Linea, Base, Scroll, Blast, Mode, Ink, Unichain, Worldchain, Monad, MegaETH, HyperEVM, Plasma, Soneium + more
deBridge supported chains (verified via API)
Ethereum, Optimism, BNB, Polygon, Arbitrum, Avalanche, Base, Linea, Sonic, Story, Flow EVM, MegaETH, Berachain, Mantle, Cronos, BOB, Gnosis, SEI + more
Risk
Medium - Enables two new swap routes globally. Both have been in the codebase behind flags and tested via their respective integration PRs. No new contracts or on-chain interaction changes.
Testing
Engineering
Operations
Summary by CodeRabbit
New Features
Chores