cosmos-sdk/x/slashing/keeper
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
..
common_test.go migrate TestHandleNewValidator to new simapp 2020-03-02 21:19:46 +01:00
grpc_query.go x/Slashing: gRPC query service (#6597) 2020-07-06 21:54:25 +00:00
grpc_query_test.go Enable/disable coin transfers by denom (#6527) 2020-07-08 17:43:08 +00:00
hooks.go linter: enable nolintlint (#6162) 2020-05-08 08:46:12 +00:00
infractions.go Merge PR #5627: Regen Network/Slashing protobuf 2020-02-20 01:04:13 +01:00
keeper.go Merge PR #6212: Remove Get* Prefixes from Key Construction Functions 2020-05-13 17:23:00 -04:00
keeper_test.go x/staking: remove alias.go usage (#6397) 2020-06-12 14:54:37 +00:00
params.go Merge PR #5627: Regen Network/Slashing protobuf 2020-02-20 01:04:13 +01:00
querier.go Merge PR #5627: Regen Network/Slashing protobuf 2020-02-20 01:04:13 +01:00
querier_test.go refactor querier test 2020-03-03 11:14:22 +01:00
signing_info.go Merge PR #6212: Remove Get* Prefixes from Key Construction Functions 2020-05-13 17:23:00 -04:00
signing_info_test.go refactor signing info test 2020-03-03 11:20:18 +01:00
test_common.go x/staking: remove alias.go usage (#6397) 2020-06-12 14:54:37 +00:00
unjail.go Allow Unjail of Non-Bonded Jailed Validator (#6061) 2020-04-26 17:38:33 +00:00