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

[authz]: Improve error message when authz not found #16839

Closed
Hemanthghs opened this issue Jul 5, 2023 · 2 comments · Fixed by #16869
Closed

[authz]: Improve error message when authz not found #16839

Hemanthghs opened this issue Jul 5, 2023 · 2 comments · Fixed by #16869

Comments

@Hemanthghs
Copy link
Contributor

Summary

When trying to execute authz which is not granted, Error message is returned with store key

Raw log: failed to execute message; message index: 0: failed to update grant with key ��%� �!�� ��G���{�+7zq/cosmos.feegrant.v1beta1.MsgGrantAllowance: authorization not found

Version

v0.46.7

Steps to Reproduce

Execute authzExec transaction without authz permission

@Hemanthghs Hemanthghs changed the title [Bug]: [Bug]: Improve error message when authz not found Jul 5, 2023
@Hemanthghs Hemanthghs changed the title [Bug]: Improve error message when authz not found [authz]: Improve error message when authz not found Jul 5, 2023
@julienrbrt
Copy link
Member

The error message still says authorization not found. Why should it be less descriptive?

@julienrbrt julienrbrt removed the T:Bug label Jul 5, 2023
@Hemanthghs
Copy link
Contributor Author

The error message still says authorization not found. Why should it be less descriptive?

Looks like it's returning store key with some unreadable characters

key ��%� �!�� ��G���{�+7zq

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 a pull request may close this issue.

2 participants