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

quietly ignore nil validator updates, without erroring, to avoid blocking icq #488

Merged
merged 1 commit into from
Jul 7, 2023

Conversation

joe-bowman
Copy link
Contributor

1. Summary

Fixes bug where nil validator response is received (query was made for validator that does not exist, valid nil proof delivered) but validator cannot be deleted so bil is never valid from a cosmos PoV.

2.Type of change

  • Bug fix (non-breaking change which fixes an issue)

3. Implementation details

On receipt of nil validatorResponse, log error and return nil to allow further messages to be processed.

Copy link
Contributor

@ajansari95 ajansari95 left a comment

Choose a reason for hiding this comment

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

lgtm

@ajansari95 ajansari95 merged commit 4897461 into develop Jul 7, 2023
@aljo242 aljo242 deleted the dont-block-icq-on-nil-validator-update branch July 7, 2023 12:22
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