cosmos-sdk/x/bank
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 Remove context param (#6645) 2020-07-08 14:25:02 +00:00
exported Move ModuleAccount to x/auth (#6029) 2020-04-20 19:32:10 +00:00
keeper Enable/disable coin transfers by denom (#6527) 2020-07-08 17:43:08 +00:00
legacy Move codec.RegisterCrypto and codec.Cdc to new packages (#6330) 2020-06-04 10:38:24 +00:00
simulation Enable/disable coin transfers by denom (#6527) 2020-07-08 17:43:08 +00:00
spec Enable/disable coin transfers by denom (#6527) 2020-07-08 17:43:08 +00:00
types Enable/disable coin transfers by denom (#6527) 2020-07-08 17:43:08 +00:00
app_test.go x/auth: remove alias.go usage (#6440) 2020-06-17 14:42:27 -04:00
bench_test.go x/auth: remove alias.go usage (#6440) 2020-06-17 14:42:27 -04:00
genesis.go Enable/disable coin transfers by denom (#6527) 2020-07-08 17:43:08 +00:00
handler_test.go Add support for protobuf TxGenerator and SIGN_MODE_DIRECT (#6385) 2020-07-06 17:03:45 +00:00
handler.go Enable/disable coin transfers by denom (#6527) 2020-07-08 17:43:08 +00:00
module.go Remove context param (#6645) 2020-07-08 14:25:02 +00:00