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

Open
#375 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

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.

Description

bug
  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

Dominant language
JavaScript
Stars
642
Forks
369
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MetaMask/test-dapp

All issues in MetaMask/test-dapp

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.