-
Notifications
You must be signed in to change notification settings - Fork 352
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
Fix MsgTimeoutOnClose to verify the proof of the channel #2535
Fix MsgTimeoutOnClose to verify the proof of the channel #2535
Conversation
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.
Thanks for the PR @yito88! Nice catch! 👌
LGTM, but we're missing a .changelog entry. Please feel free to add one based on these guidelines otherwise we'll add one ourselves and hopefully merge early next week.
PS: I think we would be able to avoid such bugs in the future by converting the Proofs
struct into an enum based on the suggestion presented here -> https://github.com/informalsystems/ibc-rs/issues/1696#issue-1084534755, but let's do that in a future PR.
@hu55a1n1 Thank you for reviewing! I've added the change log. |
Good catch @yito88 , thank you for this! Could you please add a test to make sure there are no regressions on this when we do refactor the |
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.
Thank you!
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.
🙏
…tems#2535) * fix message conversion and replace proof * add change log * add a test * add a test * fix typo * fix for clippy
…tems#2535) * fix message conversion and replace proof * add change log * add a test * add a test * fix typo * fix for clippy
…tems#2535) * fix message conversion and replace proof * add change log * add a test * add a test * fix typo * fix for clippy
…tems#2535) * fix message conversion and replace proof * add change log * add a test * add a test * fix typo * fix for clippy
Closes: #2534
Description
RawMsgTimeoutOnClose
to setproof_close
toother_proof
inMsgTimeoutOnClose
PR author checklist:
unclog
.docs/
).Reviewer checklist:
Files changed
in the GitHub PR explorer.