fether icon indicating copy to clipboard operation
fether copied to clipboard

TransportError: eth_estimateGas: -32602: Invalid params: invalid length 65, expected a 0x-prefixed, hex-encoded number of length 64

Open ltfschoen opened this issue 6 years ago • 0 comments

I tried to replicate a scenario where a user sends a large amount of tokens. But since I don't have much testnet Ether or THIBCoin, I had simulate having sufficient tokens by commenting out the following lines of code so it doesn't show warning You don't have enough ETH balance:

  • Lines 251-252 https://github.com/paritytech/fether/blob/master/packages/fether-react/src/Send/TxForm/TxForm.js#L251
  • Lines 289-299 https://github.com/paritytech/fether/blob/master/packages/fether-react/src/Send/TxForm/TxForm.js#L289

Then when I entered a large amount of tokens (i.e. 1111111111111111111111111111111111111111111111111111111111111) to an address (i.e. 0x005072Fb985cc64d8A1Ce00ECe26279f73c12F8a), it gave me the following error in the console:

screen shot 2018-12-25 at 7 48 10 pm

It still allowed me to enter the password without yet displaying the error in the UI. But then when I clicked submit it showed the error as follows:

screen shot 2018-12-25 at 8 06 55 pm

Refer to related issue https://github.com/paritytech/fether/issues/299 that was overcome prior to this bug being detected.

ltfschoen avatar Dec 25 '18 09:12 ltfschoen