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

Incorrect prediction of validators count to be exited in ejector module #361

Open
rkolpakov opened this issue Apr 13, 2023 · 0 comments
Open

Comments

@rkolpakov
Copy link
Collaborator

rkolpakov commented Apr 13, 2023

Prediction service for ejector module was designed to predict protocol earnings based on [cl rewards withdrawals] (https://github.com/lidofinance/lido-oracle/blob/develop/src/services/prediction.py#L56) per report. If cl vault were filled up by a huge amount of ETH, protocol limits withdraw ETH amount, so prediction service operates not with income but with withdrawn ETH value.
Eject might start ejecting less validators than protocol requires to finalize withdrawal requests.

The suggestion is to get balance diff from simulation in order to obtain aligned protocol income.

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

No branches or pull requests

1 participant