Events that Hermes needs #2285
Replies: 1 comment 1 reply
-
I am writing a few thoughts and my perspective here, especially related to the discussions in A message in a Tx to chain We have a few examples of
In addition we have the "official" CLIs to update a client (same as the With this in mind, let's look at the upgrade chain proposal. This is currently the We currently do NOT have an IBC event defined for the government proposal. I believe we should because we could have:
In summary, hermes could use an (*) the CLI is limited to changing |
Beta Was this translation helpful? Give feedback.
-
Hermes requires access to the following events to be able to work correctly.
Note: Events are indexed by a tuple
{eventType}.{attributeKey}
structure (ref: gaia/../testnets/../app.toml).IBC Client operations
For client creation events
create_client
height
client_id
client_type
consensus_height
create_client.height
,create_client.client_id
,create_client.client_type
,create_client.consensus_height
.For client update
For client misbehavior
For client upgrade
IBC Connection operations
For connection handshake events
So there's a total of 20 event combinations.
IBC Channel operations
For channel handshake events
For packet events
write_acknowledgement
) has these 8 attributes: https://github.com/informalsystems/ibc-rs/blob/d070773d9a6b3308c2c142c586823770eb3a1a35/modules/src/core/ics04_channel/events.rs#L26-L33write_acknowledgement
has the above 8 attributes plus 1 more: https://github.com/informalsystems/ibc-rs/blob/d070773d9a6b3308c2c142c586823770eb3a1a35/modules/src/core/ics04_channel/events.rs#L34Beta Was this translation helpful? Give feedback.
All reactions