Lost connection to Metamask when switching connection to Optimism
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.5k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Bug Description
Lost connection to Metamask when switching connection to Optimism.
Steps to Reproduce
- open https://app.uniswap.org/#/swap?chain=mainnet
- connect Metamask wallet
- go to Metamask plugin and switch chain to Optimism (please take attention that switching chain should be done in Metamask, and not via Uniswap UI)
Uniswap shows that wallet is not connected, choosed chain reset to Ethereum.
Expected Behavior
Uniswap should keep connection to Metamask, chain should be changed to Optimism
Additional Context
Please take attention that switching chain should be done in Metamask, and not via Uniswap UI
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue at https://app.uniswap.org/#/swap?chain=mainnet by connecting MetaMask and switching from Ethereum to Optimism in the MetaMask plugin. Trace the wallet and chain-change handling from the interface entry points; done means the wallet remains connected and the selected chain changes to Optimism.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- blockchain, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100