metamask-mobile icon indicating copy to clipboard operation
metamask-mobile copied to clipboard

Invalid amount on transaction confirm screen

Open tommasini opened this issue 3 years ago • 1 comments

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

tommasini avatar Jul 28 '22 13:07 tommasini

Here's more detail about the issue

https://www.youtube.com/watch?v=8uBnnnHM27s

https://github.com/leon-do/transfer-erc20-html

leon-do avatar Aug 02 '22 01:08 leon-do

Update: This was tested on Goerli and Rinkeby. Same bug.

leon-do avatar Aug 12 '22 20:08 leon-do

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.

Screen Shot 2022-08-21 at 23 14 46

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

gantunesr avatar Aug 22 '22 03:08 gantunesr

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

leon-do avatar Aug 22 '22 16:08 leon-do

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.

gantunesr avatar Sep 04 '22 02:09 gantunesr

Closing as the PR mentioned above has been merged.

bschorchit avatar Feb 09 '23 12:02 bschorchit