mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-02-15 05:26:36 +00:00
It's possible for `tx.value` in the transaction to have a deliberately constructed large 256-bit value, such that adding `gasLimit * gasPrice` to it overflows to a small value. Prior to this patch, the code would allow such a transaction to pass validation, even though such a large transfer cannot be valid. Signed-off-by: Jamie Lokier <jamie@shareable.org>