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: validator set with empty keys #1041

Merged
merged 3 commits into from
May 8, 2023

Conversation

QuantumExplorer
Copy link
Member

Issue being fixed or feature implemented

What was done?

Validator sets can sometimes have no keys for example if the current node is not part of the validator set. This needed to be dealt with properly. We should still send back the validator, just with no key.

How Has This Been Tested?

Breaking Changes

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

markin-io
markin-io previously approved these changes May 8, 2023
shumkov
shumkov previously approved these changes May 8, 2023
@QuantumExplorer QuantumExplorer dismissed stale reviews from shumkov and markin-io via 500733d May 8, 2023 10:58
@QuantumExplorer QuantumExplorer merged commit 96dd315 into v0.25-dev May 8, 2023
@QuantumExplorer QuantumExplorer deleted the fix/validatorSetEmptyKeys branch May 8, 2023 11: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.

3 participants