MetaMask / metamask-extension

:globe_with_meridians: :electric_plug: The MetaMask browser extension enables browsing Ethereum blockchain enabled websites
https://metamask.io
Other
11.84k stars 4.84k forks source link

[Bug]: Multi RPC - Upon importing an account after the addition of a custom RPC URL, users encounter an error message within the account addition modal #26834

Closed sleepytanya closed 1 week ago

sleepytanya commented 1 week ago

Describe the bug

Upon importing an account after the addition of a custom RPC URL, users encounter an error message within the account addition modal stating, "Had a problem changing networks!" Despite this message, there are no errors reported in the console, and the account is imported as anticipated.

Expected behavior

-

Screenshots/Recordings

Screenshot 2024-09-02 at 00 05 58

https://github.com/user-attachments/assets/7eb9a60c-39a0-495d-8ab8-291d865f0e6c

Steps to reproduce

  1. Add custom RPC URL
  2. Import account

Error messages or log output

No response

Detection stage

On the development branch

Version

12.0.5

Build type

None

Browser

Chrome

Operating system

MacOS

Hardware wallet

No response

Additional context

Build https://app.circleci.com/pipelines/github/MetaMask/metamask-extension/97568/workflows/28d6cb81-d0e8-410f-ae41-7f8b6cc5c5a9/jobs/3631842/artifacts

Severity

No response

salimtb commented 1 week ago

hey @sleepytanya , this bug has been addressed on the latest build. you can find it here

https://github.com/user-attachments/assets/23fdc16e-8a6a-4a31-bc17-84c1e3dcb9b0

sleepytanya commented 1 week ago

I don't see it on the latest commit 0b38bd5

https://github.com/user-attachments/assets/5aa56a2a-0507-451e-b3ef-605e0b114b4e