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
{{ message }}
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.
That looks correct here no? the proper precision should be 1x10^18 and that's what it looks like it's doing here. can you provide more explanation here? otherwise, this looks like a non-issue
That looks correct here no? the proper precision should be 1x10^18 and that's what it looks like it's doing here. can you provide more explanation here? otherwise, this looks like a non-issue
for example: if I set gas price to 1 GWEI in metamask or any other wallets of ethereum, the member Price of MsgEthereumTx will be set to 1000000000, that means Price has already increase to 1 x 10^9, it equal with 0.000000009 eth, if here increase precision with 18 again, it will be 1 x 1000000000^18, that's a wrong precision number
System info: [Include Ethermint commit, operating system name, and other relevant details]
Code: 177574a
Steps to reproduce:
ethermint/app/ante/eth.go
Line 102 in 177574a
call
NewDecCoin
will increment precision to 18, it means if you call it like:The
fee
will become to 1000000000000000000, that's a wrong precision calculationExpected behavior: [What you expected to happen]
Actual behavior: [What actually happened]
Additional info: [Include gist of relevant config, logs, etc.]
The text was updated successfully, but these errors were encountered: