Adding 24 second auto-refresh for validators#176
Open
valefar-on-discord wants to merge 2 commits into
Open
Conversation
bee16zee
reviewed
May 31, 2026
| setTransactions([]); | ||
| } | ||
| }, [consolidateEntries]); | ||
| }, [open]); |
Collaborator
There was a problem hiding this comment.
Do you not need consolidateEntries anymore?
Collaborator
Author
There was a problem hiding this comment.
consolidateEntries is the object created in the parent provided but that changes as the underlying validator list changes, which would happen on refresh. But, when the modal is open, the entries should no longer change and be more or less locked, so we will take the consolidateEntries when the modal is open and show those values to the user.
This prevents a previously reported issue where the progress modal looks to restart when the validators refresh.
bee16zee
approved these changes
May 31, 2026
Collaborator
bee16zee
left a comment
There was a problem hiding this comment.
Left a quick question but looks good otherwise.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adding a 24 second poll to auto-refresh the validators to keep the state up to date without needed to refresh.
This created some issues when in the process of submitting transactions but that was resolve by locking the entries upon opening the drawer.