You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
00000000000000000000000000000000000000000000000000000000000003e8
This is what we get in the transaction input data value field.
I'm pretty sure it expects value of different order (I assume * "mwei", but you know better).
More so if we enter decimal like "1000.12345" we would get 0 in the data value field.
Highly likely because of this:https://github.com/MyEtherWallet/MyEtherWallet/blob/main/src/modules/send-offline/ModuleSendOffline.vue#L355
BN can't take fractional AND value has to be put in some wei order first.
Like so for example:web3.utils.toWei(this.amount, "mwei")
The text was updated successfully, but these errors were encountered:
Perhaps it's not that simple and we have to store decimals for some of the tokens:https://eips.ethereum.org/EIPS/eip-20 method decimals.
Pretty sure it used to work fine with decimals and everything in way earlier releases
Info
Steps to reproduce
00000000000000000000000000000000000000000000000000000000000003e8
This is what we get in the transaction input data value field.
I'm pretty sure it expects value of different order (I assume * "mwei", but you know better).
More so if we enter decimal like "1000.12345" we would get 0 in the data value field.
Highly likely because of this:https://github.com/MyEtherWallet/MyEtherWallet/blob/main/src/modules/send-offline/ModuleSendOffline.vue#L355
BN can't take fractional AND value has to be put in some wei order first.
Like so for example:
web3.utils.toWei(this.amount, "mwei")
The text was updated successfully, but these errors were encountered: