Currently arithmetic operations on 256 bit number types (Dec and Uint) panic on overflow. This matches the behaviour of the Cosmos SDK, however unlike the SDK, Gears does not catch panics which occur during transaction processing. We need to decide how to handle overflows in Gears such that it has the same behaviour as the SDK.
Currently arithmetic operations on 256 bit number types (Dec and Uint) panic on overflow. This matches the behaviour of the Cosmos SDK, however unlike the SDK, Gears does not catch panics which occur during transaction processing. We need to decide how to handle overflows in Gears such that it has the same behaviour as the SDK.