-
Notifications
You must be signed in to change notification settings - Fork 30
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: MIN_ACTIVATION_BALANCE, new correlation penalty #572
base: feat/oracle-v5
Are you sure you want to change the base?
Conversation
f0669ad
to
0ac1cd2
Compare
slashings = Gwei(bound_slashed_validators_count * MAX_EFFECTIVE_BALANCE) | ||
# We don't know validators effective balances on the moment of slashing, | ||
# so we assume that it was at least `effective_balance` | ||
slashings = Gwei(sum(int(v.validator.effective_balance) for v in bound_slashed_validators)) |
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.
This breaks compatibility with current version.
Split old and new logic.
Smth like bound_slashed_validators_v0
and bound_slashed_validators_v1_electra
and call them depending on network state
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.
will take forking approach from here #579
34f72e4
to
72a7af4
Compare
71acea9
to
8e1c663
Compare
8e1c663
to
c25df44
Compare
No description provided.