forked from cosmos/cosmos-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable/disable coin transfers by denom (cosmos#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 <[email protected]> Co-authored-by: Alessio Treglia <[email protected]> Co-authored-by: Alexander Bezobchuk <[email protected]>
- Loading branch information
1 parent
a459b78
commit 589c1a5
Showing
16 changed files
with
938 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.