Closed AndreMiras closed 10 months ago
Interesting, thanks for the detailed report. Seems like a gas_wanted
value in a transaction. This value is higher than any reasonable amount but users can enter it.
The solution here would probably be to avoid using apiToSmallInt
and return a bigint instead of number.
I came across a block (88458) on evmos that triggers an
Input not in int53 range
error. I'm running @cosmjs/tendermint-rpc 0.31.0Here's a simple reproduction:
Executed with:
Output was:
These are some pretty old blocks so I've attached
/block_results?height=88457
and/block_results?height=88458
in case you don't have access to an archive node. block_results?height=88457.txt block_results?height=88458.txt