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

ErrInvalidMsg shold not be used for invalid message which is not from the contract #58

Open
loloicci opened this issue Jul 3, 2023 · 1 comment

Comments

@loloicci
Copy link

loloicci commented Jul 3, 2023

return sdkerrors.Wrap(ErrInvalidMsg, "new admin is the same as the old")

is not a suitble error type.

// ErrInvalidMsg error when we cannot process the error returned from the contract

@loloicci
Copy link
Author

loloicci commented Jul 3, 2023

This is fixed in CosmWasm#1311. Close this PR after merging this in our new version.

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

No branches or pull requests

1 participant