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.
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.