cosmos-sdk/math
Emmanuel T Odeke 54d764b9a8
fix: math: fix Uint.Unmarshal's lack of negative value checking (#11996)
This change adds a negative value check to Uint.Unmarshal,
which coincidentally is fixed by refactoring for code reuse.
While here, added tests to ensure we don't regress.

Fixes #11995
2022-05-19 20:28:06 +00:00
..
CHANGELOG.md refactor!: create math go sub module (#11788) 2022-04-28 14:05:21 -04:00
doc.go refactor!: create math go sub module (#11788) 2022-04-28 14:05:21 -04:00
go.mod chore: update module path for math module (#11821) 2022-04-29 10:02:55 -04:00
go.sum refactor!: create math go sub module (#11788) 2022-04-28 14:05:21 -04:00
int_internal_test.go refactor!: create math go sub module (#11788) 2022-04-28 14:05:21 -04:00
int_test.go chore: gofumpt (#11839) 2022-05-19 10:55:27 +02:00
int.go refactor!: create math go sub module (#11788) 2022-04-28 14:05:21 -04:00
proto.go refactor!: create math go sub module (#11788) 2022-04-28 14:05:21 -04:00
uint_internal_test.go chore: gofumpt (#11839) 2022-05-19 10:55:27 +02:00
uint_test.go fix: math: fix Uint.Unmarshal's lack of negative value checking (#11996) 2022-05-19 20:28:06 +00:00
uint.go fix: math: fix Uint.Unmarshal's lack of negative value checking (#11996) 2022-05-19 20:28:06 +00:00