cosmos-sdk/x/slashing
Ira Miller 589c1a531e
Enable/disable coin transfers by denom (#6527)
* initial implementation of per denom sendenabled

* Fix for accidentally removed keyword

* Validate individual param in param array

* Lint fix

* Refactor bank params to use protobuf
Modified SendEnabled property to be part of generic Params object
Updated genesis functions to use default params structure

* Refactor simulation genesis for clarity

* update changelog for bank sendenable per denom

* fix NoOpMsg type in multisend test

* Add a coin denom send check utility function

* Additional godoc comments and clarification

* Add default send enabled parameter to bank.
Remove empty denom capability from SendEnabled parameters
Update simulation to exercise both configuration options independently

* Minor suggested improvements.

* simulation fix

* bank proto sendenabled package name removed

* Remove extra gogo proto yaml tags

* Params rename IsSendEnabled to SendEnabledDenom

* Refactor to SendEnabledCoin(s)

* update slashing test to use bank params

* Clean up change log entry for feature.

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-07-08 17:43:08 +00:00
..
client Merge PR #6595: Single Binary & Command Refactor 2020-07-07 11:40:46 -04:00
keeper Enable/disable coin transfers by denom (#6527) 2020-07-08 17:43:08 +00:00
simulation Merge PR #6278: Add msg type sim operations 2020-05-26 12:52:23 -04:00
spec
types x/Slashing: gRPC query service (#6597) 2020-07-06 21:54:25 +00:00
abci.go Merge PR #6449: Initial Metrics 2020-06-18 14:12:44 -04:00
abci_test.go
app_test.go x/auth: remove alias.go usage (#6440) 2020-06-17 14:42:27 -04:00
genesis.go x/slashing: remove alias.go usage (#6417) 2020-06-12 14:25:12 +00:00
handler.go x/slashing: remove alias.go usage (#6417) 2020-06-12 14:25:12 +00:00
handler_test.go Add support for protobuf TxGenerator and SIGN_MODE_DIRECT (#6385) 2020-07-06 17:03:45 +00:00
module.go x/slashing: remove alias.go usage (#6417) 2020-06-12 14:25:12 +00:00