Skip to content

refactor(node): bundle set_with_head and set_backfill_thresholds into configure_notifications#92

Merged
Evalir merged 1 commit intomainfrom
eop/eng-1959-configure-notifications
Mar 5, 2026
Merged

refactor(node): bundle set_with_head and set_backfill_thresholds into configure_notifications#92
Evalir merged 1 commit intomainfrom
eop/eng-1959-configure-notifications

Conversation

@Evalir
Copy link
Member

@Evalir Evalir commented Mar 5, 2026

Summary

  • Renamed set_backfill_thresholdsconfigure_notifications and added an exex_head parameter that calls set_with_head internally
  • Replaced all 4 paired set_with_head + set_backfill_thresholds call sites in set_exex_head with a single configure_notifications(exex_head) call
  • Eliminates the risk of forgetting to pair the two calls when adding new code paths

ENG-1959

Test plan

  • cargo clippy -p signet-node --all-features --all-targets passes
  • cargo +nightly fmt passes
  • cargo t -p signet-node (pending full compilation)

🤖 Generated with Claude Code

… configure_notifications

The two calls were always paired across 4 call sites in set_exex_head.
Bundling them into a single helper eliminates the risk of forgetting to
pair them when adding new code paths.

ENG-1959

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Evalir Evalir changed the title refactor(node): bundle set_with_head and set_backfill_thresholds into configure_notifications refactor(node): bundle set_with_head and set_backfill_thresholds into configure_notifications Mar 5, 2026
@Evalir Evalir marked this pull request as ready for review March 5, 2026 15:47
@Evalir Evalir requested a review from a team as a code owner March 5, 2026 15:47
@Evalir Evalir enabled auto-merge (squash) March 5, 2026 15:49
@Evalir Evalir merged commit ab28e49 into main Mar 5, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants