Skip to content

Commit 898f0f6

Browse files
committed
fix(gw-listener): clarify drift counter description
Address review feedback: the old wording "peer submissions or consensus mismatch" was ambiguous. Reword to make the two detection paths explicit.
1 parent 62a9be6 commit 898f0f6

File tree

1 file changed

+1
-1
lines changed
  • coprocessor/fhevm-engine/gw-listener/src

1 file changed

+1
-1
lines changed

coprocessor/fhevm-engine/gw-listener/src/metrics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ pub(crate) static KEY_DIGEST_MISMATCH_COUNTER: LazyLock<IntCounter> = LazyLock::
100100
pub(crate) static DRIFT_DETECTED_COUNTER: LazyLock<IntCounter> = LazyLock::new(|| {
101101
register_int_counter!(
102102
"coprocessor_gw_listener_drift_detected_counter",
103-
"Number of detected drifts from peer submissions or consensus mismatch"
103+
"Number of handles where coprocessor digests diverged (peer-to-peer or local-vs-consensus)"
104104
)
105105
.unwrap()
106106
});

0 commit comments

Comments
 (0)