Skip to main content
Version: v6.3.x

Events

danger

This document is unmaintained and may be out of date!

The IBC module emits the following events. It can be expected that the type message, with an attribute key of action will represent the first event for each message being processed as emitted by the SDK's baseapp. Each IBC TAO message will also emit its module name in the format 'ibc_sub-modulename'.

All the events for the Channel handshakes, SendPacket, RecvPacket, AcknowledgePacket, TimeoutPacket and TimeoutOnClose will emit additional events not specified here due to callbacks to IBC applications.

ICS 02 - Client

MsgCreateClient

TypeAttribute KeyAttribute Value
create_clientclient_id{clientId}
create_clientclient_type{clientType}
create_clientconsensus_height{consensusHeight}
messagemoduleibc_client

MsgUpdateClient

TypeAttribute KeyAttribute ValueStatus
update_clientclient_id{clientId}
update_clientclient_type{clientType}
update_clientconsensus_height{consensusHeight}Deprecated
update_clientconsensus_heights{join(consensusHeights, ",")}
messagemoduleibc_client

MsgSubmitMisbehaviour

TypeAttribute KeyAttribute Value
client_misbehaviourclient_id{clientId}
client_misbehaviourclient_type{clientType}
client_misbehaviourconsensus_height{consensusHeight}
messagemoduleevidence
messagesender{senderAddress}
submit_evidenceevidence_hash{evidenceHash}

UpdateClientProposal

TypeAttribute KeyAttribute Value
update_client_proposalclient_id{clientId}
update_client_proposalclient_type{clientType}
update_client_proposalconsensus_height{consensusHeight}

IBCSoftwareUpgrade

TypeAttribute KeyAttribute Value
schedule_ibc_software_upgradetitle{title}
schedule_ibc_software_upgradeupgrade_plan_height{plan.height}

ICS 03 - Connection

MsgConnectionOpenInit

TypeAttribute KeyAttribute Value
connection_open_initconnection_id{connectionId}
connection_open_initclient_id{clientId}
connection_open_initcounterparty_client_id{counterparty.clientId}
messagemoduleibc_connection

MsgConnectionOpenTry

