Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(gossip): bug vn might not be subscribed to consensus messages #1191

Conversation

sdbondi
Copy link
Member

@sdbondi sdbondi commented Oct 29, 2024

Description

fix(gossip): bug vn might not be subscribed to consensus messages
Removed unused ThisValidatorIsRegistered epoch manager event
Added registered_shard_group to EpochChanged event that is Some when local VN is registered for the epoch

Motivation and Context

Bug introduced in #1190 where VNs might not be subscribed to consensus messages.

How Has This Been Tested?

Manually, validator node that has been shutdown and restarted without the epoch changing was not subscribed to consensus messages

What process can a PR reviewer use to test or verify this change?

As above

Breaking Changes

  • None
  • Requires data directory to be deleted
  • Other - Please specify

@sdbondi sdbondi merged commit d1c8422 into tari-project:development Oct 29, 2024
10 of 11 checks passed
@sdbondi sdbondi deleted the consensus-gossipsub-ensure-subscribed branch October 29, 2024 10:02
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