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

ZeroDivisionError in new testnet #407

Open
F4ever opened this issue Oct 6, 2023 · 0 comments
Open

ZeroDivisionError in new testnet #407

F4ever opened this issue Oct 6, 2023 · 0 comments

Comments

@F4ever
Copy link
Member

F4ever commented Oct 6, 2023

There are cases when Lido Oracle fails to do report

  1. If there are no lido validators or zero balance on CL side
    Then normal_report_cl_rebase will be 0 in bunker service.
    diff_current_with_normal = 1 - current_report_cl_rebase / normal_report_cl_rebase - ZeroDivisionError here
  2. If there are no validators at all.
    Then total_predictable_validators_count will be zero in Ejector module.
    stake_volume = operator_state.predictable_validators_count / total_predictable_validators_count
@F4ever F4ever changed the title ZeroDivisionError ZeroDivisionError in new testnet Oct 6, 2023
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