Skip to content
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

ICS 18: specifying events emitted by core IBC #981

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

crodriguezvega
Copy link
Contributor

closes: #606

@crodriguezvega crodriguezvega linked an issue Jun 9, 2023 that may be closed by this pull request
@blasrodri
Copy link
Contributor

Great initiative

IBC that relayers need to use to complete client, connection and channel lifecycles, relay and
timeout packets.

Events emitted by core IBC are JSON-encoded objects following the schema:

Choose a reason for hiding this comment

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

Why are events JSON-encoded, rather than proto-encoded like other IBC data?

Copy link
Contributor

Choose a reason for hiding this comment

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

cosmos/ibc-go#54 but can't really speak on if/when this will be included.

Comment on lines +449 to +450
"key": "counterparty_connection_id",
"value": "{counterparty.connectionId}"
Copy link
Member

Choose a reason for hiding this comment

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

This should be removed. It is blank here and autogenerated on TRY

Comment on lines +559 to +560
"key": "counterparty_channel_id",
"value": "{counterparty.channelId}"
Copy link
Member

Choose a reason for hiding this comment

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

This should be removed since it is just blank and autogenerated on TRY

},
{
"key": "connection_id",
"value": "{connectionHops[0]}"
Copy link
Member

Choose a reason for hiding this comment

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

Note this will need to change for multihop. Perhaps we can create a tracking issue

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.

Specify which events must be emitted on IBC msgs
5 participants