Skip to content

Comments

Make notifier_service::notify pub#7708

Merged
mergify[bot] merged 2 commits intosigp:unstablefrom
dknopik:notify-pub
Jul 7, 2025
Merged

Make notifier_service::notify pub#7708
mergify[bot] merged 2 commits intosigp:unstablefrom
dknopik:notify-pub

Conversation

@dknopik
Copy link
Member

@dknopik dknopik commented Jul 7, 2025

Issue Addressed

Anchor wants the notify function to run only in certain cases - so the spawn_notifier function is unsuitable for us.

Proposed Changes

Anchor uses it's own notify function, which then calls notifier_service::notify (in most circumstances). To enable that, notify needs to be pub.

@dknopik dknopik changed the title make notifier_service::notify pub Make notifier_service::notify pub Jul 7, 2025
Copy link
Member

@michaelsproul michaelsproul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@michaelsproul michaelsproul added the ready-for-merge This PR is ready to merge. label Jul 7, 2025
@mergify mergify bot merged commit 3e6b0bd into sigp:unstable Jul 7, 2025
33 checks passed
pawanjay176 pushed a commit to pawanjay176/lighthouse that referenced this pull request Jul 10, 2025
Anchor wants the `notify` function to run only in certain cases - so the `spawn_notifier` function is unsuitable for us.


  Anchor uses it's own `notify` function, which then calls `notifier_service::notify` (in most circumstances). To enable that, `notify` needs to be `pub`.
@dknopik dknopik deleted the notify-pub branch February 17, 2026 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-merge This PR is ready to merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants