MetaMask / MetaMask/extension-provider

Unable to recive callbacks

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

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
73
Forks
29
PR merge metrics
No merged PRs in 30d

Description

I'm unable to recive any callbacks event from MetaMask, i only get some errors
![image](https://user-images.githubusercontent.com/31728268/150961176-f73c3e21-bcb2-4513-a096-3754dbb58317.png)

This error is displayed when i open the metamask window calling `await provider.request({method: 'eth_requestAccounts'}` or ` web3.eth.getAccounts()`

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.

Research direction

Start by reproducing the reported behavior with provider.request({method: 'eth_requestAccounts'}) and web3.eth.getAccounts(), recording the error shown in the attached screenshot. Trace the provider entry points reached by those calls and compare the callback behavior with the expected WebExtension provider flow. Done means the calls no longer produce the reported error and MetaMask callbacks are received.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.