Skip to content

Conversation

mmsqe
Copy link
Contributor

@mmsqe mmsqe commented May 18, 2023

EventTypeChannelClosed 

@mmsqe mmsqe marked this pull request as ready for review May 18, 2023 02:15
@agouin
Copy link
Contributor

agouin commented May 18, 2023

These new events will now be added to the cache, but nothing will be done with them after that.

EventTypeChannelClosed seems like a good one to handle to mark the channel closed in addition to the channel close confirm here

case chantypes.EventTypeChannelCloseConfirm:

It's not clear to me why the relayer would need to care about EventTypeUpgradeChain or EventTypeUpgradeClientProposal. Can you expand on that?

@mmsqe
Copy link
Contributor Author

mmsqe commented May 18, 2023

It's not clear to me why the relayer would need to care about EventTypeUpgradeChain or EventTypeUpgradeClientProposal. Can you expand on that?

I thought these two client events was missing when upgrade from ibc-go v6 to v7

Copy link
Contributor

@jtieri jtieri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes look good to me, always nice to remove some duplicated code.

My only nitpick would be can we rename utils.go to something like parsing.go, event_parser.go or something along those lines?

@jtieri jtieri merged commit cc75c04 into cosmos:main Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants