cosmos-sdk/simapp
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
..
helpers x/auth: remove alias.go usage (#6440) 2020-06-17 14:42:27 -04:00
params Migrate x/auth cmd's to TxGenerator marshaling (#6391) 2020-06-18 20:29:41 +00:00
simd client/flags: remove NewCompletionCmd() (#6632) 2020-07-07 19:29:30 +02:00
app.go Merge PR #6595: Single Binary & Command Refactor 2020-07-07 11:40:46 -04:00
app_test.go rename blacklist to blocked (#6455) 2020-06-17 13:32:49 +00:00
config.go Remove dependency of types/module package on x/simulation (#5835) 2020-03-23 12:55:44 +01:00
encoding.go Migrate x/auth cmd's to TxGenerator marshaling (#6391) 2020-06-18 20:29:41 +00:00
export.go x/staking: remove alias.go usage (#6397) 2020-06-12 14:54:37 +00:00
genesis.go Merge pull request #6085: Move codec/std to std 2020-04-27 15:40:50 -04:00
genesis_account.go x/auth: remove alias.go usage (#6440) 2020-06-17 14:42:27 -04:00
genesis_account_test.go Merge PR #5572: ADR 004 Implementation 2020-01-30 16:31:16 -05:00
sim_bench_test.go Merge PR #5500: Regen network/multistore upgrades 2020-02-27 22:26:04 -08:00
sim_test.go x/auth: remove alias.go usage (#6440) 2020-06-17 14:42:27 -04:00
state.go x/auth: remove alias.go usage (#6440) 2020-06-17 14:42:27 -04:00
test_helpers.go Enable/disable coin transfers by denom (#6527) 2020-07-08 17:43:08 +00:00
types.go Merge PR #5952: Refactor Evidence Age Util + Governable Consensus Params 2020-04-16 11:10:39 -04:00
utils.go lint: official action (#6156) 2020-05-07 09:40:49 +00:00
utils_test.go x/auth: remove alias.go usage (#6440) 2020-06-17 14:42:27 -04:00