Skip to content

Refine overflow behaviour #14

@joneskm

Description

@joneskm

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions