Julien Robert
7eb259fd86
feat: add `draft-proposal` for x/group ( #13353 )
...
* feat: add `draft-proposal` for x/group
* add changelog
* extract useful function
* add `GetMsgFromTypeURL` tests
2022-09-22 00:53:02 +02:00
Emmanuel T Odeke
a2118afc21
fix: x/gov/client/cli: update & tighten Prompt.Parse tests ( #13350 )
...
Adds more rigorous checks to ensure that the output
is as expected with range failures. While here also
added control tests to ensure that we can parse integers
within range of int.
Updates #13346
2022-09-21 05:59:11 +00:00
Emmanuel T Odeke
56a49aba46
fix: x/gov/client/cli: fix integer overflow in parsing int prompted values ( #13347 )
...
Reported by cosmos/gosec in https://github.com/cosmos/cosmos-sdk/security/code-scanning/5730 .
This change checks for errors from strconv.Atoi in which case we were
susceptible to out of range errors, this change also adds tests to
prevent regressions.
Fixes #13346
2022-09-21 01:26:50 +02:00
Julien Robert
7252f4a758
feat: CLI tooling to generate proposal JSONs ( #13304 )
2022-09-19 14:22:04 +02:00