cosmos-sdk/x/params
yihuang 54201d11e6
cli: convert coins to smallest unit registered (#7777)
* cli: convert coins to smallest unit registered

fixes: #7623

- test order of decimal operations
- support both int and decimal coins, truncate when normalizing to
  base unit

* Update types/coin_test.go

* Update types/coin_test.go

Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Amaury <amaury.martiny@protonmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-11-16 11:34:54 +00:00
..
client cli: convert coins to smallest unit registered (#7777) 2020-11-16 11:34:54 +00:00
keeper simapp: rename MakeEncodingConfig to MakeTestEncodingConfig (#7681) 2020-10-27 11:33:48 +00:00
simulation tendermint: update to rc3 (#6892) 2020-08-14 13:58:53 -04:00
spec Params Spec 80 column md. (#6561) 2020-07-01 13:27:13 +00:00
types simapp: rename MakeEncodingConfig to MakeTestEncodingConfig (#7681) 2020-10-27 11:33:48 +00:00
doc.go Merge PR #5359: Params Validation 2019-12-10 11:48:57 -05:00
module.go Rename RegisterGRPCRoutes (#7696) 2020-10-28 11:39:49 +00:00
proposal_handler.go Merge PR #5942: Tx Client Migration: x/gov 2020-04-14 15:05:14 -04:00
proposal_handler_test.go simapp: rename MakeEncodingConfig to MakeTestEncodingConfig (#7681) 2020-10-27 11:33:48 +00:00