-
Notifications
You must be signed in to change notification settings - Fork 16
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
feat: do not attempt to vote on requests more than once #968
feat: do not attempt to vote on requests more than once #968
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only downside of this is that if a signer doesn't get the vote message (e.g., it's down), it will not get it anymore. As long as >=threshold signers get it we should be fine though.
Description
Closes #684
Changes
get_pending_deposit_requests
andget_pending_withdrawal_requests
to ignore requests that the signer has voted on already.load_latest_deposit_requests_persists_requests_from_past
test.Testing Information
This PR adds integration tests that check the new behavior of the updated queries.
Checklist: