metamask-mobile
metamask-mobile copied to clipboard
Invalid amount on transaction confirm screen
Describe the bug The balance of the wallet is 10 tokens but when requesting a transaction of one token we have the error invalid amount.
Screenshots

Here's more detail about the issue
https://www.youtube.com/watch?v=8uBnnnHM27s
https://github.com/leon-do/transfer-erc20-html
Update: This was tested on Goerli and Rinkeby. Same bug.
Hi @leon-do, can you provide more information about this issue. I tried to reproduce it, but the Dapp in the video only performs actions in Mainnet, but the contract address is from Rinkeby or Goerli according to the Dapp.

Error while trying to mint on testnet,
event="changed",
network={
"name":"homestead",
"chainId":1,
"ensAddress":"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"
},
detectedNetwork={
"name":"rinkeby",
"chainId":4,
"ensAddress":"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"
},
code=NETWORK_ERROR,
version=providers/5.6.8
Hey,
I didn't write logic to switch to testnets. You'll have to manually switch and refresh.

The believe the video is trying on Goerli. I don't have mainnet funds in these addresses.
In the video, you can see the network (goerli) towards the top of he screen. Below are the links. Goerli on desktop browser: https://youtu.be/8uBnnnHM27s?t=70 Goerli on mobile: https://youtu.be/8uBnnnHM27s?t=153
Hey @leon-do, I took a look at the issue and we already have a PR (https://github.com/MetaMask/metamask-mobile/pull/4404) to fix it.
Closing as the PR mentioned above has been merged.