ethereum / ethereum/staking-launchpad

MetaMask prompt not working when on wrong network

Open
#498 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
304
Forks
226
PR merge metrics
No merged PRs in 30d

Description

> This may have already been an issue (i.e. unrelated from your PR) but I noticed when I'm on a different network other than Mainnet (e.g. Arbitrum), it creates some funky behaviour when trying to connect (nothing happens when I click MetaMask). If I'm on Mainnet, it correctly tells me to switch to Goerli.

> Mind making a change here to check if user is on ANY network other than the correct network? If so, we should display that modal to switch:
Screen Shot 2022-05-30 at 9 33 47 AM

> ideal logic here might be to auto-switch the network for MetaMask users.

_Originally posted by @samajammin in https://github.com/ethereum/staking-launchpad/pull/495#pullrequestreview-988906310_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.