-
Notifications
You must be signed in to change notification settings - Fork 357
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
Update error messages which returned from ibc-go #2266
Update error messages which returned from ibc-go #2266
Conversation
Wow, thanks for noticing and fixing this! |
Good catch, thank you for the fix! @ljoss17 and I bumped into this copy/past error just yesterday. We decided not to to anything with it until we understand what's up with the My findings so far are:
Since you fixed it for us, it seems like a good idea to keep the code, unless Romain has a different opinion -- will defer to him. |
Let's keep the code and see as a follow up if we can actually use it, would be nice to capture these errors using a proper error type. |
Just for my own understanding, were these error message changes done so that they would match the errors returned by ibc-go? |
The error string was wrong (copy/paste error). The changes were not done so that they match ibc-go, but so that the error string is consistent with the error type. The error codes have been copied from IBC-Go. |
Thanks for the catch. Yes it was copy/paste errors when copying the error messages from the original definitions to the new error definitions using flex-error. Since there are so many error definitions, it was easy to slip up and copy wrongly. |
Closes: #XXX
Description
PR author checklist:
unclog
.docs/
).Reviewer checklist:
Files changed
in the GitHub PR explorer.