-
Notifications
You must be signed in to change notification settings - Fork 94
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
imp(testkit): integration test for packet timeout #1215
Merged
Merged
Changes from 20 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
bb9555a
use basecoin rev
rnbguy 4b3d7d6
rm RevertibleStore and GrowingStore use
rnbguy 9d35eb0
add packet timeout integration test
rnbguy 1cba670
reorder imports
rnbguy 1713241
add timeout_packet_on_channel_close_on_a in utils
rnbguy b3a1f0a
add timeout_packet_on_channel_close_on_a in context
rnbguy 7fb3ffc
test for packet timeout on channel close
rnbguy 1c38260
use correct event type
rnbguy ce31816
validate packet events
rnbguy 12921b0
rm dbg
rnbguy 622deee
add send_packet_via_dummy_transfer_module_on_a method
rnbguy 930f236
use the new method
rnbguy 19ad30a
add changelog entry
rnbguy 6b3be31
update doc links
rnbguy 6398fe0
fix link in doc-strings
rnbguy ca6cd6b
fix for serde feature
rnbguy e43b753
basecoin main branch
rnbguy b3a1163
fix unused imports
rnbguy b8a7104
cargo format
rnbguy 47e982f
fix link in doc-strings
rnbguy 7787301
fix method names and comments
rnbguy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
.changelog/unreleased/bug-fixes/1217-fix-packet-timeout-on-closed-channel.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- [ibc-core] Fix proof verification for `PacketTimeout` on a closed channel. | ||
([\#1217](https://github.com/cosmos/ibc-rs/issues/1217)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 language is a bit ambiguous when it comes to delineating whether a packet sent between the two contexts was expired, or if an actual timeout packet was sent.
The code seems to indicate the latter, in which case we should say "Sends a timeout packet from the first context to the second context."
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.
I agree with you. I updated the comments and the method names.
3abc78e