Skip to content

Commit

Permalink
check Namada WriteAck event in NewBlock
Browse files Browse the repository at this point in the history
  • Loading branch information
yito88 committed Nov 23, 2023
1 parent c939c7b commit 764973d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions crates/relayer/src/event/source/websocket/extract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,11 @@ fn extract_block_events(
extract_events(height, block_events, "send_packet", "packet_data"),
height,
);
append_events::<ChannelEvents::WriteAcknowledgement>(
&mut events,
extract_events(height, block_events, "write_acknowledgement", "packet_ack"),
height,
);
append_events::<ChannelEvents::CloseInit>(
&mut events,
extract_events(height, block_events, "channel_close_init", "channel_id"),
Expand Down

0 comments on commit 764973d

Please sign in to comment.