-
Notifications
You must be signed in to change notification settings - Fork 410
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(agents/relayer): update metrics even if no new event is found (#5178
) ### Description - Follow up to #5074, the cursor_max_sequence(event_type="merkle_tree_insertion") will be used for the highest merkle index on a chain. The logic to update this metric has been moved to when checking for new logs so we can update the metrics even if new events are not found. - Renamed `latest_leaf_index` to `latest_tree_insertion_index` for clarity. Related #5151 ### Drive-by changes None ### Related issues - fixes hyperlane-xyz/issues#1396 ### Backward compatibility Yes ### Testing e2e + Manual
- Loading branch information
1 parent
fed42c3
commit 3d6ecae
Showing
4 changed files
with
32 additions
and
24 deletions.
There are no files selected for viewing
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
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