-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add warning if no packet data was pulled when clearing packets (#4073)
* Add warning if 0 packet data was pulled when clearing packets * Update filtered ICS20 packet logs from debug to warn and remove unnecessary context * Add changelog entry * Apply suggestions from code review Co-authored-by: Romain Ruetschi <[email protected]> Signed-off-by: Luca Joss <[email protected]> * Add link to guide page when 0 packet data was pulled during packet clearing --------- Signed-off-by: Luca Joss <[email protected]> Co-authored-by: Romain Ruetschi <[email protected]>
- Loading branch information
Showing
3 changed files
with
25 additions
and
12 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
.changelog/unreleased/improvements/ibc-relayer/4072-packet-clear-logs.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
- Improve logs when clearing packet. | ||
* When Hermes doesn't pull packet data it will now warn the user | ||
instead of logging `pulled packet data for 0 events out of X` | ||
* When ICS20 packets are filtered due to having a receiver or memo | ||
field too big, the log will be at `warn` level instead of `debug`. | ||
([\#4072](https://github.com/informalsystems/hermes/issues/4072)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters