Skip to content

Conversation

@adonesky1
Copy link
Contributor

@adonesky1 adonesky1 commented Apr 22, 2025

Currently when another wallet (currently only seeing this with Rabby) is installed and gets to the ethereum global before us (and pulls up the ladder behind them) our provider errors out. This is now downstream causing our Solana Wallet Standard Provider to also fail to register.

Though we cannot overcome this issue we can atleast prevent the subsequent provider registration from failing.

Related: MetaMask/metamask-extension#30685

Video Demo of Bug

Screen.Recording.2025-04-22.at.1.42.46.PM.mov

After

Screen.Recording.2025-04-22.at.1.42.46.PM.mov

@adonesky1 adonesky1 requested a review from a team April 22, 2025 19:58
@adonesky1 adonesky1 changed the title catch error when ethereum provider is set before our attempt to set fix: catch error when ethereum provider is set before our attempt to set Apr 22, 2025
jiexi
jiexi previously approved these changes Apr 22, 2025
@adonesky1 adonesky1 force-pushed the ad/catch-error-global-eth-provider-thrown branch from 51e207f to cd54512 Compare April 22, 2025 20:18
@adonesky1 adonesky1 merged commit 098e396 into main Apr 22, 2025
17 checks passed
@adonesky1 adonesky1 deleted the ad/catch-error-global-eth-provider-thrown branch April 22, 2025 20:32
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.

4 participants