matter-labs / matter-labs/greeter-tutorial-starter

signer.getBalance(tokenAddress) is not stable

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

Nobody has claimed this yet.

Dominant language
Vue
Stars
5
Forks
10
PR merge metrics
No merged PRs in 30d

Description

I have `0.023990998494818266 ETH` and `298.98944 USDC`, but `signer.getBalance(ETH) ` and `signer.getBalance(USDC) ` return the confused data:

![image](https://user-images.githubusercontent.com/1699428/171363642-2352ed24-1108-481b-b475-4365c20b04bf.png)

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

Reproduce the report using signer.getBalance(tokenAddress), comparing the results with the stated 0.023990998494818266 ETH and 298.98944 USDC balances and the attached screenshot. No file or test is named, so locate the tutorial entry point that invokes getBalance; done means both calls return the correct, stable balances.

Written by the indexing model from the issue text.

Assessment

Domain
blockchain
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.