-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow marker's transfer authority to prevent transfer of restricted c…
…oin with deny list on send (#1604) * add change log entry * add send deny list field to marker proto, add getter/setter for send deny list * add send deny list check in validateSendDenom * remove deny list in marker proto in order to move it to store as key * add new key for deny list * add is send deny check in send restrictions method * add key test * add setter for deny list, add send restriction test * add proto rpc endpoint to add/remove send deny list addresses, no impl yet * add MsgUpdateSendDenyListRequest sdk.Msg type * add msg server impl * fix lint * add a few refactors, start msg server test * complete msg server tests, check that both lists are not empty * add validate basic tests * add update deny list command * add spec doc * add msg server event * add validate basic test case * add get signers test * remove space in link * update marker tx proto docs * name test correctly * update docs * fix test name * update docs * change to allow user with transfer authority to add/remove from deny list * change changelog wording * change spec and proto docs to reflect transfer authority change * fix prefix, remove unneeded check, fix change log * fix test * implement pr suggestions * update test to not use constructor
- Loading branch information
1 parent
e0c5627
commit a8fd1f2
Showing
17 changed files
with
1,155 additions
and
123 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
Large diffs are not rendered by default.
Oops, something went wrong.
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.