-
Notifications
You must be signed in to change notification settings - Fork 412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(agents/relayer): update metrics even if no new event is found #5178
base: main
Are you sure you want to change the base?
Conversation
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5178 +/- ##
=======================================
Coverage 77.53% 77.53%
=======================================
Files 103 103
Lines 2110 2110
Branches 190 190
=======================================
Hits 1636 1636
Misses 453 453
Partials 21 21
|
rust/main/utils/run-locally/src/invariants/termination_invariants.rs
Outdated
Show resolved
Hide resolved
) ### 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
Description
latest_leaf_index
tolatest_tree_insertion_index
for clarity.Related #5151
Drive-by changes
None
Related issues
Backward compatibility
Yes
Testing
e2e + Manual