interface icon indicating copy to clipboard operation
interface copied to clipboard

sometimes the connection doesn't work

Open almoapple opened this issue 2 years ago • 1 comments

Bug Description A clear and concise description of the bug.

After I used uniswap interface to connect to MetaMask, then I closed the page and reopened the page, sometimes I couldn’t connect. Then I execute the following code in the console: const provide = new _ethers.providers.Web3Provider(window.ethereum) provide.provider.request({ method: ā€˜eth_chainId’ }).then((data) => console.log(data)) I found that this request is still in pending.

Steps to Reproduce 1态connect to a web3 website,such as uniswap\gmx 2态close the website after connected 3态open a new label,visit the connected site. This problem is not inevitable, it takes multiple attempts. and do not open the console when open the site. ...

Expected Behavior

Additional Context metamask version 10.30.2 explore: google chrome 113.0.5672.126 system: macos

i can reproduce in gmx, but icanā€˜t reproduce in dydx

c2afe9e0474cac642910e207d0926f7a8bec138d

almoapple avatar May 21 '23 07:05 almoapple

Hey @zzmp, can we close this PR sine it already has a merged PR?

Jdecristi avatar Sep 08 '23 05:09 Jdecristi