cosmos-sdk/x/gov
Alexander Bezobchuk 9dafa3252d Merge PR #2365: Validator Commission Model
* Update validator commission fields

* Remove CommissionChangeToday and update to use CommissionChangeTime

* Implement commission as a first class citizen type

* Implement stringer for Comission

* Move commission type and logic to new  file

* Add new commission errors

* Add commission to create validator message

* Implement and call UpdateValidatorCommission

* Update godoc for UpdateValidatorCommission

* Add Abs to the decimal type

* Implement new SetValidatorCommission

* Update decimal short godocs

* Move set initial commission logic

* Move initial commission validation to Commission type

* Update initial validator commission logic and unit tests

* Remove commission update time from struct and move to validator

* Update validator create handler tests

* Implement commission logic for CLI

* Fix make lint failure

* Fix make cover failure

* Update edit validator logic to handle new commission rate

* Fix lint and cover

* Update create/edit validator simulation to include commission params

* Update MsgEditValidator godoc

* Update pending log

* Update staking tx docs

* Fix CLI create validator test

* Update variables names for commission  strings

* Merge UpdateTime into Commission type

* Update create-validator usage in docs

* Update more docs with examples

* More doc updates
2018-09-24 18:23:58 -04:00
..
client Merge PR #2324: rename wire to codec 2018-09-13 14:17:32 -04:00
simulation Merge PR #2355: Governance BFT Time 2: Electric Boogaloo 2018-09-20 22:53:52 +08:00
tags Merge PR #1781: Gov tags cleanup 2018-07-21 03:58:45 +02:00
codec.go Merge PR #2324: rename wire to codec 2018-09-13 14:17:32 -04:00
depositsvotes.go Fix linter errors 2018-09-03 07:58:57 -07:00
endblocker_test.go Merge PR #2355: Governance BFT Time 2: Electric Boogaloo 2018-09-20 22:53:52 +08:00
errors.go gov enums marshal to String 2018-07-10 17:59:07 -07:00
genesis.go Merge PR #2355: Governance BFT Time 2: Electric Boogaloo 2018-09-20 22:53:52 +08:00
handler.go Merge PR #2355: Governance BFT Time 2: Electric Boogaloo 2018-09-20 22:53:52 +08:00
keeper_keys.go asdf 2018-07-09 00:59:51 -07:00
keeper_test.go Merge PR #2355: Governance BFT Time 2: Electric Boogaloo 2018-09-20 22:53:52 +08:00
keeper.go Merge PR #2355: Governance BFT Time 2: Electric Boogaloo 2018-09-20 22:53:52 +08:00
msgs_test.go Merge PR #1811: NewCoin takes sdk.Int 2018-07-31 02:09:50 +02:00
msgs.go Merge PR #2343: Add a name field to the message type 2018-09-17 22:34:06 +08:00
procedures.go Merge PR #2355: Governance BFT Time 2: Electric Boogaloo 2018-09-20 22:53:52 +08:00
proposals.go Merge PR #2355: Governance BFT Time 2: Electric Boogaloo 2018-09-20 22:53:52 +08:00
queryable.go Merge PR #2324: rename wire to codec 2018-09-13 14:17:32 -04:00
tally_test.go Merge PR #2365: Validator Commission Model 2018-09-24 18:23:58 -04:00
tally.go Merge PR #2040: Refactor Validator Account Types/Bech32 Prefixing 2018-08-31 00:06:44 -04:00
test_common.go Merge PR #2324: rename wire to codec 2018-09-13 14:17:32 -04:00