We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f199c45 commit 4faa6a1Copy full SHA for 4faa6a1
1 file changed
crates/hashi/src/onchain/watcher.rs
@@ -451,10 +451,7 @@ async fn handle_events(
451
// Advance uses the event's checkpoint timestamp (~sign-time)
452
// rather than `txn.timestamp_ms` (creation time) to stay in
453
// lockstep with the guardian's `last_updated_at`.
454
- // `signatures.is_some()` makes the apply idempotent — set
455
- // here on the first observation and by `scrape_hashi` at
456
- // bootstrap, so checkpoint redelivery and bootstrap-replay
457
- // events are skipped.
+ // Gate on `signatures.is_none()` for idempotency across checkpoint redelivery and bootstrap replay.
458
let (limiter_inputs, pick_to_sign_ms) = {
459
let mut state = state.state_mut();
460
state
0 commit comments