Cosmos tx amount is casted to uint64
0x0ece opened this issue · 1 comments
0x0ece commented
Hi, while Terra and Cosmos have relatively low amount of decimals, new chains are popping up with 18 decimals, e.g. XPLA.
We just noticed that there's an explicit cast to uint64:
https://github.com/renproject/multichain/blob/master/chain/cosmos/tx.go#L120
This causes overflow issue/incorrect amount on such chains.