MetaMask / MetaMask/metamask-extension

[Sentry] Error: call revert exception [ See: ** ] (method="balanceOf(address)", data="0x", errorArgs=null, errorN...

Open
#20,318 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-sentry assets-archive external-contributor INVALID-ISSUE-TEMPLATE Parking-Lot ready-for-dev regression-prod-10.34.1 Sev2-normal team-assets type-bug
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

Sentry Issue: [METAMASK-X62R](https://metamask.sentry.io/issues/4344653680/?referrer=github_integration)

```
Error: call revert exception [ See: ** ] (method="balanceOf(address)", data="0x", errorArgs=null, errorName=null, errorSignature=null, reason=null, code=CALL_EXCEPTION, version=abi/5.7.0)
at Logger.prototype.makeError (node_modules/@ethersproject/logger/lib/index.js:238:1)
at Logger.prototype.throwError (node_modules/@ethersproject/logger/lib/index.js:247:1)
at Interface.prototype.decodeFunctionResult (node_modules/@ethersproject/abi/lib/interface.js:388:1)
at call (node_modules/@ethersproject/contracts/lib/index.js:395:1)
at step (node_modules/@ethersproject/contracts/lib/index.js:48:1)
...
(2 additional frame(s) were not displayed)
```

Contributor guide

Open the contributing guide

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 with the linked Sentry event and trace the balanceOf(address) call from node_modules/@ethersproject/contracts/lib/index.js through @ethersproject/abi/lib/interface.js. The issue names no extension source file or test, so first identify the caller and a reproducible case; a regression check would be needed to define done.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.