You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
joneskm
changed the title
Refine Overflow Behaviour
Refine overflow behaviour
Dec 6, 2023
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.
The text was updated successfully, but these errors were encountered: