-
Notifications
You must be signed in to change notification settings - Fork 400
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
OnChanOpenInit Implementation may not follow IBCModule docs #1693
Comments
Thanks for bringing this up! Your observation is correct that we do not error in case of the empty version. |
Maybe this is not relevant in practice, but it seems to me that our implementation of OnChanOpenInit doesn't uphold the contract specified in the doc comment of the IBCModule
:
In our implementation, we let the contract return a version or default to the provided one if the contract does not return a version, but we do not handle the case mentioned above, where the contract does not return a version and the provided version is empty.
The text was updated successfully, but these errors were encountered: