persistenceOne / pStake-bugBounty

This repository is to record issues reported for the pStake bug bounty program.
3 stars 2 forks source link

MetaMask pop up doesn't open when click 'MetaMask' button #21

Open boddy21 opened 3 years ago

boddy21 commented 3 years ago

Describe the bug MetaMask pop up doesn't open when click 'MetaMask' button on the 'Connect to a Wallet' page. This occurs only if no Ropsten network is selected.

To Reproduce Steps to reproduce the behaviour:

  1. Connect to MetaMask and select any Network different to Ropsten Test Network (e.g. Ethereum Mainnet)
  2. Go to 'https://alpha.pstake.finance/'
  3. Click on 'MetaMask' button
  4. Observe screen

Expected behaviour MetaMask pop up should open along with 'Network id Mismatch' error. Thus user would be able to switch network to Ropsten on this pop up.

Screenshots 2021-06-21_01-18-51

Desktop (please complete the following information):

Ethereum address 0x25F1bA6a6075B683e4fceDd08eDcF84B2F6bdFD5

Criticality Assessment Please pick one:

Checklist

kombos commented 3 years ago

This is not a bug. metamask screen is not supposed to open if there is a network mismatch, but display a modal stating the mismatch. you are supposed to open metamask window from your browser toolbar and change the network and retry