cosmos-sdk/x/bank/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
..
grpc_query.go x/ibc: gRPC query service (#6466) 2020-07-06 15:35:35 -04:00
grpc_query_test.go Add proper support for Any in gRPC queries (#6594) 2020-07-03 16:42:12 +00:00
invariants.go Update x/gov to use Any (#6147) 2020-05-19 20:17:29 +00:00
keeper.go x/auth: remove alias.go usage (#6440) 2020-06-17 14:42:27 -04:00
keeper_test.go Enable/disable coin transfers by denom (#6527) 2020-07-08 17:43:08 +00:00
querier.go Merge PR #6489: Test Network Testing Framework 2020-06-26 12:30:49 -04:00
querier_test.go Merge PR #6489: Test Network Testing Framework 2020-06-26 12:30:49 -04:00
send.go Enable/disable coin transfers by denom (#6527) 2020-07-08 17:43:08 +00:00
view.go Add pagination (#6452) 2020-06-20 23:44:04 +00:00