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

[BUG] contract store query error always return internal error #435

Closed
yun-yeo opened this issue Nov 30, 2020 · 0 comments · Fixed by #436
Closed

[BUG] contract store query error always return internal error #435

yun-yeo opened this issue Nov 30, 2020 · 0 comments · Fixed by #436
Assignees
Labels
bug Something isn't working

Comments

@yun-yeo
Copy link
Contributor

yun-yeo commented Nov 30, 2020

Describe the bug
core does not register contract query error code to sdkerrors. It makes the cosmos-sdk override error to internal error.

To Reproduce
do query with wrong argument

Context & versions
v0.4.x

(if applicable) suggested solution
register query error to sdkerrors and wrap contract query error with that query error

@yun-yeo yun-yeo added the bug Something isn't working label Nov 30, 2020
@yun-yeo yun-yeo self-assigned this Nov 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant