cosmos-sdk/types/simulation
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
..
account.go Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00
account_test.go ci: split unit tests across 4 machines (#6297) 2020-05-29 15:25:27 +02:00
config.go Remove dependency of types/module package on x/simulation (#5835) 2020-03-23 12:55:44 +01:00
rand_util.go ibc-transfer: sims updates (#7123) 2020-08-21 04:52:46 -04:00
rand_util_test.go cli: convert coins to smallest unit registered (#7777) 2020-11-16 11:34:54 +00:00
transition_matrix.go Remove dependency of types/module package on x/simulation (#5835) 2020-03-23 12:55:44 +01:00
types.go Make JSONMarshaler methods require proto.Message (#7054) 2020-08-26 09:39:38 +00:00