Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect wallet balances displayed #190

Open
kevholder opened this issue Feb 7, 2020 · 2 comments
Open

Incorrect wallet balances displayed #190

kevholder opened this issue Feb 7, 2020 · 2 comments

Comments

@kevholder
Copy link
Contributor

kevholder commented Feb 7, 2020

I'm trying to use a testchain with mcd-cdp-portal (launched with scripts/launch -s default --fast in testchain directory).

~/code/kev/testchain$ echo $ETH_FROM                                                       dai.js ✗
0x16fb96a5fa0427af0c8f7cf1eb4870231c8154b6
~/code/kev/testchain$ seth balance $ETH_FROM                                               dai.js ✗
93829523280000000000

However, when I go to http://localhost:3000/save?network=testnet&simplePriceFeeds=1 the ETH balance displayed is 93.69 instead of the expected 93.83 for address 0x16fb9...154b6 (same address). Is it not using the development testchain to query the balance?

@kevholder
Copy link
Contributor Author

Screenshot 2020-02-07 14 33 18

@kevholder
Copy link
Contributor Author

I just opened a vault with 50 ETH and withdrew 2000 DAI. Weird, the Ethereum balance changed both in Metamask/testchain and mcd-cdp-portal but it is still off by ~0.14 ETH (41.82 ETH in metamask vs
41.68 ETH in mcd-cdp-portal). Also, metamask isn't showing my DAI and BAT balances whereas mcd-cdp-portal is now displaying 2.0K DAI and 1.0K BAT.

Screenshot 2020-02-07 14 55 51

Screenshot 2020-02-07 14 56 17

$ seth balance 0x16fb96a5fa0427af0c8f7cf1eb4870231c8154b6
41823016805000000000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant