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

Skip AutoDeposit if Staked, Use Latest Data for Auto-Operations #722

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rauljordan
Copy link
Collaborator

This PR fixes a bug where auto-depositing stake token (wrapping ETH to WETH) was checking balances using "finalized" data, and not checking if the validator was already staked. This would lead to a situation where if the validator deposits, then the process restarts, the validator will attempt to deposit a second time because the tx is not yet final. Moreover, it should not even attempt an auto-deposit if already staked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant