Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved assign consumer key msg validation #644

Merged
merged 3 commits into from
Jan 6, 2023

Conversation

danwt
Copy link
Contributor

@danwt danwt commented Jan 6, 2023

This is a tiny fix to make sure the AssignConsumerKey message is validated properly. The pattern is similar what they use in the staking module for the CreateValidatorMsg.

https://github.com/cosmos/cosmos-sdk/blob/main/x/staking/types/msg.go#L89

See comment

#642 (comment)

@shaspitz shaspitz merged commit ba3316d into main Jan 6, 2023
@shaspitz shaspitz deleted the danwt/improved-assign-consumer-key-validation branch January 6, 2023 22:46
@shaspitz shaspitz restored the danwt/improved-assign-consumer-key-validation branch January 8, 2023 21:30
@shaspitz shaspitz deleted the danwt/improved-assign-consumer-key-validation branch January 8, 2023 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants