-
Notifications
You must be signed in to change notification settings - Fork 87
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
Make channel events compatible with ibc-go #198
Merged
Merged
Conversation
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
* Make `ClientType` allow any string value (#189) * ClientType now wraps a str * Make ClientType accept any string * doctest * changelog * use client_type() fn instead of constant * use client_type() for mock * release v0.21.0 (#192) * release v0.21.0 * version bumped to 0.21.0 * contributing edit * Update .changelog/v0.21.0/summary.md Co-authored-by: Romain Ruetschi <romain@informal.systems> Signed-off-by: Philippe Laferrière <plafer@protonmail.com> * Update CHANGELOG.md Co-authored-by: Romain Ruetschi <romain@informal.systems> Signed-off-by: Philippe Laferrière <plafer@protonmail.com> Signed-off-by: Philippe Laferrière <plafer@protonmail.com> Co-authored-by: Romain Ruetschi <romain@informal.systems> * Packet data must not be assumed to be valid UTF-8 (#200) * Add failing test * fix the bug * changelog * fmt * Reword a couple messages Signed-off-by: Romain Ruetschi <romain.ruetschi@gmail.com> Co-authored-by: Romain Ruetschi <romain@informal.systems> * Release v0.21.1 (#202) * release v0.21.1 * bump to version 0.21.1 Signed-off-by: Philippe Laferrière <plafer@protonmail.com> Signed-off-by: Romain Ruetschi <romain.ruetschi@gmail.com> Co-authored-by: Romain Ruetschi <romain@informal.systems>
hu55a1n1
reviewed
Nov 1, 2022
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.
Great work! 🙏 Just completed a preliminary review (mostly related to packet events).
Co-authored-by: Shoaib Ahmed <sufialhussaini@gmail.com> Signed-off-by: Philippe Laferrière <plafer@protonmail.com>
Co-authored-by: Shoaib Ahmed <sufialhussaini@gmail.com> Signed-off-by: Philippe Laferrière <plafer@protonmail.com>
hu55a1n1
suggested changes
Nov 2, 2022
hu55a1n1
reviewed
Nov 2, 2022
Co-authored-by: Shoaib Ahmed <sufialhussaini@gmail.com> Signed-off-by: Philippe Laferrière <plafer@protonmail.com>
Co-authored-by: Shoaib Ahmed <sufialhussaini@gmail.com> Signed-off-by: Philippe Laferrière <plafer@protonmail.com>
5 tasks
hu55a1n1
approved these changes
Nov 3, 2022
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.
🌷
shuoer86
pushed a commit
to shuoer86/ibc-rs
that referenced
this pull request
Nov 4, 2023
…#198) Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.25.4 to 2.28.1. - [Release notes](https://github.com/import-js/eslint-plugin-import/releases) - [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md) - [Commits](import-js/eslint-plugin-import@v2.25.4...v2.28.1) --- updated-dependencies: - dependency-name: eslint-plugin-import dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Farhad-Shabani
pushed a commit
that referenced
this pull request
Sep 9, 2024
* few channel attributes * Refactor Channel's `OpenInit` * Create channel_events() and remove event emission from all channel handlers * channel OpenTry event cleaned up * OpenAck cleaned up * OpenConfirm cleaned up * cleanup chan_close_init * cleanup CloseConfirm event and remove Attributes * Remove unused trait * fix compilation + clippy * fix tests * finish implementing channel_events() * channel_dispatch now discards events * clean up generated logs * chan_open_init_event test * chan_open_try_event test * chan_open_ack_event test * test_chan_open_confirm_event test * chan_close_init event test * chan_close_confirm_event test * clippy * DataAttribute struct * DataHexAttribute * TimeoutHeightAttribute * TimeoutTimestampAttribute * SequenceAttribute * ChannelOrderingAttribute * Merge v0.21.1 (#203) * Make `ClientType` allow any string value (#189) * ClientType now wraps a str * Make ClientType accept any string * doctest * changelog * use client_type() fn instead of constant * use client_type() for mock * release v0.21.0 (#192) * release v0.21.0 * version bumped to 0.21.0 * contributing edit * Update .changelog/v0.21.0/summary.md Co-authored-by: Romain Ruetschi <romain@informal.systems> Signed-off-by: Philippe Laferrière <plafer@protonmail.com> * Update CHANGELOG.md Co-authored-by: Romain Ruetschi <romain@informal.systems> Signed-off-by: Philippe Laferrière <plafer@protonmail.com> Signed-off-by: Philippe Laferrière <plafer@protonmail.com> Co-authored-by: Romain Ruetschi <romain@informal.systems> * Packet data must not be assumed to be valid UTF-8 (#200) * Add failing test * fix the bug * changelog * fmt * Reword a couple messages Signed-off-by: Romain Ruetschi <romain.ruetschi@gmail.com> Co-authored-by: Romain Ruetschi <romain@informal.systems> * Release v0.21.1 (#202) * release v0.21.1 * bump to version 0.21.1 Signed-off-by: Philippe Laferrière <plafer@protonmail.com> Signed-off-by: Romain Ruetschi <romain.ruetschi@gmail.com> Co-authored-by: Romain Ruetschi <romain@informal.systems> * merge DataAttribute and DataHexAttribute * chan_open_init event compatible * recv_packet compatible * fix previous events * WriteAcknowledgement compatible * Acknowledgement event compatible * packet Timeout event compatible * timeout_on_close handler event emission compatible * Remove stale code * create ChannelClosed event * from -> into * rename PacketMsg timeout variants * update comment * ChannelClosed event in timeout handler * timeout on close * changelog * move channel attributes to a submodule * move packet attributes to submodule * Update crates/ibc/src/core/ics04_channel/events.rs Co-authored-by: Shoaib Ahmed <sufialhussaini@gmail.com> Signed-off-by: Philippe Laferrière <plafer@protonmail.com> * Update crates/ibc/src/core/ics04_channel/events.rs Co-authored-by: Shoaib Ahmed <sufialhussaini@gmail.com> Signed-off-by: Philippe Laferrière <plafer@protonmail.com> * asref counterparty channel id * timeoutPacket event fix * write_acknowledgement fix * acknowledge packet fix * write ack actual fix * fix counterparty attributes * add clarifying comment * Update crates/ibc/src/core/ics04_channel/events.rs Co-authored-by: Shoaib Ahmed <sufialhussaini@gmail.com> Signed-off-by: Philippe Laferrière <plafer@protonmail.com> * Update crates/ibc/src/core/ics04_channel/events.rs Co-authored-by: Shoaib Ahmed <sufialhussaini@gmail.com> Signed-off-by: Philippe Laferrière <plafer@protonmail.com> * clippy Signed-off-by: Philippe Laferrière <plafer@protonmail.com> Signed-off-by: Romain Ruetschi <romain.ruetschi@gmail.com> Co-authored-by: Romain Ruetschi <romain@informal.systems> Co-authored-by: Shoaib Ahmed <sufialhussaini@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes: #146
Description
Left to do:
ChannelClosed
eventPR author checklist:
unclog
.docs/
).Reviewer checklist:
Files changed
in the GitHub PR explorer.