Skip to content

fix: validator set with empty keys - #1041

Merged
QuantumExplorer merged 3 commits into
v0.25-devfrom
fix/validatorSetEmptyKeys
May 8, 2023
Merged

QuantumExplorer merged 3 commits into
v0.25-devfrom
fix/validatorSetEmptyKeys

Conversation

@QuantumExplorer

Copy link
Copy Markdown
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