hermes icon indicating copy to clipboard operation
hermes copied to clipboard

Improve logs regarding failed packet clearing

Open ljoss17 opened this issue 7 months ago • 0 comments

Proposal

The current version of Hermes, v1.10.0, will output the number of packet data queried from the Node when clearing packets, https://github.com/informalsystems/hermes/blob/v1.10.0/crates/relayer/src/link/packet_events.rs#L44.

If there is an issue with the Node, e.g. the data isn't available anymore, the log will simply output an info with the message pulled packet data for 0 events out of X. This can be confusing as it looks like the clearing was successful.

There should be a warning to inform that the endpoint might not have the data.

Acceptance Criteria

  • [ ] Improve log when no packet data was pulled

For Admin Use

  • [ ] Not duplicate issue
  • [ ] Appropriate labels applied
  • [ ] Appropriate milestone (priority) applied
  • [ ] Appropriate contributors tagged
  • [ ] Contributor assigned/self-assigned

ljoss17 avatar Jul 01 '24 14:07 ljoss17