-
Notifications
You must be signed in to change notification settings - Fork 106
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
Differentiate between contract and system error #465
Conversation
@@ -207,7 +201,7 @@ func (vm *VM) Query( | |||
gasMeter GasMeter, | |||
gasLimit uint64, | |||
deserCost types.UFraction, | |||
) ([]byte, uint64, error) { | |||
) (*types.QueryResponse, uint64, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should become a "result" too, but we can do that separately: #475
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Diff LGTM, thanks. Could your rebase this to latest main? This should solve the audit CI fail.
20d57c2
to
d7c4fa1
Compare
closes #398
This should also allow wasmd to handle contract errors and vm errors differently