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

Temporary fix for Eigenlayer validators exit/exiting #8415

Merged
merged 1 commit into from
Aug 17, 2024

Conversation

LefterisJP
Copy link
Member

This is the bugfixes part of #8397.

Essentially we no longer rely on history events processing to detect a validator has exited. That is due to the fact we may track a validator but not its exit event due to not tracking the withdrawal address directly. This happens for example in Eigenlayer native restaking.

This temporary fix is a hack considering that if "enough time" has passed since the exit was started (the time of withdrawable_ts) and now then we consider it exited.

Long term solution will happen in develop/1.35.0 as per the issue description

Copy link

codecov bot commented Aug 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 53.79%. Comparing base (40bd27d) to head (625a438).
Report is 19 commits behind head on bugfixes.

Additional details and impacted files
@@             Coverage Diff              @@
##           bugfixes    #8415       /-   ##
============================================
- Coverage     53.80%   53.79%   -0.02%     
============================================
  Files          1710     1711        1     
  Lines        168970   169011       41     
  Branches      13989    13999       10     
============================================
  Hits          90919    90922        3     
- Misses        75630    75645       15     
- Partials       2421     2444       23     
Flag Coverage Δ
backend 80.83% <100.00%> (-0.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

This is the bugfixes part of rotki#8397.

Essentially we no longer rely on history events processing to detect a
validator has exited. That is due to the fact we may track a validator
but not its exit event due to not tracking the withdrawal address
directly. This happens for example in Eigenlayer native restaking.

This temporary fix is a hack considering that if "enough time" has
passed since the exit was started (the time of withdrawable_ts) and
now then we consider it exited.

Long term solution will happen in develop/1.35.0 as per the issue description

Signed-off-by: Lefteris Karapetsas <[email protected]>
@LefterisJP
Copy link
Member Author

Pushed some test fixes/adjustment. Even had to skip one due to not making sense to adjust and it being too complicated.

They would need to be retouched in develop. And at least 2 of them re-recorded.

@LefterisJP
Copy link
Member Author

okay all green. But need to handle the skipped/adustes tests in develop.

@LefterisJP LefterisJP merged commit 7a8ad43 into rotki:bugfixes Aug 17, 2024
15 checks passed
@LefterisJP LefterisJP deleted the 8397_bugfixes branch August 17, 2024 22:16
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.

1 participant