Skip to content

Conversation

@Xaroz
Copy link
Collaborator

@Xaroz Xaroz commented Oct 13, 2025

Temporal fix for switching network when origin chain changes.

WalletConnect requires the app to be on the same network as the app it is trying to connect to. In the case of the Warp UI, it uses the default network until a transaction it's triggered where switchNetwork is called, that is why it is not able to approve a connection from WalletConnect that has a different network than the UI.

This changes makes it so that whenever a chain is selected it will trigger switchNetwork instead of waiting for a transaction to happen first.

@vercel
Copy link

vercel bot commented Oct 13, 2025

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

Project Deployment Preview Comments Updated (UTC)
hyperlane-warp-template Ready Ready Preview Comment Oct 13, 2025 7:28pm
4 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
injective-bridge Ignored Ignored Oct 13, 2025 7:28pm
nexus-bridge Ignored Ignored Oct 13, 2025 7:28pm
ousdt-bridge Ignored Ignored Oct 13, 2025 7:28pm
trump-bridge Ignored Ignored Oct 13, 2025 7:28pm

@Xaroz Xaroz enabled auto-merge October 13, 2025 19:24
@Xaroz Xaroz changed the title fix: switch network on chain change fix: switch network on origin chain change Oct 13, 2025
@Xaroz Xaroz disabled auto-merge October 13, 2025 20:43
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