Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refine overflow behaviour #14

Open
joneskm opened this issue Nov 30, 2023 · 0 comments
Open

Refine overflow behaviour #14

joneskm opened this issue Nov 30, 2023 · 0 comments
Labels
bug Something isn't working priority

Comments

@joneskm
Copy link
Member

joneskm commented Nov 30, 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.

@joneskm joneskm changed the title Refine Overflow Behaviour Refine overflow behaviour Dec 6, 2023
@joneskm joneskm added the bug Something isn't working label Dec 6, 2023
@joneskm joneskm added this to Gears Dec 20, 2023
@joneskm joneskm moved this to Todo in Gears Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority
Projects
Status: Todo
Development

No branches or pull requests

1 participant