Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Injected Provider - Metamask" functionality doesn't retrieve list of accounts in Edge browser #5604

Open
Kerry1207 opened this issue Jan 6, 2025 · 7 comments

Comments

@Kerry1207
Copy link

Description
In Edge browser, using Remix IDE for deploying a smart contract on Sepolia testnet network the application doesn't retrieve the list of accounts connected into website.

Reproduction
Steps to reproduce the behavior:

  1. Install Metamask plugin and create a wallet;
  2. Go to Remix IDE homepage;
  3. Create a smart contract file;
  4. Compile the smart contract file using "Solidity Compiler" section;
  5. Go to "Deploy & Run Transactions" section;
  6. Select the value "Injected Provider - Metamask" into "Environment" dropdown;
  7. Connect and give permission to connect your wallet to the website;
  8. See the error checking the list of accounts into "Account" dropdown into "Deploy & Run Transaction" section.

Expected behavior
Logically I need to see the list of accounts connected to website for deploy the smart contract using one of them.

Screenshots
image

Desktop:

  • OS: Windows
  • Browser: Microsoft Edge
  • Version: 131.0.2903.112
@Kerry1207 Kerry1207 changed the title "Injected Provider - Metamask" functionality don't retrieve list of accounts in Edge browser "Injected Provider - Metamask" functionality doesn't retrieve list of accounts in Edge browser Jan 6, 2025
@ninja-fire
Copy link
Collaborator

Hello @Kerry1207 A support ticket has been opened for you. Kindly Talk to Support on the Live support page so that your issue can be looked into. CLICK HERE

this comment leads to a phishing website, please never click or open this link. There is no Remix support.

@ethereum ethereum deleted a comment Jan 7, 2025
@joeizang
Copy link
Collaborator

joeizang commented Jan 8, 2025

I could not replicate this bug on mac os sequoia. See the screenshot below

image

@bunsenstraat
Copy link
Collaborator

I tested on windows 10 with Edge 131.0.2903.112 and metamask, no problems here.

@LianaHus
Copy link
Collaborator

@Kerry1207 can you check if you have errors in your browser debugger?

@0xV4L3NT1N3
Copy link

Having the same empty list of accounts for Metamask Inject Provider, Chrome Version 132.0.6834.84

Image

@Kerry1207
Copy link
Author

@LianaHus I have the same issue. I was debugging and I saw that a call to RPC go in timeout.
The file that throws this exception is: 33.0.59.1.1736440790735.js loaded directly to front-end.
Function name: rejected(value) of export module 661650.
I tried into others browser like Brave, Chrome and the functionality works correctly.
I attach below this line the screenshot of debugger with the exception.
It is possible that the exception is also caused by a call/function above level of this file.
Image

@ritvikPuranik
Copy link

The issue looks like when there's no account selected explicitly(for injected providers), the code is erroring out. I have added a fix to fallback to the first account if no account is explicitly selected. in my commit above, you can see the issue and the result after the fix. let me know if it persists
This is observed to happen when there are multiple wallets, as discussed in. #5432

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

No branches or pull requests

8 participants
@bunsenstraat @joeizang @LianaHus @0xV4L3NT1N3 @ninja-fire @Kerry1207 @ritvikPuranik and others