-
Notifications
You must be signed in to change notification settings - Fork 629
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
Remove error string from ics27 ack #744
Comments
This is a really good point. We have two options:
I think we should probably remove the error string and document this issue. I think we could handle ensuring external calls are not included in our ack, but I don't think we can expect other developers developing IBC app modules to be aware of this issue, and since they will copy our code, it is probably best to keep it simple |
Add static checking for common bug patterns
Closes: cosmos#744 --------- Co-authored-by: Ganesha Upadhyaya <gupadhyaya@Ganeshas-MacBook-Pro-2.local>
Summary of Bug
The ics27 host submodule currently returns the error string from message execution in the channel acknowledgement. If this value changes between patch releases, the marshalled acknowledgement will also changes. Nodes running different patch versions will set in state different acknowledgements and thus reach an app hash mismatch. Making error strings changes state machine breaking is too strict of a requirement for ics27 to impose on an entire chain.
Fix
Remove the error string from the channel acknowledgement. Emit the message execution error in the events.
For Admin Use
The text was updated successfully, but these errors were encountered: