Skip to content

Conversation

@tanguyenvn
Copy link
Contributor

@tanguyenvn tanguyenvn commented Jan 24, 2026

Motivation and Context

Jira Link: https://consensyssoftware.atlassian.net/browse/W3APD-5255

Description

There is a bug when connecting to Solana, users cannot sign messages unless refreshing the app
This issue happens because the chain namespace is not reactive when being updated.

Changes made:

  • add reactive chainId and chainNamespace to provider context listen for chainChanged events and expose chain state directly from context

How has this been tested?

Screenshots (if appropriate):

  • BEFORE
image
  • AFTER
image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project. (run lint)
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • My code requires a db migration.

listen for chainChanged events and expose chain state directly from context
@vercel
Copy link

vercel bot commented Jan 24, 2026

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

Project Deployment Review Updated (UTC)
web3auth-web Ready Ready Preview, Comment Jan 24, 2026 2:33am

Request Review

@tanguyenvn tanguyenvn self-assigned this Jan 24, 2026
@tanguyenvn tanguyenvn changed the title feat(vue): add reactive chainId and chainNamespace to provider context fix: cannot use wallet after connecting to Solana external wallets Jan 26, 2026
@chaitanyapotti chaitanyapotti merged commit 84bd5fd into master Jan 26, 2026
6 checks passed
@chaitanyapotti chaitanyapotti deleted the fix/W3APD-5255-solana-wallet branch January 26, 2026 13:09
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.

3 participants