MetaMask / MetaMask/test-dapp

[Bug] Error being displayed as the chainId not being updated when changing network

Open
#375 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
642
Forks
369
PR merge metrics
No merged PRs in 30d

Description

1. Visit test-dapp
2. Connect with MM Wallet
3. Ensure network is Linea Sepolia (when connecting)
4. Change network to Sepolia
5. Sign Permit with connected account

Expected: Sign permit working as expected with the reflected network change
Actual: Error displayed

https://github.com/user-attachments/assets/feaeea86-30e0-43a2-874f-6f7db4dc0784

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in the test-dapp by reproducing the listed MetaMask Wallet flow, beginning on Linea Sepolia and switching to Sepolia before signing the permit. Inspect the network-change and permit-signing entry points to identify why the reflected chainId is rejected; done means signing succeeds after the switch without the displayed error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
testing-qa, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.