Skip to content

Wire the epoch transition listener into the instance - #507

Open
samliok wants to merge 1 commit into
aux-dis-1from
transition-listener
Open

Wire the epoch transition listener into the instance#507
samliok wants to merge 1 commit into
aux-dis-1from
transition-listener

Conversation

@samliok

@samliok samliok commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Adds epochTransitionListener and hooks it into the instance:

  • NewInstance constructs the listener and wires its onIndex into both the validator and non-validator storage paths (replacing the no-op hook).
  • When a transition block is indexed, the listener either generates and broadcasts auxiliary info, or once the history is sufficient, signs and broadcasts an epoch transition approval. Validators also record their own approval locally; non-validators pass a nil handler.
  • HandleMessage routes incoming AuxiliaryInfo and EpochTransitionApproval messages into the MSM.

@samliok
samliok changed the base branch from aux-dissemination to aux-dis-1 August 18, 2026 20:22
@samliok
samliok force-pushed the transition-listener branch from 565be6b to 587b3a1 Compare August 18, 2026 21:02
@samliok
samliok marked this pull request as ready for review August 18, 2026 21:04
@samliok
samliok force-pushed the transition-listener branch from 587b3a1 to 0714c4e Compare August 19, 2026 18:25
@samliok
samliok force-pushed the transition-listener branch 2 times, most recently from e7226d0 to e5d71d3 Compare August 21, 2026 15:43
@samliok
samliok force-pushed the transition-listener branch from e5d71d3 to 10be7d2 Compare August 21, 2026 15:56
@samliok
samliok force-pushed the transition-listener branch from 10be7d2 to d99a5c6 Compare August 21, 2026 16:01
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.

1 participant