gears icon indicating copy to clipboard operation
gears copied to clipboard

Refine overflow behaviour

Open joneskm opened this issue 1 year ago • 0 comments

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.

joneskm avatar Nov 30 '23 10:11 joneskm