cosmos-sdk/x/distribution
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 Refactor x/staking Validation and Delegation tests based on MsgCreateValidator.Pubkey type change. (#7526) 2020-10-19 13:04:55 +00:00
legacy Add CommunitySpendProposals in migration (#7607) 2020-10-20 13:19:04 +00:00
simulation simapp: rename MakeEncodingConfig to MakeTestEncodingConfig (#7681) 2020-10-27 11:33:48 +00:00
spec Update 07_params.md 2020-03-17 11:30:24 -04:00
types Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00
abci.go Merge PR #6761: telemetry: use UTC() in wrappers 2020-07-17 15:33:50 -04:00
doc.go Merge PR #5417: Update distribution module doc 2019-12-17 13:59:16 -05:00
handler.go Refactor x/staking according to ADR 031 (#7556) 2020-10-16 14:53:49 +00:00
module_test.go tendermint: update to rc3 (#6892) 2020-08-14 13:58:53 -04:00
module.go Rename RegisterGRPCRoutes (#7696) 2020-10-28 11:39:49 +00:00
proposal_handler_test.go Migrate BaseAccount PubKey to use Any (#7268) 2020-09-25 08:41:16 +00:00