Skip to content

Conversation

@golddydev
Copy link
Collaborator

@golddydev golddydev commented Nov 25, 2025

Description

This PR adds a new message type EpochNonceMessage which includes active nonce for certain epoch and is published at the first block of certain epoch.

Related Issue(s)

This PR is to fix incorrect nonce handling for block-vrf-validator which relies on EpochActivityMessage (this contains nonce for epoch N but is published at the first block of epoch N + 1)

How was this tested?

Manually run till epoch 211.

Checklist

  • My code builds and passes local tests
  • I added/updated tests for my changes, where applicable
  • I updated documentation (if applicable)
  • CI is green for this PR

Impact / Side effects

No side effects.

Reviewer notes / Areas to focus

In block_vrf_validator, it now listens to EpochNonceMessage.

@golddydev golddydev requested review from SupernaviX, lowhung and whankinsiv and removed request for whankinsiv November 25, 2025 12:23
@golddydev golddydev marked this pull request as draft November 25, 2025 14:39
@golddydev golddydev marked this pull request as ready for review December 2, 2025 13:34
@golddydev golddydev requested review from lowhung December 2, 2025 13:48
Copy link
Collaborator

@whankinsiv whankinsiv left a comment

Choose a reason for hiding this comment

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

Looks good!

@golddydev golddydev merged commit 2b8c204 into main Dec 2, 2025
2 checks passed
@golddydev golddydev deleted the gd/fix-vrf branch December 2, 2025 22:31
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.

5 participants