cosmos-sdk/x/mock
Christopher Goes 1204857694 Merge PR #2122: Implement slashing period
* Update PENDING.md

* SlashingPeriod struct

* Seperate keys.go, constant prefixes

* Make linter happy

* Update Gopkg.lock

* Seek slashing period by infraction height

* Slashing period hooks

* Slashing period unit tests; bugfix

* Add simple hook tests

* Add sdk.ValidatorHooks interface

* No-op hooks

* Real hooks

* Fix iteration direction & duplicate key, update Gaia

* Correctly simulate past validator set signatures

* Tiny rename

* Update dep; 'make format'

* Add quick slashing period functionality test

* Additional unit tests

* Use current validators when selected

* Panic in the right place

* Address @rigelrozanski comments

* Fix linter errors

* Address @melekes suggestion

* Rename hook

* Update for new bech32 types

* 'make format'
2018-08-31 20:01:23 -04:00
..
simulation Merge PR #2122: Implement slashing period 2018-08-31 20:01:23 -04:00
app_test.go Introduce simulate mode 2018-08-31 19:04:11 +02:00
app.go Merge PR #1783: Slashing, validator set, and governance simulation 2018-08-16 17:36:15 +02:00
doc.go Merge pull request #1175: Randomized Module Testing 2018-07-06 16:19:11 -04:00
test_utils.go Introduce simulate mode 2018-08-31 19:04:11 +02:00