TypeAttribute KeyAttribute Value
connection_open_tryconnection_id{connectionId}
connection_open_tryclient_id{clientId}
connection_open_trycounterparty_client_id{counterparty.clientId
connection_open_trycounterparty_connection_id{counterparty.connectionId}
messagemoduleibc_connection

MsgConnectionOpenAck

TypeAttribute KeyAttribute Value
connection_open_ackconnection_id{connectionId}
connection_open_ackclient_id{clientId}
connection_open_ackcounterparty_client_id{counterparty.clientId}
connection_open_ackcounterparty_connection_id{counterparty.connectionId}
messagemoduleibc_connection

MsgConnectionOpenConfirm

TypeAttribute KeyAttribute Value
connection_open_confirmconnection_id{connectionId}
connection_open_confirmclient_id{clientId}
connection_open_confirmcounterparty_client_id{counterparty.clientId}
connection_open_confirmcounterparty_connection_id{counterparty.connectionId}
messagemoduleibc_connection

ICS 04 - Channel

MsgChannelOpenInit

TypeAttribute KeyAttribute Value
channel_open_initport_id{portId}
channel_open_initchannel_id{channelId}
channel_open_initcounterparty_port_id{channel.counterparty.portId}
channel_open_initconnection_id{channel.connectionHops}
messagemoduleibc_channel

MsgChannelOpenTry

TypeAttribute KeyAttribute Value
channel_open_tryport_id{portId}
channel_open_trychannel_id{channelId}
channel_open_trycounterparty_port_id{channel.counterparty.portId}
channel_open_trycounterparty_channel_id{channel.counterparty.channelId}
channel_open_tryconnection_id{channel.connectionHops}
messagemoduleibc_channel

MsgChannelOpenAck

TypeAttribute KeyAttribute Value
channel_open_ackport_id{portId}
channel_open_ackchannel_id{channelId}
channel_open_ackcounterparty_port_id{channel.counterparty.portId}
channel_open_ackcounterparty_channel_id{channel.counterparty.channelId}
channel_open_ackconnection_id{channel.connectionHops}
messagemoduleibc_channel

MsgChannelOpenConfirm

TypeAttribute KeyAttribute Value
channel_open_confirmport_id{portId}
channel_open_confirmchannel_id{channelId}
channel_open_confirmcounterparty_port_id{channel.counterparty.portId}
channel_open_confirmcounterparty_channel_id{channel.counterparty.channelId}
channel_open_confirmconnection_id{channel.connectionHops}
messagemoduleibc_channel

MsgChannelCloseInit

TypeAttribute KeyAttribute Value
channel_close_initport_id{portId}
channel_close_initchannel_id{channelId}
channel_close_initcounterparty_port_id{channel.counterparty.portId}
channel_close_initcounterparty_channel_id{channel.counterparty.channelId}
channel_close_initconnection_id{channel.connectionHops}
messagemoduleibc_channel

MsgChannelCloseConfirm

TypeAttribute KeyAttribute Value
channel_close_confirmport_id{portId}
channel_close_confirmchannel_id{channelId}
channel_close_confirmcounterparty_port_id{channel.counterparty.portId}
channel_close_confirmcounterparty_channel_id{channel.counterparty.channelId}
channel_close_confirmconnection_id{channel.connectionHops}
messagemoduleibc_channel

SendPacket (application module call)

TypeAttribute KeyAttribute ValueStatus
send_packetpacket_data_hex{hex.Encode(data)}
send_packetpacket_timeout_height{timeoutHeight}
send_packetpacket_timeout_timestamp{timeoutTimestamp}
send_packetpacket_sequence{sequence}
send_packetpacket_src_port{sourcePort}
send_packetpacket_src_channel{sourceChannel}
send_packetpacket_dst_port{destinationPort}
send_packetpacket_dst_channel{destinationChannel}
send_packetpacket_channel_ordering{channel.Ordering}
send_packetpacket_connection{channel.ConnectionHops[0]}Deprecated
send_packetconnection_id{channel.ConnectionHops[0]}
messagemoduleibc_channel

MsgRecvPacket

TypeAttribute KeyAttribute ValueStatus
recv_packetpacket_data_hex{hex.Encode(data)}
recv_packetpacket_timeout_height{timeoutHeight}
recv_packetpacket_timeout_timestamp{timeoutTimestamp}
recv_packetpacket_sequence{sequence}
recv_packetpacket_src_port{sourcePort}
recv_packetpacket_src_channel{sourceChannel}
recv_packetpacket_dst_port{destinationPort}
recv_packetpacket_dst_channel{destinationChannel}
recv_packetpacket_channel_ordering{channel.Ordering}
recv_packetpacket_connection{channel.ConnectionHops[0]}Deprecated
recv_packetconnection_id{channel.ConnectionHops[0]}
messagemoduleibc_channel
TypeAttribute KeyAttribute ValueStatus
write_acknowledgementpacket_data_hex{hex.Encode(data)}
write_acknowledgementpacket_timeout_height{timeoutHeight}
write_acknowledgementpacket_timeout_timestamp{timeoutTimestamp}
write_acknowledgementpacket_sequence{sequence}
write_acknowledgementpacket_src_port{sourcePort}
write_acknowledgementpacket_src_channel{sourceChannel}
write_acknowledgementpacket_dst_port{destinationPort}
write_acknowledgementpacket_dst_channel{destinationChannel}
write_acknowledgementpacket_ack_hex{hex.Encode(ack)}
write_acknowledgementpacket_channel_ordering{channel.Ordering}
write_acknowledgementpacket_connection{channel.ConnectionHops[0]}Deprecated
write_acknowledgementconnection_id{channel.ConnectionHops[0]}
messagemoduleibc_channel

MsgAcknowledgePacket

TypeAttribute KeyAttribute ValueStatus
acknowledge_packetpacket_timeout_height{timeoutHeight}
acknowledge_packetpacket_timeout_timestamp{timeoutTimestamp}
acknowledge_packetpacket_sequence{sequence}
acknowledge_packetpacket_src_port{sourcePort}
acknowledge_packetpacket_src_channel{sourceChannel}
acknowledge_packetpacket_dst_port{destinationPort}
acknowledge_packetpacket_dst_channel{destinationChannel}
acknowledge_packetpacket_channel_ordering{channel.Ordering}
acknowledge_packetpacket_connection{channel.ConnectionHops[0]}Deprecated
acknowledge_packetconnection_id{channel.ConnectionHops[0]}
messagemoduleibc_channel

MsgTimeoutPacket & MsgTimeoutOnClose

TypeAttribute KeyAttribute Value
timeout_packetpacket_timeout_height{timeoutHeight}
timeout_packetpacket_timeout_timestamp{timeoutTimestamp}
timeout_packetpacket_sequence{sequence}
timeout_packetpacket_src_port{sourcePort}
timeout_packetpacket_src_channel{sourceChannel}
timeout_packetpacket_dst_port{destinationPort}
timeout_packetpacket_dst_channel{destinationChannel}
timeout_packetpacket_channel_ordering{channel.Ordering}
timeout_packetconnection_id{channel.ConnectionHops[0]}
messagemoduleibc_channel